[MNG-3680] - POM validation fails on projects in repo.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@758493 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Britton Isbell 2009-03-26 01:23:53 +00:00
parent 49508f67ad
commit a5dfd7f338
2 changed files with 2 additions and 3 deletions

View File

@ -86,7 +86,7 @@ public Model getModel() throws IOException
MavenXpp3Reader reader = new MavenXpp3Reader();
try
{
model = reader.read( is ) ;
model = reader.read( is, false ) ;
}
catch ( XmlPullParserException e )
{

View File

@ -232,8 +232,7 @@ private static void copyBuild(Build source, Build target)
e.setArtifactId( extension.getArtifactId() );
e.setGroupId( extension.getGroupId() );
e.setVersion( extension.getVersion() );
m.add( e );
// target.addExtension( e );
m.add( e );
}
}
target.getExtensions().removeAll( m );