@Component(role=ArtifactDeployer.class, hint="maven3") public class Maven30ArtifactDeployer extends Object implements ArtifactDeployer
Constructor and Description |
---|
Maven30ArtifactDeployer() |
Modifier and Type | Method and Description |
---|---|
void |
deploy(ProjectBuildingRequest buildingRequest,
ArtifactRepository remoteRepository,
Collection<Artifact> mavenArtifacts) |
void |
deploy(ProjectBuildingRequest buildingRequest,
Collection<Artifact> mavenArtifacts) |
public void deploy(ProjectBuildingRequest buildingRequest, Collection<Artifact> mavenArtifacts) throws ArtifactDeployerException
deploy
in interface ArtifactDeployer
buildingRequest
- ProjectBuildingRequest
mavenArtifacts
- Artifact
ArtifactDeployerException
- in case of an error.public void deploy(ProjectBuildingRequest buildingRequest, ArtifactRepository remoteRepository, Collection<Artifact> mavenArtifacts) throws ArtifactDeployerException
deploy
in interface ArtifactDeployer
buildingRequest
- 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.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.