maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r327758 - in /maven/components/trunk/maven-artifact-ant: ./ src/main/java/org/apache/maven/artifact/ant/ src/main/resources/META-INF/plexus/
Date Sun, 23 Oct 2005 06:48:08 GMT
Author: brett
Date: Sat Oct 22 23:48:03 2005
New Revision: 327758

URL: http://svn.apache.org/viewcvs?rev=327758&view=rev
Log:
remove custom wagon manager, no longer necessary

Removed:
    maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/CustomWagonManager.java
    maven/components/trunk/maven-artifact-ant/src/main/resources/META-INF/plexus/components.xml
Modified:
    maven/components/trunk/maven-artifact-ant/   (props changed)
    maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/AbstractArtifactTask.java
    maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/DependenciesTask.java

Propchange: maven/components/trunk/maven-artifact-ant/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Sat Oct 22 23:48:03 2005
@@ -1,3 +1,4 @@
+
 target
 *~
 *.log
@@ -6,3 +7,4 @@
 *.ipr
 *.iws
 *.iml
+.wtpmodules

Modified: maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/AbstractArtifactTask.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/AbstractArtifactTask.java?rev=327758&r1=327757&r2=327758&view=diff
==============================================================================
--- maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/AbstractArtifactTask.java
(original)
+++ maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/AbstractArtifactTask.java
Sat Oct 22 23:48:03 2005
@@ -78,9 +78,6 @@
         ArtifactRepositoryLayout repositoryLayout =
             (ArtifactRepositoryLayout) lookup( ArtifactRepositoryLayout.ROLE, localRepository.getLayout()
);
 
-        CustomWagonManager manager = (CustomWagonManager) lookup( WagonManager.ROLE );
-        manager.setLocalRepository( localRepository.getLocation() );
-
         return new DefaultArtifactRepository( "local", "file://" + localRepository.getLocation(),
repositoryLayout );
     }
 

Modified: maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/DependenciesTask.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/DependenciesTask.java?rev=327758&r1=327757&r2=327758&view=diff
==============================================================================
--- maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/DependenciesTask.java
(original)
+++ maven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/DependenciesTask.java
Sat Oct 22 23:48:03 2005
@@ -119,7 +119,7 @@
         Set artifacts;
         try
         {
-            artifacts = metadataSource.createArtifacts( artifactFactory, dependencies, null,
null, null );
+            artifacts = MavenMetadataSource.createArtifacts( artifactFactory, dependencies,
null, null, null );
 
             Artifact pomArtifact = artifactFactory.createBuildArtifact( pom.getGroupId(),
pom.getArtifactId(), pom
                 .getVersion(), pom.getPackaging() );



Mime
View raw message