continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r593129 - in /maven/continuum/trunk/maven-continuum-plugin: ./ src/main/java/org/apache/maven/continuum/plugin/
Date Thu, 08 Nov 2007 10:57:46 GMT
Author: evenisse
Date: Thu Nov  8 02:57:45 2007
New Revision: 593129

URL: http://svn.apache.org/viewvc?rev=593129&view=rev
Log:
Fix the build

Modified:
    maven/continuum/trunk/maven-continuum-plugin/pom.xml
    maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AbstractAddProject.java
    maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddAntProject.java
    maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddMavenOneProject.java
    maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddMavenTwoProject.java
    maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddShellProject.java
    maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/PingMojo.java

Modified: maven/continuum/trunk/maven-continuum-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/maven-continuum-plugin/pom.xml?rev=593129&r1=593128&r2=593129&view=diff
==============================================================================
--- maven/continuum/trunk/maven-continuum-plugin/pom.xml (original)
+++ maven/continuum/trunk/maven-continuum-plugin/pom.xml Thu Nov  8 02:57:45 2007
@@ -31,6 +31,10 @@
   <dependencies>
     <dependency>
       <groupId>org.apache.maven.continuum</groupId>
+      <artifactId>continuum-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.continuum</groupId>
       <artifactId>continuum-xmlrpc-client</artifactId>
     </dependency>
     <dependency>

Modified: maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AbstractAddProject.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AbstractAddProject.java?rev=593129&r1=593128&r2=593129&view=diff
==============================================================================
--- maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AbstractAddProject.java
(original)
+++ maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AbstractAddProject.java
Thu Nov  8 02:57:45 2007
@@ -19,7 +19,6 @@
  * under the License.
  */
 
-import org.apache.maven.continuum.ContinuumException;
 import org.apache.maven.continuum.execution.ContinuumBuildExecutorConstants;
 import org.apache.maven.continuum.xmlrpc.project.ProjectSummary;
 import org.apache.maven.plugin.MojoExecutionException;
@@ -130,7 +129,7 @@
                 }
             }
         }
-        catch ( ContinuumException e )
+        catch ( Exception e )
         {
             throw new MojoExecutionException( "Can't add the " + getProjectType() + " project.",
e );
         }

Modified: maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddAntProject.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddAntProject.java?rev=593129&r1=593128&r2=593129&view=diff
==============================================================================
--- maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddAntProject.java
(original)
+++ maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddAntProject.java
Thu Nov  8 02:57:45 2007
@@ -1,7 +1,5 @@
 package org.apache.maven.continuum.plugin;
 
-import org.apache.maven.continuum.execution.ContinuumBuildExecutorConstants;
-
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -20,6 +18,8 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
+import org.apache.maven.continuum.execution.ContinuumBuildExecutorConstants;
 
 /**
  * Goal which add an ANT project.

Modified: maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddMavenOneProject.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddMavenOneProject.java?rev=593129&r1=593128&r2=593129&view=diff
==============================================================================
--- maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddMavenOneProject.java
(original)
+++ maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddMavenOneProject.java
Thu Nov  8 02:57:45 2007
@@ -19,7 +19,6 @@
  * under the License.
  */
 
-import org.apache.maven.continuum.ContinuumException;
 import org.apache.maven.plugin.MojoExecutionException;
 import org.apache.maven.plugin.MojoFailureException;
 
@@ -62,7 +61,7 @@
                 getClient().addMavenOneProject( projectUrl );
             }
         }
-        catch ( ContinuumException e )
+        catch ( Exception e )
         {
             throw new MojoExecutionException( "Can't add the Maven1 project from '" + projectUrl
+ "'.", e );
         }

Modified: maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddMavenTwoProject.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddMavenTwoProject.java?rev=593129&r1=593128&r2=593129&view=diff
==============================================================================
--- maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddMavenTwoProject.java
(original)
+++ maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddMavenTwoProject.java
Thu Nov  8 02:57:45 2007
@@ -19,7 +19,6 @@
  * under the License.
  */
 
-import org.apache.maven.continuum.ContinuumException;
 import org.apache.maven.plugin.MojoExecutionException;
 import org.apache.maven.plugin.MojoFailureException;
 
@@ -62,7 +61,7 @@
                 getClient().addMavenTwoProject( projectUrl );
             }
         }
-        catch ( ContinuumException e )
+        catch ( Exception e )
         {
             throw new MojoExecutionException( "Can't add the Maven2 project from '" + projectUrl
+ "'.", e );
         }

Modified: maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddShellProject.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddShellProject.java?rev=593129&r1=593128&r2=593129&view=diff
==============================================================================
--- maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddShellProject.java
(original)
+++ maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/AddShellProject.java
Thu Nov  8 02:57:45 2007
@@ -1,7 +1,5 @@
 package org.apache.maven.continuum.plugin;
 
-import org.apache.maven.continuum.execution.ContinuumBuildExecutorConstants;
-
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -20,6 +18,8 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
+import org.apache.maven.continuum.execution.ContinuumBuildExecutorConstants;
 
 /**
  * Goal which add a Shell Project.

Modified: maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/PingMojo.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/PingMojo.java?rev=593129&r1=593128&r2=593129&view=diff
==============================================================================
--- maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/PingMojo.java
(original)
+++ maven/continuum/trunk/maven-continuum-plugin/src/main/java/org/apache/maven/continuum/plugin/PingMojo.java
Thu Nov  8 02:57:45 2007
@@ -19,7 +19,6 @@
  * under the License.
  */
 
-import org.apache.maven.continuum.ContinuumException;
 import org.apache.maven.plugin.MojoExecutionException;
 import org.apache.maven.plugin.MojoFailureException;
 
@@ -40,7 +39,7 @@
         {
             getClient().ping();
         }
-        catch ( ContinuumException e )
+        catch ( Exception e )
         {
             throw new MojoExecutionException( "Can't run the continuum command.", e );
         }



Mime
View raw message