]> source.dussan.org Git - archiva.git/commitdiff
fix DefaultDependencyTreeBuilder
authorOlivier Lamy <olamy@apache.org>
Wed, 15 Jun 2011 15:50:48 +0000 (15:50 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 15 Jun 2011 15:50:48 +0000 (15:50 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136094 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/DefaultDependencyTreeBuilder.java

index a66da60bc6700c2787e95349355075da17972a51..b317467c7d005e42449a513be2e2f5988e665016 100644 (file)
@@ -225,11 +225,11 @@ public class DefaultDependencyTreeBuilder
 
                 // Note that we don't permit going to external repositories. We don't need to pass in a local and remote
                 // since our metadata source has control over them
-                //collector.collect( dependencyArtifacts, projectArtifact, managedVersions, null, null, metadataSource,
-                //                   null, Collections.singletonList( listener ) );
+                collector.collect( dependencyArtifacts, projectArtifact, managedVersions, null, null, metadataSource,
+                                   null, Collections.singletonList( listener ) );
 
-                collector.collect( dependencyArtifacts, projectArtifact, null, Collections.<ArtifactRepository>emptyList(),
-                                   metadataSource, null,  Collections.singletonList( (ResolutionListener) listener ) );
+                //collector.collect( dependencyArtifacts, projectArtifact, null, Collections.<ArtifactRepository>emptyList(),
+                //                   metadataSource, null,  Collections.singletonList( (ResolutionListener) listener ) );
 
                 /*
                 Set<Artifact> artifacts, Artifact originatingArtifact,