mirror of
https://hub.spigotmc.org/stash/scm/spigot/spigot.git
synced 2026-11-24 19:29:43 -05:00
Ensure authlib is not repackaged
This commit is contained in:
1 parent
612aaf4e8a
commit
dce4e57716
2 files changed
+7
-12
No files matched your search
@@ -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>
|
||||
@@ -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' {} \;
|
||||
Reference in new issue
Block a user