Package de.saumya.mojo.ruby.gems
Interface GemManager
- All Known Implementing Classes:
DefaultGemManager
public interface GemManager
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDefaultGemRepositories(List<org.apache.maven.artifact.repository.ArtifactRepository> repos) voidaddDefaultGemRepository(List<org.apache.maven.artifact.repository.ArtifactRepository> repos) Deprecated.voidaddDefaultGemRepositoryForVersion(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.MavenProjectbuildModel(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.MavenProjectbuildPom(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.ArtifactcreateArtifact(String groupId, String artifactId, String version, String type) org.apache.maven.artifact.Artifactorg.apache.maven.artifact.ArtifactcreateGemArtifact(String gemname) org.apache.maven.artifact.ArtifactcreateGemArtifact(String gemname, String version) org.apache.maven.artifact.ArtifactcreateGemArtifactWithLatestVersion(String gemname, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories) org.apache.maven.artifact.ArtifactcreateJarArtifactForGemname(String gemName) org.apache.maven.artifact.ArtifactcreateJarArtifactForGemname(String gemName, String version) org.apache.maven.artifact.ArtifactcreateJarArtifactForGemnameWithLatestVersion(String gemName, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories) org.apache.maven.artifact.ArtifactcreatePomArtifactForGemname(String gemName) org.apache.maven.artifact.repository.ArtifactRepositoryorg.apache.maven.artifact.repository.ArtifactRepositorydefaultGemArtifactRepositoryForVersion(String artifactVersion) 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) voidsetRepositorySession(org.apache.maven.project.ProjectBuildingRequest pomRequest, Object repositorySystemSession)
-
Field Details
-
GROUP_ID_ARTIFACT_ID_SEPARATOR
- See Also:
-
-
Method Details
-
createGemArtifact
- 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
-
addDefaultGemRepositoryForVersion
@Deprecated void addDefaultGemRepositoryForVersion(String artifactVersion, List<org.apache.maven.artifact.repository.ArtifactRepository> repos) Deprecated. -
createJarArtifactForGemname
- Throws:
GemException
-
createPomArtifactForGemname
- 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
-
createArtifact
-
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
-