mirror of https://github.com/apache/maven.git
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:
parent
38e6b15ebc
commit
75456d77ba
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue