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:
Benjamin Bentmann 2009-06-02 18:07:47 +00:00
parent ff62ba92a6
commit 753f4897a3
2 changed files with 7 additions and 0 deletions

View File

@ -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 );
}

View File

@ -31,6 +31,11 @@ public class DefaultProjectBuilderConfiguration
implements ProjectBuilderConfiguration
{
public DefaultProjectBuilderConfiguration()
{
setProcessPlugins( false );
}
public ProjectBuilderConfiguration setLocalRepository( ArtifactRepository localRepository )
{
super.setLocalRepository( localRepository );