diff options
-rw-r--r-- | pom.xml | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -13,6 +13,7 @@ <api.version>unknown</api.version> <junit.version>4.10</junit.version> <minecraft.version>1.4.5</minecraft.version> + <minecraft_version>1_4_5</minecraft_version> </properties> <scm> @@ -226,27 +227,27 @@ <relocations> <relocation> <pattern>org.bouncycastle</pattern> - <shadedPattern>net.minecraft.${minecraft.version}.org.bouncycastle</shadedPattern> + <shadedPattern>net.minecraft.v${minecraft_version}.org.bouncycastle</shadedPattern> </relocation> <relocation> <pattern>joptsimple</pattern> - <shadedPattern>org.bukkit.craftbukkit.libs.${project.dependencies[2].version}.joptsimple</shadedPattern> + <shadedPattern>org.bukkit.craftbukkit.libs.joptsimple</shadedPattern> </relocation> <relocation> <pattern>jline</pattern> - <shadedPattern>org.bukkit.craftbukkit.libs.${project.dependencies[3].version}.jline</shadedPattern> + <shadedPattern>org.bukkit.craftbukkit.libs.jline</shadedPattern> </relocation> <relocation> <pattern>org.ibex</pattern> - <shadedPattern>org.bukkit.craftbukkit.libs.${project.dependencies[5].version}.org.ibex</shadedPattern> + <shadedPattern>org.bukkit.craftbukkit.libs.org.ibex</shadedPattern> </relocation> <relocation> <pattern>org.gjt</pattern> - <shadedPattern>org.bukkit.craftbukkit.libs.${project.dependencies[6].version}.org.gjt</shadedPattern> + <shadedPattern>org.bukkit.craftbukkit.libs.org.gjt</shadedPattern> </relocation> <relocation> <pattern>com.google.gson</pattern> - <shadedPattern>org.bukkit.craftbukkit.libs.${project.dependencies[7].version}.com.google.gson</shadedPattern> + <shadedPattern>org.bukkit.craftbukkit.libs.com.google.gson</shadedPattern> </relocation> <!-- These contain native libraries, and cannot be properly relocated <relocation> @@ -264,14 +265,14 @@ !--> <relocation> <pattern>org.bukkit.craftbukkit</pattern> - <shadedPattern>org.bukkit.craftbukkit.${minecraft.version}</shadedPattern> + <shadedPattern>org.bukkit.craftbukkit.v${minecraft_version}</shadedPattern> <excludes> <exclude>org.bukkit.craftbukkit.Main*</exclude> </excludes> </relocation> <relocation> <pattern>net.minecraft.server</pattern> - <shadedPattern>net.minecraft.server.${minecraft.version}</shadedPattern> + <shadedPattern>net.minecraft.server.v${minecraft_version}</shadedPattern> </relocation> </relocations> <artifactSet> |