mirror of https://github.com/apache/maven.git
o don't need the private method anymore for getting the super pom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571912 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f196fefba4
commit
c0ce98d89a
|
@ -139,7 +139,7 @@ public class DefaultMaven
|
|||
|
||||
if ( projects.isEmpty() )
|
||||
{
|
||||
projects.add( getSuperProject( request ) );
|
||||
projects.add( projectBuilder.buildStandaloneSuperProject() );
|
||||
|
||||
foundProjects = false;
|
||||
}
|
||||
|
@ -307,22 +307,6 @@ public class DefaultMaven
|
|||
}
|
||||
}
|
||||
|
||||
private MavenProject getSuperProject( MavenExecutionRequest request )
|
||||
throws MavenExecutionException
|
||||
{
|
||||
MavenProject superProject;
|
||||
try
|
||||
{
|
||||
superProject = projectBuilder.buildStandaloneSuperProject();
|
||||
|
||||
}
|
||||
catch ( ProjectBuildingException e )
|
||||
{
|
||||
throw new MavenExecutionException( e.getMessage(), e );
|
||||
}
|
||||
return superProject;
|
||||
}
|
||||
|
||||
private List getProjects( MavenExecutionRequest request )
|
||||
throws MavenExecutionException, BuildFailureException
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue