mirror of https://github.com/apache/maven.git
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:
parent
bc257a588e
commit
7b9854faa4
|
@ -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>();
|
||||||
|
|
Loading…
Reference in New Issue