Class DefaultProjectDeployer
- java.lang.Object
-
- org.apache.maven.shared.project.deploy.internal.DefaultProjectDeployer
-
- All Implemented Interfaces:
ProjectDeployer
@Component(role=ProjectDeployer.class) public class DefaultProjectDeployer extends java.lang.Object implements ProjectDeployer
This will deploy a whole project into the appropriate remote repository.- Author:
- Karl Heinz Marbaise khmarbaise@apache.org Most of the code is taken from maven-deploy-plugin.
-
-
Constructor Summary
Constructors Constructor Description DefaultProjectDeployer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeploy(org.apache.maven.project.ProjectBuildingRequest buildingRequest, ProjectDeployerRequest request, org.apache.maven.artifact.repository.ArtifactRepository artifactRepository)This will deploy a single project which may contain several artifacts into the appropriate remote repository.
-
-
-
Method Detail
-
deploy
public void deploy(org.apache.maven.project.ProjectBuildingRequest buildingRequest, ProjectDeployerRequest request, org.apache.maven.artifact.repository.ArtifactRepository artifactRepository) throws java.io.IOException, NoFileAssignedExceptionThis will deploy a single project which may contain several artifacts into the appropriate remote repository.- Specified by:
deployin interfaceProjectDeployer- Parameters:
buildingRequest-ProjectBuildingRequestrequest-ProjectDeployerRequestartifactRepository-ArtifactRepository- Throws:
java.lang.IllegalArgumentException- in case of artifact is not correctly assigned.NoFileAssignedExceptionjava.io.IOException- In case of problems related to checksums.
-
-