mirror of https://github.com/apache/maven.git
o use internal method, not the artifact resolver
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749085 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
797e071685
commit
da4e56cc80
|
@ -454,7 +454,7 @@ public class LegacyMavenRepositorySystem
|
||||||
projectArtifact = artifactFactory.createProjectArtifact( artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(), artifact.getScope() );
|
projectArtifact = artifactFactory.createProjectArtifact( artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(), artifact.getScope() );
|
||||||
}
|
}
|
||||||
|
|
||||||
artifactResolver.resolve( projectArtifact, remoteArtifactRepositories, localRepository );
|
resolve( projectArtifact, localRepository, remoteArtifactRepositories );
|
||||||
|
|
||||||
File file = projectArtifact.getFile();
|
File file = projectArtifact.getFile();
|
||||||
artifact.setFile( file );
|
artifact.setFile( file );
|
||||||
|
|
Loading…
Reference in New Issue