From a20f8ffee8fac9ef635f20ff83a86644f566a698 Mon Sep 17 00:00:00 2001 From: Britton Isbell Date: Wed, 1 Oct 2008 16:55:35 +0000 Subject: [PATCH] Fix: MNG-3392 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@700837 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/project/DefaultMavenProjectBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java b/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java index 2f4f7671b1..e0848e8ce6 100644 --- a/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java +++ b/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java @@ -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; }