Don't relocate joptsimple to allow --help to work.

This commit is contained in:
md_5 2019-03-17 12:54:21 +11:00
parent 1be05a2146
commit 217a293d3e

View file

@ -163,10 +163,13 @@
<configuration> <configuration>
<createSourcesJar>${shadeSourcesJar}</createSourcesJar> <createSourcesJar>${shadeSourcesJar}</createSourcesJar>
<relocations> <relocations>
<!-- Cannot be relocated as it breaks translation property keys -->
<!--
<relocation> <relocation>
<pattern>joptsimple</pattern> <pattern>joptsimple</pattern>
<shadedPattern>org.bukkit.craftbukkit.libs.joptsimple</shadedPattern> <shadedPattern>org.bukkit.craftbukkit.libs.joptsimple</shadedPattern>
</relocation> </relocation>
-->
<relocation> <relocation>
<pattern>jline</pattern> <pattern>jline</pattern>
<shadedPattern>org.bukkit.craftbukkit.libs.jline</shadedPattern> <shadedPattern>org.bukkit.craftbukkit.libs.jline</shadedPattern>