diff options
author | Wesley Wolfe <weswolf@aol.com> | 2012-08-19 15:42:54 -0500 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2012-08-22 16:42:26 -0500 |
commit | 9580c3e39af234be264679bea7796a7a57cb4920 (patch) | |
tree | 9ded0d318dd2f7dc7f0978281df1ce15fefe95c1 | |
parent | dcd01bf0c0b87d1aaa1ec46bf58bd2750d0a9904 (diff) | |
download | craftbukkit-9580c3e39af234be264679bea7796a7a57cb4920.tar craftbukkit-9580c3e39af234be264679bea7796a7a57cb4920.tar.gz craftbukkit-9580c3e39af234be264679bea7796a7a57cb4920.tar.lz craftbukkit-9580c3e39af234be264679bea7796a7a57cb4920.tar.xz craftbukkit-9580c3e39af234be264679bea7796a7a57cb4920.zip |
Refactor CraftBukkit dependencies. Fixes BUKKIT-2329
The maven shade plugin has the ability to change the namespace for
included dependencies and packages. This change is being implemented to
remove all conflicts with any possible libraries in an execution
environment.
The only dependencies to be refactored are specific to CraftBukkit. To
refactor dependencies included with Bukkit breaks any plugin compiled
against those specific dependencies, especially ebeans--an API
specifically encouraged for database management.
-rw-r--r-- | pom.xml | 38 |
1 files changed, 38 insertions, 0 deletions
@@ -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> |