diff --git a/Spigot-Server-Patches/POM-Changes.patch b/Spigot-Server-Patches/POM-Changes.patch index 1e5bd20ed2..29e3d0ea24 100644 --- a/Spigot-Server-Patches/POM-Changes.patch +++ b/Spigot-Server-Patches/POM-Changes.patch @@ -46,15 +46,21 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 - <artifactId>spigot-api</artifactId> + <groupId>com.destroystokyo.paper</groupId> + <artifactId>paper-api</artifactId> + <version>${project.version}</version> + <scope>compile</scope> + </dependency> + <dependency> +- <groupId>org.spigotmc</groupId> ++ <groupId>com.destroystokyo.paper</groupId> ++ <artifactId>paper-mojangapi</artifactId> + <version>${project.version}</version> + <scope>compile</scope> + </dependency> + <dependency> -+ <groupId>com.destroystokyo.paper</groupId> -+ <artifactId>paper-mojangapi</artifactId> - <version>${project.version}</version> ++ <groupId>io.papermc</groupId> + <artifactId>minecraft-server</artifactId> + <version>${minecraft.version}-SNAPSHOT</version> <scope>compile</scope> - </dependency> @@ -0,0 +0,0 @@ <version>8.0.1</version> <scope>compile</scope> @@ -100,8 +106,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 - <descriptionProperty>spigot.desc</descriptionProperty> - </configuration> - <phase>initialize</phase> -+ <phase>compile</phase> - <goals> +- <goals> - <goal>describe</goal> - </goals> - </execution> @@ -113,7 +118,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 - <descriptionProperty>craftbukkit.desc</descriptionProperty> - </configuration> - <phase>initialize</phase> -- <goals> ++ <phase>compile</phase> + <goals> - <goal>describe</goal> + <goal>gitdescribe</goal> </goals> diff --git a/scripts/remap.sh b/scripts/remap.sh index 0d9d64d4bb..cc689aae28 100755 --- a/scripts/remap.sh +++ b/scripts/remap.sh @@ -72,7 +72,7 @@ fi echo "Installing remapped jar..." cd "$workdir/CraftBukkit" # Need to be in a directory with a valid POM at the time of install. -mvn install:install-file -q -Dfile="$jarpath-mapped.jar" -Dpackaging=jar -DgroupId=org.spigotmc -DartifactId=minecraft-server -Dversion="$minecraftversion-SNAPSHOT" +mvn install:install-file -q -Dfile="$jarpath-mapped.jar" -Dpackaging=jar -DgroupId=io.papermc -DartifactId=minecraft-server -Dversion="$minecraftversion-SNAPSHOT" if [ "$?" != "0" ]; then echo "Failed to install remapped jar." exit 1