Ensure authlib is not repackaged

This commit is contained in:
md_5 committed 2014-06-26 17:19:01 +10:00
1 parent 612aaf4e8a
commit dce4e57716
2 files changed
+7 -12

No files matched your search

+4 -12
View File
@@ -11,7 +11,7 @@
<groupId>org.spigotmc</groupId>
<artifactId>minecraft-server</artifactId>
<version>1.7.9</version>
<version>1.7.9-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Minecraft Server</name>
@@ -27,7 +27,7 @@
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>minecraft-server</artifactId>
<version>${project.version}</version>
<version>1.7.9</version>
<scope>compile</scope>
</dependency>
</dependencies>
@@ -49,8 +49,8 @@
<configuration>
<relocations>
<relocation>
<pattern>net.minecraft.util.com</pattern>
<shadedPattern>com</shadedPattern>
<pattern>net.minecraft.util.com.google</pattern>
<shadedPattern>com.google</shadedPattern>
</relocation>
<relocation>
<pattern>net.minecraft.util.gnu</pattern>
@@ -67,14 +67,6 @@
</relocations>
</configuration>
</plugin>
<plugin>
<!-- Don't deploy multiple release versions -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>
+3
View File
@@ -2,3 +2,6 @@
find ../Spigot-Server/src/ -type f -exec sed -i 's/net.minecraft.util.//g' {} \;
find ../CraftBukkit-Patches/ -type f -exec sed -i 's/net.minecraft.util.//g' {} \;
find ../Spigot-Server/src/ -type f -exec sed -i 's/com.mojang.authlib./net.minecraft.util.com.mojang.authlib./g' {} \;
find ../CraftBukkit-Patches/ -type f -exec sed -i 's/com.mojang.authlib./net.minecraft.util.com.mojang.authlib./g' {} \;