continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r574506 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java
Date Tue, 11 Sep 2007 08:26:21 GMT
Author: evenisse
Date: Tue Sep 11 01:26:20 2007
New Revision: 574506

URL: http://svn.apache.org/viewvc?rev=574506&view=rev
Log:
[CONTINUUM-1296] Use project/build/defaultGoal from pom if defined instead of the default
"clean install" goals

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java?rev=574506&r1=574505&r2=574506&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java
Tue Sep 11 01:26:20 2007
@@ -166,6 +166,12 @@
             if ( projectGroup != null )
             {
                 BuildDefinition buildDefinition = getDefaultBuildDefinition( loadRecursiveProjects
);
+                //CONTINUUM-1296
+                String defaultGoal = mavenProject.getBuild().getDefaultGoal();
+                if ( StringUtils.isNotEmpty( defaultGoal ) )
+                {
+                    buildDefinition.setGoals( defaultGoal );
+                }
 
                 try
                 {



Mime
View raw message