mirror of
https://github.com/apache/maven.git
synced 2025-03-08 17:49:15 +00:00
[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:
parent
49508f67ad
commit
a5dfd7f338
@ -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 )
|
||||
{
|
||||
|
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user