Commits

md_5 authored 685a7d4b661
Add animal sniffer plugin to check API usages.

Wouldn't want @yawkat submitting PRs that only work on Java 8.
No tags

pom.xml

Modified
107 107 </configuration>
108 108 <dependencies>
109 109 <!-- we need our custom version as it fixes some bugs on case sensitive file systems -->
110 110 <dependency>
111 111 <groupId>org.codehaus.plexus</groupId>
112 112 <artifactId>plexus-compiler-eclipse</artifactId>
113 113 <version>2.5.0-spigotmc</version>
114 114 </dependency>
115 115 </dependencies>
116 116 </plugin>
117 + <plugin>
118 + <groupId>org.codehaus.mojo</groupId>
119 + <artifactId>animal-sniffer-maven-plugin</artifactId>
120 + <version>1.13</version>
121 + <executions>
122 + <execution>
123 + <phase>process-classes</phase>
124 + <goals>
125 + <goal>check</goal>
126 + </goals>
127 + </execution>
128 + </executions>
129 + <configuration>
130 + <signature>
131 + <groupId>org.codehaus.mojo.signature</groupId>
132 + <artifactId>java16</artifactId>
133 + <version>1.1</version>
134 + </signature>
135 + </configuration>
136 + </plugin>
117 137 <plugin>
118 138 <groupId>org.apache.maven.plugins</groupId>
119 139 <artifactId>maven-shade-plugin</artifactId>
120 140 <version>2.3</version>
121 141 <executions>
122 142 <execution>
123 143 <phase>package</phase>
124 144 <goals>
125 145 <goal>shade</goal>
126 146 </goals>

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut