maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r780062 - /maven/components/trunk/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
Date Fri, 29 May 2009 18:37:43 GMT
Author: bentmann
Date: Fri May 29 18:37:42 2009
New Revision: 780062

URL: http://svn.apache.org/viewvc?rev=780062&view=rev
Log:
o Fixed propagation of validation level to model parser

Modified:
    maven/components/trunk/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

Modified: maven/components/trunk/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java?rev=780062&r1=780061&r2=780062&view=diff
==============================================================================
--- maven/components/trunk/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
(original)
+++ maven/components/trunk/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
Fri May 29 18:37:42 2009
@@ -398,7 +398,7 @@
     private List<Model> build( String projectId, File pomFile, ProjectBuilderConfiguration
projectBuilderConfiguration )
         throws ProjectBuildingException, IOException
     {
-        Model mainModel = readModel( projectId, pomFile, true );
+        Model mainModel = readModel( projectId, pomFile, !projectBuilderConfiguration.istLenientValidation()
);
         mainModel.setProjectDirectory( pomFile.getParentFile() );
 
         List<Model> domainModels = new ArrayList<Model>();



Mime
View raw message