From d54c8ec3e08f12e2da6e23d22faefdde878a6ef1 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Wed, 15 Jun 2011 15:50:48 +0000 Subject: [PATCH] fix DefaultDependencyTreeBuilder git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136094 13f79535-47bb-0310-9956-ffa450edef68 --- .../tree/maven2/DefaultDependencyTreeBuilder.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/DefaultDependencyTreeBuilder.java b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/DefaultDependencyTreeBuilder.java index a66da60bc..b317467c7 100644 --- a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/DefaultDependencyTreeBuilder.java +++ b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/DefaultDependencyTreeBuilder.java @@ -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.emptyList(), - metadataSource, null, Collections.singletonList( (ResolutionListener) listener ) ); + //collector.collect( dependencyArtifacts, projectArtifact, null, Collections.emptyList(), + // metadataSource, null, Collections.singletonList( (ResolutionListener) listener ) ); /* Set artifacts, Artifact originatingArtifact, -- 2.39.5