Author: mkleint Date: Tue Dec 18 10:22:26 2007 New Revision: 605282 URL: http://svn.apache.org/viewvc?rev=605282&view=rev Log: listOriginatingArtifact is never called, this seems like the best place.
Modified: maven/artifact/trunk/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java Modified: maven/artifact/trunk/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java URL: http://svn.apache.org/viewvc/maven/artifact/trunk/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java?rev=605282&r1=605281&r2=605282&view=diff ============================================================================== --- maven/artifact/trunk/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java (original) +++ maven/artifact/trunk/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java Tue Dec 18 10:22:26 2007 @@ -97,7 +97,9 @@ List conflictResolvers ) { ArtifactResolutionResult result = new ArtifactResolutionResult(); - + + result.ListOriginatingArtifact( originatingArtifact ); + if ( conflictResolvers == null ) { // TODO: warn that we're using the default conflict resolver @@ -108,7 +110,7 @@ Map resolvedArtifacts = new LinkedHashMap(); ResolutionNode root = new ResolutionNode( originatingArtifact, remoteRepositories ); - + try { root.addDependencies( artifacts, remoteRepositories, filter );