Interface GemManager

All Known Implementing Classes:
DefaultGemManager

public interface GemManager
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addDefaultGemRepositories(List<org.apache.maven.artifact.repository.ArtifactRepository> repos)
     
    void
    addDefaultGemRepository(List<org.apache.maven.artifact.repository.ArtifactRepository> repos)
    Deprecated.
    void
    addDefaultGemRepositoryForVersion(String artifactVersion, List<org.apache.maven.artifact.repository.ArtifactRepository> repos)
    Deprecated.
    availableVersions(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
     
    org.apache.maven.project.MavenProject
    buildModel(org.apache.maven.artifact.Artifact artifact, Object repositorySystemSession, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories, boolean resolve)
     
    org.apache.maven.project.MavenProject
    buildPom(org.apache.maven.artifact.Artifact artifact, Object repositorySystemSession, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
     
    org.apache.maven.artifact.Artifact
    createArtifact(String groupId, String artifactId, String version, String type)
     
    org.apache.maven.artifact.Artifact
    createArtifact(String groupId, String artifactId, String version, String classifier, String type)
     
    org.apache.maven.artifact.Artifact
     
    org.apache.maven.artifact.Artifact
    createGemArtifact(String gemname, String version)
     
    org.apache.maven.artifact.Artifact
    createGemArtifactWithLatestVersion(String gemname, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
     
    org.apache.maven.artifact.Artifact
     
    org.apache.maven.artifact.Artifact
     
    org.apache.maven.artifact.Artifact
    createJarArtifactForGemnameWithLatestVersion(String gemName, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
     
    org.apache.maven.artifact.Artifact
     
    org.apache.maven.artifact.repository.ArtifactRepository
     
    org.apache.maven.artifact.repository.ArtifactRepository
     
    latestVersion(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
     
    Set<org.apache.maven.artifact.Artifact>
    resolve(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
     
    Set<org.apache.maven.artifact.Artifact>
    resolve(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories, boolean transitively)
     
    void
    setRepositorySession(org.apache.maven.project.ProjectBuildingRequest pomRequest, Object repositorySystemSession)
     
  • Field Details

  • Method Details

    • createGemArtifact

      org.apache.maven.artifact.Artifact createGemArtifact(String gemname) throws GemException
      Throws:
      GemException
    • createGemArtifact

      org.apache.maven.artifact.Artifact createGemArtifact(String gemname, String version) throws GemException
      Throws:
      GemException
    • createGemArtifactWithLatestVersion

      org.apache.maven.artifact.Artifact createGemArtifactWithLatestVersion(String gemname, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories) throws GemException
      Throws:
      GemException
    • defaultGemArtifactRepository

      org.apache.maven.artifact.repository.ArtifactRepository defaultGemArtifactRepository()
    • defaultGemArtifactRepositoryForVersion

      org.apache.maven.artifact.repository.ArtifactRepository defaultGemArtifactRepositoryForVersion(String artifactVersion)
    • addDefaultGemRepository

      @Deprecated void addDefaultGemRepository(List<org.apache.maven.artifact.repository.ArtifactRepository> repos)
      Deprecated.
    • addDefaultGemRepositories

      void addDefaultGemRepositories(List<org.apache.maven.artifact.repository.ArtifactRepository> repos)
    • addDefaultGemRepositoryForVersion

      @Deprecated void addDefaultGemRepositoryForVersion(String artifactVersion, List<org.apache.maven.artifact.repository.ArtifactRepository> repos)
      Deprecated.
    • createJarArtifactForGemname

      org.apache.maven.artifact.Artifact createJarArtifactForGemname(String gemName) throws GemException
      Throws:
      GemException
    • createPomArtifactForGemname

      org.apache.maven.artifact.Artifact createPomArtifactForGemname(String gemName) throws GemException
      Throws:
      GemException
    • createJarArtifactForGemname

      org.apache.maven.artifact.Artifact createJarArtifactForGemname(String gemName, String version) throws GemException
      Throws:
      GemException
    • createJarArtifactForGemnameWithLatestVersion

      org.apache.maven.artifact.Artifact createJarArtifactForGemnameWithLatestVersion(String gemName, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories) throws GemException
      Throws:
      GemException
    • resolve

      Set<org.apache.maven.artifact.Artifact> resolve(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories) throws GemException
      Throws:
      GemException
    • resolve

      Set<org.apache.maven.artifact.Artifact> resolve(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories, boolean transitively) throws GemException
      Throws:
      GemException
    • createArtifact

      org.apache.maven.artifact.Artifact createArtifact(String groupId, String artifactId, String version, String type)
    • createArtifact

      org.apache.maven.artifact.Artifact createArtifact(String groupId, String artifactId, String version, String classifier, String type)
    • buildModel

      org.apache.maven.project.MavenProject buildModel(org.apache.maven.artifact.Artifact artifact, Object repositorySystemSession, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories, boolean resolve) throws GemException
      Throws:
      GemException
    • setRepositorySession

      void setRepositorySession(org.apache.maven.project.ProjectBuildingRequest pomRequest, Object repositorySystemSession) throws GemException
      Throws:
      GemException
    • buildPom

      org.apache.maven.project.MavenProject buildPom(org.apache.maven.artifact.Artifact artifact, Object repositorySystemSession, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories) throws GemException
      Throws:
      GemException
    • availableVersions

      List<String> availableVersions(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories) throws GemException
      Throws:
      GemException
    • latestVersion

      String latestVersion(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories) throws GemException
      Throws:
      GemException