@Component(role=ArtifactDeployer.class, hint="maven31") public class Maven31ArtifactDeployer extends java.lang.Object implements ArtifactDeployer
| Modifier and Type | Field and Description |
|---|---|
private org.eclipse.aether.RepositorySystem |
repositorySystem |
| Constructor and Description |
|---|
Maven31ArtifactDeployer() |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
org.apache.maven.artifact.repository.ArtifactRepository remoteRepository,
java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts) |
void |
deploy(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts) |
private org.eclipse.aether.repository.RemoteRepository |
getRemoteRepository(org.eclipse.aether.RepositorySystemSession session,
org.apache.maven.artifact.repository.ArtifactRepository remoteRepository) |
@Requirement private org.eclipse.aether.RepositorySystem repositorySystem
public void deploy(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts)
throws ArtifactDeployerException
deploy in interface ArtifactDeployerbuildingRequest - ProjectBuildingRequestmavenArtifacts - ArtifactArtifactDeployerException - in case of an error.public void deploy(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
org.apache.maven.artifact.repository.ArtifactRepository remoteRepository,
java.util.Collection<org.apache.maven.artifact.Artifact> mavenArtifacts)
throws ArtifactDeployerException
deploy in interface ArtifactDeployerbuildingRequest - the building requestremoteRepository - the repository to deploy to. If null the mavenArtifact.getRepository() is
used.mavenArtifacts - the artifacts to deployArtifactDeployerException - in case of an error.private org.eclipse.aether.repository.RemoteRepository getRemoteRepository(org.eclipse.aether.RepositorySystemSession session,
org.apache.maven.artifact.repository.ArtifactRepository remoteRepository)
throws ArtifactDeployerException
ArtifactDeployerException