Update Eclipse compiler.

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2017-07-17 09:56:00 +10:00
parent 46c820e747
commit 7236695de0

View File

@ -98,20 +98,17 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<!-- versions after this appear to be broken --> <version>3.6.1</version>
<version>3.1</version>
<configuration> <configuration>
<!-- we use the Eclipse compiler as it doesn't need a JDK --> <!-- we use the Eclipse compiler as it doesn't need a JDK -->
<compilerId>eclipse</compilerId> <compilerId>eclipse</compilerId>
<!-- source and target are ignored if this isn't true -->
<optimize>true</optimize>
</configuration> </configuration>
<dependencies> <dependencies>
<!-- we need our custom version as it fixes some bugs on case sensitive file systems --> <!-- we need our custom version as it fixes some bugs on case sensitive file systems -->
<dependency> <dependency>
<groupId>org.codehaus.plexus</groupId> <groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-eclipse</artifactId> <artifactId>plexus-compiler-eclipse</artifactId>
<version>2.5.0-spigotmc</version> <version>2.8.1-spigotmc</version>
</dependency> </dependency>
</dependencies> </dependencies>
</plugin> </plugin>
@ -138,7 +135,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version> <version>3.0.0</version>
<executions> <executions>
<execution> <execution>
<phase>package</phase> <phase>package</phase>