continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r189876 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/DefaultMavenBuilderHelper.java
Date Fri, 10 Jun 2005 02:01:37 GMT
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 )
         {



Mime
View raw message