mirror of https://github.com/apache/maven.git
o fixes for failing tests, there is much confusion between metadata and artifacts, requests made and real values returned.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749414 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
613253dda7
commit
92a962c9e1
|
@ -171,6 +171,8 @@ public class DefaultArtifactCollector
|
|||
|
||||
set.add( node );
|
||||
|
||||
// This is required right now.
|
||||
result.addArtifact( artifact );
|
||||
result.addRequestedArtifact( artifact );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -157,8 +157,7 @@ public class ArtifactResolverTest
|
|||
};
|
||||
|
||||
ArtifactResolutionResult result =
|
||||
artifactResolver.resolveTransitively( Collections.singleton( g ), projectArtifact, remoteRepositories(),
|
||||
localRepository(), mds );
|
||||
artifactResolver.resolveTransitively( Collections.singleton( g ), projectArtifact, remoteRepositories(), localRepository(), mds );
|
||||
|
||||
assertEquals( 2, result.getArtifacts().size() );
|
||||
|
||||
|
|
Loading…
Reference in New Issue