summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2015-01-12 20:06:53 +1100
committermd_5 <git@md-5.net>2015-01-12 20:06:53 +1100
commit685a7d4b66147864e52a2687a5d2a2bf14d8a491 (patch)
tree6130c33ee99bdb924aa3e132a98c57d21ab84e44
parente8b6cdfa8a051e28a90e1698c937f4a6c8a8f348 (diff)
downloadbukkit-685a7d4b66147864e52a2687a5d2a2bf14d8a491.tar
bukkit-685a7d4b66147864e52a2687a5d2a2bf14d8a491.tar.gz
bukkit-685a7d4b66147864e52a2687a5d2a2bf14d8a491.tar.lz
bukkit-685a7d4b66147864e52a2687a5d2a2bf14d8a491.tar.xz
bukkit-685a7d4b66147864e52a2687a5d2a2bf14d8a491.zip
Add animal sniffer plugin to check API usages.
Wouldn't want @yawkat submitting PRs that only work on Java 8.
-rw-r--r--pom.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 4d5a7cfb..853fab12 100644
--- a/pom.xml
+++ b/pom.xml
@@ -115,6 +115,26 @@
</dependencies>
</plugin>
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>animal-sniffer-maven-plugin</artifactId>
+ <version>1.13</version>
+ <executions>
+ <execution>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <signature>
+ <groupId>org.codehaus.mojo.signature</groupId>
+ <artifactId>java16</artifactId>
+ <version>1.1</version>
+ </signature>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.3</version>