creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r1622932 - /creadur/whisker/trunk/pom.xml
Date Sat, 06 Sep 2014 20:55:29 GMT
Author: dennisl
Date: Sat Sep  6 20:55:29 2014
New Revision: 1622932

URL: http://svn.apache.org/r1622932
Log:
[WHISKER-12] Cleanup Build Infrastructure
- Add an execution to animal-sniffer so that it actually runs

Modified:
    creadur/whisker/trunk/pom.xml

Modified: creadur/whisker/trunk/pom.xml
URL: http://svn.apache.org/viewvc/creadur/whisker/trunk/pom.xml?rev=1622932&r1=1622931&r2=1622932&view=diff
==============================================================================
--- creadur/whisker/trunk/pom.xml (original)
+++ creadur/whisker/trunk/pom.xml Sat Sep  6 20:55:29 2014
@@ -285,13 +285,28 @@
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>animal-sniffer-maven-plugin</artifactId>
         <version>1.11</version>
-        <configuration>
-          <signature>
-            <groupId>org.codehaus.mojo.signature</groupId>
-            <artifactId>java16</artifactId>
-            <version>1.0</version>
-          </signature>
-        </configuration>
+        <executions>
+          <execution>
+            <!-- This checks the source code of our project -->
+            <id>check-java-compatibility</id>
+            <phase>process-classes</phase>
+            <goals>
+              <goal>check</goal>
+            </goals>
+            <configuration>
+              <!--
+                Note that we cannot use our ${target.jdk} property here, so we
+                must change the artifactId of the signature manually when we
+                decide to move to a higher version of Java
+              -->
+              <signature>
+                <groupId>org.codehaus.mojo.signature</groupId>
+                <artifactId>java16</artifactId>
+                <version>1.0</version>
+              </signature>
+            </configuration>
+          </execution>
+        </executions>
       </plugin>
     </plugins>
     <extensions>



Mime
View raw message