You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jd...@apache.org on 2006/08/22 00:19:16 UTC
svn commit: r433397 -
/maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployMojo.java
Author: jdcasey
Date: Mon Aug 21 15:19:16 2006
New Revision: 433397
URL: http://svn.apache.org/viewvc?rev=433397&view=rev
Log: (empty)
Modified:
maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployMojo.java
Modified: maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployMojo.java?rev=433397&r1=433396&r2=433397&view=diff
==============================================================================
--- maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployMojo.java (original)
+++ maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployMojo.java Mon Aug 21 15:19:16 2006
@@ -20,7 +20,7 @@
import org.apache.maven.artifact.deployer.ArtifactDeploymentException;
import org.apache.maven.artifact.metadata.ArtifactMetadata;
import org.apache.maven.artifact.repository.ArtifactRepository;
-import org.apache.maven.artifact.repository.ArtifactRepositoryFactory;
+import org.apache.maven.artifact.repository.DefaultArtifactRepository;
import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
@@ -92,11 +92,6 @@
private String altDeploymentRepository;
/**
- * @component
- */
- private ArtifactRepositoryFactory repoFactory;
-
- /**
* @parameter expression="${project.attachedArtifacts}
* @required
* @readonly
@@ -214,7 +209,7 @@
throw new MojoExecutionException( "Cannot find repository layout: " + layout, e );
}
- repo = repoFactory.createArtifactRepository( id, url, repoLayout, null, null );
+ repo = new DefaultArtifactRepository( id, url, repoLayout );
}
}