mirror of https://github.com/apache/maven.git
Fix: MNG-3392
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@700837 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2efd58f1cd
commit
a20f8ffee8
|
@ -406,13 +406,13 @@ public class DefaultMavenProjectBuilder
|
|||
{
|
||||
|
||||
MavenProject project = new MavenProject( model, artifactFactory, mavenTools, this, config );
|
||||
validateModel( model, pomFile );
|
||||
|
||||
Artifact projectArtifact = artifactFactory.createBuildArtifact( project.getGroupId(), project.getArtifactId(),
|
||||
project.getVersion(), project.getPackaging() );
|
||||
project.setArtifact( projectArtifact );
|
||||
project.setParentFile( parentFile );
|
||||
|
||||
validateModel( model, pomFile );
|
||||
return project;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue