continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r170170 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Sat, 14 May 2005 21:28:25 GMT
Author: jvanzyl
Date: Sat May 14 14:28:25 2005
New Revision: 170170

URL: http://svn.apache.org/viewcvs?rev=170170&view=rev
Log:
keeping up with changes in -api

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java?rev=170170&r1=170169&r2=170170&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Sat May 14 14:28:25 2005
@@ -194,6 +194,16 @@
         updateProjectConfiguration( project.getId(), configuration );
     }
 
+    // ----------------------------------------------------------------------
+    // Maven 1.x projects
+    // ----------------------------------------------------------------------
+
+    public void addMavenOneProject( String metadataUrl )
+        throws ContinuumException
+    {
+        core.addProjectsFromUrl( metadataUrl, MavenOneBuildExecutor.ID );
+    }
+
     public void addMavenOneProject( MavenOneProject project )
         throws ContinuumException
     {
@@ -233,6 +243,16 @@
         configuration.setProperty( MavenOneBuildExecutor.CONFIGURATION_GOALS, project.getGoals()
);
 
         updateProjectConfiguration( project.getId(), configuration );
+    }
+
+    // ----------------------------------------------------------------------
+    // Maven 2.x projects
+    // ----------------------------------------------------------------------
+
+    public void addMavenTwoProject( String metadataUrl )  
+        throws ContinuumException
+    {
+        core.addProjectsFromUrl( metadataUrl, MavenTwoBuildExecutor.ID );
     }
 
     public void addMavenTwoProject( MavenTwoProject project )



Mime
View raw message