mirror of https://github.com/apache/maven.git
o Fixed resolution of project dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774522 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dcfc099be4
commit
5d20be91e3
|
@ -278,7 +278,10 @@ public class DefaultMavenProjectBuilder
|
||||||
throws ProjectBuildingException
|
throws ProjectBuildingException
|
||||||
{
|
{
|
||||||
MavenProject project = build( pomFile, configuration );
|
MavenProject project = build( pomFile, configuration );
|
||||||
Artifact artifact = repositorySystem.createArtifact( project.getGroupId(), project.getArtifactId(), project.getVersion(), project.getPackaging() );
|
|
||||||
|
Artifact artifact =
|
||||||
|
repositorySystem.createProjectArtifact( project.getGroupId(), project.getArtifactId(), project.getVersion() );
|
||||||
|
artifact.setFile( pomFile );
|
||||||
|
|
||||||
ArtifactResolutionRequest request = new ArtifactResolutionRequest()
|
ArtifactResolutionRequest request = new ArtifactResolutionRequest()
|
||||||
.setArtifact( artifact )
|
.setArtifact( artifact )
|
||||||
|
|
Loading…
Reference in New Issue