mirror of
https://github.com/PaperMC/Paper.git
synced 2024-09-12 15:08:27 +02:00
Use ECJ as the compiler, like Bukkit.
This commit is contained in:
parent
5b92dc3d0a
commit
96d09e378a
35
pom.xml
35
pom.xml
@ -16,6 +16,8 @@
|
|||||||
<minecraft_version>1_8_R1</minecraft_version>
|
<minecraft_version>1_8_R1</minecraft_version>
|
||||||
<buildtag.prefix>git-Bukkit-</buildtag.prefix>
|
<buildtag.prefix>git-Bukkit-</buildtag.prefix>
|
||||||
<buildtag.suffix></buildtag.suffix>
|
<buildtag.suffix></buildtag.suffix>
|
||||||
|
<maven.compiler.source>1.6</maven.compiler.source>
|
||||||
|
<maven.compiler.target>1.6</maven.compiler.target>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
@ -81,6 +83,14 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<!-- required until fixed plexus-compiler-eclipse is deployed -->
|
||||||
|
<pluginRepositories>
|
||||||
|
<pluginRepository>
|
||||||
|
<id>spigotmc-public</id>
|
||||||
|
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
|
||||||
|
</pluginRepository>
|
||||||
|
</pluginRepositories>
|
||||||
|
|
||||||
<!-- This builds a completely 'ready to start' jar with all dependencies inside -->
|
<!-- This builds a completely 'ready to start' jar with all dependencies inside -->
|
||||||
<build>
|
<build>
|
||||||
<defaultGoal>clean install</defaultGoal>
|
<defaultGoal>clean install</defaultGoal>
|
||||||
@ -229,13 +239,24 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.2</version>
|
<!-- versions after this appear to be broken -->
|
||||||
<configuration>
|
<version>3.1</version>
|
||||||
<source>1.6</source>
|
<configuration>
|
||||||
<target>1.6</target>
|
<!-- we use the Eclipse compiler as it doesn't need a JDK -->
|
||||||
</configuration>
|
<compilerId>eclipse</compilerId>
|
||||||
|
<!-- source and target are ignored if this isn't true -->
|
||||||
|
<optimize>true</optimize>
|
||||||
|
</configuration>
|
||||||
|
<dependencies>
|
||||||
|
<!-- we need our custom version as it fixes some bugs on case sensitive file systems -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.codehaus.plexus</groupId>
|
||||||
|
<artifactId>plexus-compiler-eclipse</artifactId>
|
||||||
|
<version>2.5.0-spigotmc</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
Loading…
Reference in New Issue
Block a user