o Fixed propagation of validation level to model parser

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780062 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-05-29 18:37:42 +00:00
parent bc257a588e
commit 7b9854faa4
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ public class DefaultMavenProjectBuilder
private List<Model> build( String projectId, File pomFile, ProjectBuilderConfiguration projectBuilderConfiguration ) private List<Model> build( String projectId, File pomFile, ProjectBuilderConfiguration projectBuilderConfiguration )
throws ProjectBuildingException, IOException throws ProjectBuildingException, IOException
{ {
Model mainModel = readModel( projectId, pomFile, true ); Model mainModel = readModel( projectId, pomFile, !projectBuilderConfiguration.istLenientValidation() );
mainModel.setProjectDirectory( pomFile.getParentFile() ); mainModel.setProjectDirectory( pomFile.getParentFile() );
List<Model> domainModels = new ArrayList<Model>(); List<Model> domainModels = new ArrayList<Model>();