summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2015-01-12 20:05:28 +1100
committermd_5 <git@md-5.net>2015-01-12 20:09:28 +1100
commitd5e2e6e9947b78b33b0c48c3ceab3275fc0ac00e (patch)
tree3cd81abf4f49a0c84c9e65d4da41a19eed1158a2
parent1a84bacbdd609d8d0ae9a00190be37a5e02b7aa3 (diff)
downloadcraftbukkit-d5e2e6e9947b78b33b0c48c3ceab3275fc0ac00e.tar
craftbukkit-d5e2e6e9947b78b33b0c48c3ceab3275fc0ac00e.tar.gz
craftbukkit-d5e2e6e9947b78b33b0c48c3ceab3275fc0ac00e.tar.lz
craftbukkit-d5e2e6e9947b78b33b0c48c3ceab3275fc0ac00e.tar.xz
craftbukkit-d5e2e6e9947b78b33b0c48c3ceab3275fc0ac00e.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 19ebeece..d7b36138 100644
--- a/pom.xml
+++ b/pom.xml
@@ -166,6 +166,26 @@
</configuration>
</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>