From c0ce98d89abdb5edd15f00aa062549656e36934d Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Sun, 2 Sep 2007 01:20:15 +0000 Subject: [PATCH] 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 --- .../java/org/apache/maven/DefaultMaven.java | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/maven-core/src/main/java/org/apache/maven/DefaultMaven.java b/maven-core/src/main/java/org/apache/maven/DefaultMaven.java index e3d9588c41..fe6fdbfa6d 100644 --- a/maven-core/src/main/java/org/apache/maven/DefaultMaven.java +++ b/maven-core/src/main/java/org/apache/maven/DefaultMaven.java @@ -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 {