summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorWesley Wolfe <weswolf@aol.com>2012-08-19 15:42:54 -0500
committerfeildmaster <admin@feildmaster.com>2012-08-22 16:42:26 -0500
commit9580c3e39af234be264679bea7796a7a57cb4920 (patch)
tree9ded0d318dd2f7dc7f0978281df1ce15fefe95c1 /pom.xml
parentdcd01bf0c0b87d1aaa1ec46bf58bd2750d0a9904 (diff)
downloadcraftbukkit-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.
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index a0418d69..b93324c8 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>