Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
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.
Dieser Commit ist enthalten in:
Ursprung
dcd01bf0c0
Commit
9580c3e39a
38
pom.xml
38
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>
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren