o use new signature for the project builder

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726958 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2008-12-16 05:06:29 +00:00
parent 38e6b15ebc
commit 75456d77ba
1 changed files with 3 additions and 7 deletions

View File

@ -302,10 +302,8 @@ public class DefaultMavenProjectBuilder
{
project = constructMavenProjectFromModel( project.getModel(), null, null, config );
project.setActiveProfiles( activeProfiles );
project.setRemoteArtifactRepositories(
mavenTools.buildArtifactRepositories( superModel.getRepositories() ) );
project.setPluginArtifactRepositories(
mavenTools.buildArtifactRepositories( superModel.getRepositories() ) );
project.setRemoteArtifactRepositories( mavenTools.buildArtifactRepositories( superModel.getRepositories() ) );
project.setPluginArtifactRepositories( mavenTools.buildArtifactRepositories( superModel.getRepositories() ) );
}
catch ( InvalidRepositoryException e )
{
@ -318,8 +316,7 @@ public class DefaultMavenProjectBuilder
return project;
}
public MavenProjectBuildingResult buildProjectWithDependencies( File projectDescriptor,
ProjectBuilderConfiguration config )
public MavenProjectBuildingResult buildProjectWithDependencies( File projectDescriptor, ProjectBuilderConfiguration config )
throws ProjectBuildingException
{
MavenProject project = build( projectDescriptor, config );
@ -556,7 +553,6 @@ public class DefaultMavenProjectBuilder
null,
interpolatorProperties,
resolver,
projectDescriptor.getParentFile(),
config );
}
catch ( IOException e )