mirror of https://github.com/apache/maven.git
o Restored original behavior of legacy code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@781108 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ff62ba92a6
commit
753f4897a3
|
@ -73,6 +73,8 @@ public class DefaultMavenProjectBuilder
|
|||
ProjectBuilderConfiguration configuration = new DefaultProjectBuilderConfiguration()
|
||||
.setLocalRepository( localRepository )
|
||||
.setRemoteRepositories( remoteRepositories );
|
||||
configuration.setProcessPlugins( false );
|
||||
configuration.setLenientValidation( true );
|
||||
|
||||
return buildFromRepository( artifact, configuration );
|
||||
}
|
||||
|
|
|
@ -31,6 +31,11 @@ public class DefaultProjectBuilderConfiguration
|
|||
implements ProjectBuilderConfiguration
|
||||
{
|
||||
|
||||
public DefaultProjectBuilderConfiguration()
|
||||
{
|
||||
setProcessPlugins( false );
|
||||
}
|
||||
|
||||
public ProjectBuilderConfiguration setLocalRepository( ArtifactRepository localRepository )
|
||||
{
|
||||
super.setLocalRepository( localRepository );
|
||||
|
|
Loading…
Reference in New Issue