maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r571912 - /maven/components/trunk/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
Date Sun, 02 Sep 2007 01:20:16 GMT
Author: jvanzyl
Date: Sat Sep  1 18:20:15 2007
New Revision: 571912

URL: http://svn.apache.org/viewvc?rev=571912&view=rev
Log:
o don't need the private method anymore for getting the super pom

Modified:
    maven/components/trunk/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

Modified: maven/components/trunk/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/java/org/apache/maven/DefaultMaven.java?rev=571912&r1=571911&r2=571912&view=diff
==============================================================================
--- maven/components/trunk/maven-core/src/main/java/org/apache/maven/DefaultMaven.java (original)
+++ maven/components/trunk/maven-core/src/main/java/org/apache/maven/DefaultMaven.java Sat
Sep  1 18:20:15 2007
@@ -139,7 +139,7 @@
 
             if ( projects.isEmpty() )
             {
-                projects.add( getSuperProject( request ) );
+                projects.add( projectBuilder.buildStandaloneSuperProject() );
 
                 foundProjects = false;
             }
@@ -305,22 +305,6 @@
 
             line();
         }
-    }
-
-    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 )



Mime
View raw message