Skip to content

Commit

Permalink
Merge pull request modcluster#151 from rhusar/MODCLUSTER-456_animal_s…
Browse files Browse the repository at this point in the history
…niffer

Introduce animal-sniffer-maven-plugin to guarantee JDK6 runtime for Tomcat 6
  • Loading branch information
jfclere committed Jul 31, 2015
2 parents 159785f + 64e4cde commit 3664762
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pom.xml
Expand Up @@ -204,6 +204,30 @@
<artifactId>versions-maven-plugin</artifactId>
<version>1.3.1</version>
</plugin>
<!-- In order to build everything in one take, we need to use JDK7 because of the Tomcat 8
dependency, however we need to ensure that the code will be run correctly on JDK6 for Tomcat 6
support. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.14</version>
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java16</artifactId>
<version>1.1</version>
</signature>
</configuration>
<executions>
<execution>
<id>ensure-java-1.6-class-library</id>
<phase>test</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 3664762

Please sign in to comment.