public interface ArtifactTransformationManager
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ROLE |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ArtifactTransformation> |
getArtifactTransformations() |
void |
transformForDeployment(org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.repository.ArtifactRepository remoteRepository,
org.apache.maven.artifact.repository.ArtifactRepository localRepository)
Take in a artifact and return the transformed artifact for distributing to a remote repository.
|
void |
transformForInstall(org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.repository.ArtifactRepository localRepository)
Take in a artifact and return the transformed artifact for locating in the local repository.
|
void |
transformForResolve(org.apache.maven.artifact.Artifact artifact,
java.util.List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories,
org.apache.maven.artifact.repository.ArtifactRepository localRepository)
Take in a artifact and return the transformed artifact for locating in the remote repository.
|
void |
transformForResolve(org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.repository.RepositoryRequest request)
Take in a artifact and return the transformed artifact for locating in the remote repository.
|
void transformForResolve(org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.repository.RepositoryRequest request)
throws org.apache.maven.artifact.resolver.ArtifactResolutionException,
org.apache.maven.artifact.resolver.ArtifactNotFoundException
artifact - Artifact to be transformed.request - the repositories to checkorg.apache.maven.artifact.resolver.ArtifactResolutionExceptionorg.apache.maven.artifact.resolver.ArtifactNotFoundExceptionvoid transformForResolve(org.apache.maven.artifact.Artifact artifact,
java.util.List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories,
org.apache.maven.artifact.repository.ArtifactRepository localRepository)
throws org.apache.maven.artifact.resolver.ArtifactResolutionException,
org.apache.maven.artifact.resolver.ArtifactNotFoundException
artifact - Artifact to be transformed.remoteRepositories - the repositories to checklocalRepository - the local repositoryorg.apache.maven.artifact.resolver.ArtifactResolutionExceptionorg.apache.maven.artifact.resolver.ArtifactNotFoundExceptionvoid transformForInstall(org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.repository.ArtifactRepository localRepository)
throws ArtifactInstallationException
artifact - Artifact to be transformed.localRepository - the local repository it will be stored inArtifactInstallationExceptionvoid transformForDeployment(org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.repository.ArtifactRepository remoteRepository,
org.apache.maven.artifact.repository.ArtifactRepository localRepository)
throws ArtifactDeploymentException
artifact - Artifact to be transformed.remoteRepository - the repository to deploy tolocalRepository - the local repository the metadata is stored inArtifactDeploymentExceptionjava.util.List<ArtifactTransformation> getArtifactTransformations()