geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r439749 - in /geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo: genesis/AntMojoSupport.java plugin/MojoSupport.java
Date Sun, 03 Sep 2006 09:49:06 GMT
Author: jdillon
Date: Sun Sep  3 02:49:06 2006
New Revision: 439749

URL: http://svn.apache.org/viewvc?rev=439749&view=rev
Log:
Allow init to throw exceptions

Modified:
    geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/genesis/AntMojoSupport.java
    geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/plugin/MojoSupport.java

Modified: geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/genesis/AntMojoSupport.java
URL: http://svn.apache.org/viewvc/geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/genesis/AntMojoSupport.java?rev=439749&r1=439748&r2=439749&view=diff
==============================================================================
--- geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/genesis/AntMojoSupport.java
(original)
+++ geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/genesis/AntMojoSupport.java
Sun Sep  3 02:49:06 2006
@@ -25,6 +25,9 @@
 import java.util.Map;
 import java.util.Iterator;
 
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugin.MojoFailureException;
+
 import org.apache.tools.ant.Project;
 import org.apache.tools.ant.Task;
 import org.apache.tools.ant.BuildException;
@@ -46,7 +49,7 @@
 {
     protected Project ant;
 
-    protected void init() {
+    protected void init() throws MojoExecutionException, MojoFailureException {
         super.init();
 
         ant = new Project();

Modified: geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/plugin/MojoSupport.java
URL: http://svn.apache.org/viewvc/geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/plugin/MojoSupport.java?rev=439749&r1=439748&r2=439749&view=diff
==============================================================================
--- geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/plugin/MojoSupport.java
(original)
+++ geronimo/genesis/trunk/plugins/plugin-support/src/main/java/org/apache/geronimo/plugin/MojoSupport.java
Sun Sep  3 02:49:06 2006
@@ -51,7 +51,7 @@
     /**
      * Initializes logging.  Called by {@link #execute}.
      */
-    protected void init() {
+    protected void init() throws MojoExecutionException, MojoFailureException {
         log = getLog();
     }
 



Mime
View raw message