Skip to content

Commit

Permalink
Improve Maven relocations
Browse files Browse the repository at this point in the history
  • Loading branch information
carlodrift committed Sep 9, 2024
1 parent bc25ca2 commit 18c1138
Showing 1 changed file with 30 additions and 21 deletions.
51 changes: 30 additions & 21 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,44 +57,50 @@
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.org.bstats</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.org.apache</shadedPattern>
<pattern>org.apache.commons.collections4</pattern>
<shadedPattern>
${project.groupId}.${project.artifactId}.libraries.org.apache.commons.collections4
</shadedPattern>
</relocation>
<relocation>
<pattern>org.intellij</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.org.intellij
<pattern>org.intellij.lang.annotations</pattern>
<shadedPattern>
${project.groupId}.${project.artifactId}.libraries.org.intellij.lang.annotations
</shadedPattern>
</relocation>
<relocation>
<pattern>org.jetbrains</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.org.jetbrains
<pattern>org.jetbrains.annotations</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.org.jetbrains.annotations
</shadedPattern>
</relocation>
<relocation>
<pattern>net.dv8tion</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.net.dv8tion
<pattern>net.dv8tion.jda</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.net.dv8tion.jda
</shadedPattern>
</relocation>
<relocation>
<pattern>net.kyori</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.net.kyori</shadedPattern>
<pattern>net.kyori.adventure</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.net.kyori.adventure
</shadedPattern>
</relocation>
<relocation>
<pattern>net.kyori.examination</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.net.kyori.examination
</shadedPattern>
</relocation>
<relocation>
<pattern>kotlin</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.kotlin</shadedPattern>
</relocation>
<relocation>
<pattern>com.fasterxml</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.fasterxml
<pattern>com.fasterxml.jackson</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.fasterxml.jackson
</shadedPattern>
</relocation>
<relocation>
<pattern>com.iwebpp</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.iwebpp</shadedPattern>
</relocation>
<relocation>
<pattern>com.neovisionaries</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.neovisionaries
<pattern>com.neovisionaries.ws.client</pattern>
<shadedPattern>
${project.groupId}.${project.artifactId}.libraries.com.neovisionaries.ws.client
</shadedPattern>
</relocation>
<relocation>
Expand Down Expand Up @@ -126,15 +132,18 @@
</relocation>
<relocation>
<pattern>com.google.crypto</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.google.crypto</shadedPattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.google.crypto
</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.errorprone</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.google.errorprone</shadedPattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.google.errorprone
</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.gson</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.google.gson</shadedPattern>
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.google.gson
</shadedPattern>
</relocation>
</relocations>
<filters>
Expand Down

0 comments on commit 18c1138

Please sign in to comment.