incubator-kalumet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1209458 - in /incubator/kalumet/trunk: console/src/main/java/org/apache/kalumet/console/configuration/model/KalumetConsole.java pom.xml
Date Fri, 02 Dec 2011 13:21:35 GMT
Author: olamy
Date: Fri Dec  2 13:21:35 2011
New Revision: 1209458

URL: http://svn.apache.org/viewvc?rev=1209458&view=rev
Log:
add animal-sniffer-maven-plugin to check 1.5 compat and fix 1.5 compat

Modified:
    incubator/kalumet/trunk/console/src/main/java/org/apache/kalumet/console/configuration/model/KalumetConsole.java
    incubator/kalumet/trunk/pom.xml

Modified: incubator/kalumet/trunk/console/src/main/java/org/apache/kalumet/console/configuration/model/KalumetConsole.java
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/console/src/main/java/org/apache/kalumet/console/configuration/model/KalumetConsole.java?rev=1209458&r1=1209457&r2=1209458&view=diff
==============================================================================
--- incubator/kalumet/trunk/console/src/main/java/org/apache/kalumet/console/configuration/model/KalumetConsole.java
(original)
+++ incubator/kalumet/trunk/console/src/main/java/org/apache/kalumet/console/configuration/model/KalumetConsole.java
Fri Dec  2 13:21:35 2011
@@ -94,7 +94,9 @@ public class KalumetConsole {
 
          kalumetConsole = (KalumetConsole) digester.parse(path);
       } catch (Exception e) {
-         throw new IOException("Can't read the Apache Kalumet console configuration", e);
+          IOException ioe = new IOException("Can't read the Apache Kalumet console configuration");
+          ioe.initCause( e );
+          throw ioe;
       }
       return kalumetConsole;
    }

Modified: incubator/kalumet/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/pom.xml?rev=1209458&r1=1209457&r2=1209458&view=diff
==============================================================================
--- incubator/kalumet/trunk/pom.xml (original)
+++ incubator/kalumet/trunk/pom.xml Fri Dec  2 13:21:35 2011
@@ -437,6 +437,27 @@
           </archive>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>animal-sniffer-maven-plugin</artifactId>
+        <version>1.6</version>
+        <configuration>
+          <signature>
+            <groupId>org.codehaus.mojo.signature</groupId>
+            <artifactId>java15</artifactId>
+            <version>1.0</version>
+          </signature>
+        </configuration>
+        <executions>
+          <execution>
+            <id>check-java-1.5-compat</id>
+            <phase>process-classes</phase>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 



Mime
View raw message