Move eclipse compiler patch to POM changes patch

Also update to Paperclip 1.1-SNAPSHOT
This commit is contained in:
DemonWav 2017-09-23 13:17:20 -05:00
parent f7de07e2b9
commit f3b8afd56a
No known key found for this signature in database
GPG Key ID: B6F23B7ED67DAE90
4 changed files with 16 additions and 40 deletions

View File

@ -1,11 +1,11 @@
From a1f6c3a5e3fff4f051aea6a29d0e0582e1451d9c Mon Sep 17 00:00:00 2001
From 9d2397180f0d5ce5b4cce3f1f80c90c860358824 Mon Sep 17 00:00:00 2001
From: Zach Brown <zach.brown@destroystokyo.com>
Date: Tue, 1 Mar 2016 00:16:08 +0100
Subject: [PATCH] POM changes
diff --git a/pom.xml b/pom.xml
index 98f2d67a..9934e9af 100644
index 98f2d67a..49fe56cc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,39 +3,39 @@
@ -97,7 +97,7 @@ index 98f2d67a..9934e9af 100644
<!-- bundled with Minecraft, should be kept in sync -->
<dependency>
<groupId>com.google.guava</groupId>
@@ -100,6 +118,7 @@
@@ -100,15 +118,12 @@
</dependencies>
<build>
@ -105,7 +105,16 @@ index 98f2d67a..9934e9af 100644
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -118,26 +137,6 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
- <configuration>
- <!-- we use the Eclipse compiler as it doesn't need a JDK -->
- <compilerId>eclipse</compilerId>
- </configuration>
<dependencies>
<!-- we need our custom version as it fixes some bugs on case sensitive file systems -->
<dependency>
@@ -118,26 +133,6 @@
</dependency>
</dependencies>
</plugin>
@ -132,7 +141,7 @@ index 98f2d67a..9934e9af 100644
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
@@ -151,6 +150,7 @@
@@ -151,6 +146,7 @@
</execution>
</executions>
<configuration>

View File

@ -1,33 +0,0 @@
From d8ba17cf36bb9c2084405a57609c3e434b78b012 Mon Sep 17 00:00:00 2001
From: DemonWav <demonwav@gmail.com>
Date: Fri, 22 Sep 2017 20:11:42 -0500
Subject: [PATCH] Remove eclipse compiler, we require a JDK anyways Fixes
building with JDK 9
diff --git a/pom.xml b/pom.xml
index a775f4ed..3ce500f8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -150,18 +150,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
- <configuration>
- <!-- we use the Eclipse compiler as it doesn't need a JDK -->
- <compilerId>eclipse</compilerId>
- </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.8.2-spigotmc</version>
- </dependency>
- </dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
--
2.14.1

View File

@ -12,7 +12,7 @@ vanillajar="../Minecraft/$mcver/$mcver.jar"
cd "$workdir/Paperclip"
mvn clean package "-Dmcver=$mcver" "-Dpaperjar=$paperjar" "-Dvanillajar=$vanillajar"
)
cp "$workdir/Paperclip/target/paperclip-${mcver}.jar" "$basedir/paperclip.jar"
cp "$workdir/Paperclip/assembly/target/paperclip-${mcver}.jar" "$basedir/paperclip.jar"
echo ""
echo ""

@ -1 +1 @@
Subproject commit 6dcb3241ca8e69fb8209e54fea507425c508915e
Subproject commit 4abd39dd10f1664d919bba774cce840ae8f8d8dd