Created
June 19, 2011 08:14
-
-
Save tuor713/1033937 to your computer and use it in GitHub Desktop.
Animal sniffler for Java 5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-enforcer-plugin</artifactId> | |
<dependencies> | |
<dependency> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>animal-sniffer-enforcer-rule</artifactId> | |
<version>1.6</version> | |
</dependency> | |
</dependencies> | |
<executions> | |
<execution> | |
<id>check-java15</id> | |
<phase>test</phase> | |
<goals> | |
<goal>enforce</goal> | |
</goals> | |
<configuration> | |
<rules> | |
<checkSignatureRule implementation="org.codehaus.mojo.animal_sniffer.enforcer.CheckSignatureRule"> | |
<ignoreDependencies>true</ignoreDependencies> | |
<signature> | |
<groupId>org.codehaus.mojo.signature</groupId> | |
<artifactId>java15</artifactId> | |
<version>1.0</version> | |
</signature> | |
</checkSignatureRule> | |
</rules> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment