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 = constructMavenProjectFromModel( project.getModel(), null, null, config );
|
||||||
project.setActiveProfiles( activeProfiles );
|
project.setActiveProfiles( activeProfiles );
|
||||||
project.setRemoteArtifactRepositories(
|
project.setRemoteArtifactRepositories( mavenTools.buildArtifactRepositories( superModel.getRepositories() ) );
|
||||||
mavenTools.buildArtifactRepositories( superModel.getRepositories() ) );
|
project.setPluginArtifactRepositories( mavenTools.buildArtifactRepositories( superModel.getRepositories() ) );
|
||||||
project.setPluginArtifactRepositories(
|
|
||||||
mavenTools.buildArtifactRepositories( superModel.getRepositories() ) );
|
|
||||||
}
|
}
|
||||||
catch ( InvalidRepositoryException e )
|
catch ( InvalidRepositoryException e )
|
||||||
{
|
{
|
||||||
|
@ -318,8 +316,7 @@ public class DefaultMavenProjectBuilder
|
||||||
return project;
|
return project;
|
||||||
}
|
}
|
||||||
|
|
||||||
public MavenProjectBuildingResult buildProjectWithDependencies( File projectDescriptor,
|
public MavenProjectBuildingResult buildProjectWithDependencies( File projectDescriptor, ProjectBuilderConfiguration config )
|
||||||
ProjectBuilderConfiguration config )
|
|
||||||
throws ProjectBuildingException
|
throws ProjectBuildingException
|
||||||
{
|
{
|
||||||
MavenProject project = build( projectDescriptor, config );
|
MavenProject project = build( projectDescriptor, config );
|
||||||
|
@ -556,7 +553,6 @@ public class DefaultMavenProjectBuilder
|
||||||
null,
|
null,
|
||||||
interpolatorProperties,
|
interpolatorProperties,
|
||||||
resolver,
|
resolver,
|
||||||
projectDescriptor.getParentFile(),
|
|
||||||
config );
|
config );
|
||||||
}
|
}
|
||||||
catch ( IOException e )
|
catch ( IOException e )
|
||||||
|
|
Loading…
Reference in New Issue