You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by br...@apache.org on 2005/06/10 04:01:37 UTC

svn commit: r189876 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/DefaultMavenBuilderHelper.java

Author: brett
Date: Thu Jun  9 19:01:36 2005
New Revision: 189876

URL: http://svn.apache.org/viewcvs?rev=189876&view=rev
Log:
John changed the m2 API for profiles - pass in an empty list for now until a better decision can be made

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/DefaultMavenBuilderHelper.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/DefaultMavenBuilderHelper.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/DefaultMavenBuilderHelper.java?rev=189876&r1=189875&r2=189876&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/DefaultMavenBuilderHelper.java (original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/DefaultMavenBuilderHelper.java Thu Jun  9 19:01:36 2005
@@ -17,6 +17,7 @@
  */
 
 import java.io.File;
+import java.util.Collections;
 import java.util.Iterator;
 import java.util.Properties;
 
@@ -152,7 +153,10 @@
 
         try
         {
-            project = projectBuilder.build( file, getRepository() );
+            // TODO: we probably need to pass in some profiles here, perhaps from settings.xml
+            //   This seems like code that is shared with DefaultMaven, so it should be mobed to the project
+            //   builder perhaps
+            project = projectBuilder.build( file, getRepository(), Collections.EMPTY_LIST );
         }
         catch ( Exception e )
         {