diff --git a/maven-artifact-manager/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java b/maven-artifact-manager/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java index 588de9b3a6..35a7ad03fc 100644 --- a/maven-artifact-manager/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java +++ b/maven-artifact-manager/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java @@ -35,10 +35,12 @@ public class DefaultArtifactDeployer implements ArtifactDeployer { private WagonManager wagonManager; - + private ArtifactTransformationManager transformationManager; - /** @deprecated we want to use the artifact method only, and ensure artifact.file is set correctly. */ + /** + * @deprecated we want to use the artifact method only, and ensure artifact.file is set correctly. + */ public void deploy( String basedir, String finalName, Artifact artifact, ArtifactRepository deploymentRepository, ArtifactRepository localRepository ) throws ArtifactDeploymentException @@ -54,7 +56,7 @@ public class DefaultArtifactDeployer { try { - transformationManager.transformForDeployment( artifact, localRepository ); + transformationManager.transformForDeployment( artifact, deploymentRepository ); // Copy the original file to the new one if it was transformed File artifactFile = new File( localRepository.getBasedir(), localRepository.pathOf( artifact ) );