diff --git a/pom.xml b/pom.xml index a0418d691c..b93324c80e 100644 --- a/pom.xml +++ b/pom.xml @@ -222,6 +222,44 @@ <goal>shade</goal> </goals> <configuration> + <relocations> + <relocation> + <pattern>org.bouncycastle</pattern> + <shadedPattern>net.minecraft.org.bouncycastle</shadedPattern> + </relocation> + <relocation> + <pattern>joptsimple</pattern> + <shadedPattern>org.bukkit.craftbukkit.libs.joptsimple</shadedPattern> + </relocation> + <relocation> + <pattern>jline</pattern> + <shadedPattern>org.bukkit.craftbukkit.libs.jline</shadedPattern> + </relocation> + <relocation> + <pattern>org.fusesource</pattern> + <shadedPattern>org.bukkit.craftbukkit.libs.org.fusesource</shadedPattern> + </relocation> + <relocation> + <pattern>org.sqlite</pattern> + <shadedPattern>org.bukkit.craftbukkit.libs.org.sqlite</shadedPattern> + </relocation> + <relocation> + <pattern>org.ibex</pattern> + <shadedPattern>org.bukkit.craftbukkit.libs.org.ibex</shadedPattern> + </relocation> + <relocation> + <pattern>com.mysql</pattern> + <shadedPattern>org.bukkit.craftbukkit.libs.com.mysql</shadedPattern> + </relocation> + <relocation> + <pattern>org.gjt</pattern> + <shadedPattern>org.bukkit.craftbukkit.libs.org.gjt</shadedPattern> + </relocation> + <relocation> + <pattern>com.google.gson</pattern> + <shadedPattern>org.bukkit.craftbukkit.libs.com.google.gson</shadedPattern> + </relocation> + </relocations> <artifactSet> <excludes> <exclude>junit:junit</exclude>