Skip to content

Commit 18c1138

Browse files
committed
Improve Maven relocations
1 parent bc25ca2 commit 18c1138

File tree

1 file changed

+30
-21
lines changed

1 file changed

+30
-21
lines changed

pom.xml

+30-21
Original file line numberDiff line numberDiff line change
@@ -57,44 +57,50 @@
5757
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.org.bstats</shadedPattern>
5858
</relocation>
5959
<relocation>
60-
<pattern>org.apache</pattern>
61-
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.org.apache</shadedPattern>
60+
<pattern>org.apache.commons.collections4</pattern>
61+
<shadedPattern>
62+
${project.groupId}.${project.artifactId}.libraries.org.apache.commons.collections4
63+
</shadedPattern>
6264
</relocation>
6365
<relocation>
64-
<pattern>org.intellij</pattern>
65-
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.org.intellij
66+
<pattern>org.intellij.lang.annotations</pattern>
67+
<shadedPattern>
68+
${project.groupId}.${project.artifactId}.libraries.org.intellij.lang.annotations
6669
</shadedPattern>
6770
</relocation>
6871
<relocation>
69-
<pattern>org.jetbrains</pattern>
70-
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.org.jetbrains
72+
<pattern>org.jetbrains.annotations</pattern>
73+
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.org.jetbrains.annotations
7174
</shadedPattern>
7275
</relocation>
7376
<relocation>
74-
<pattern>net.dv8tion</pattern>
75-
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.net.dv8tion
77+
<pattern>net.dv8tion.jda</pattern>
78+
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.net.dv8tion.jda
7679
</shadedPattern>
7780
</relocation>
7881
<relocation>
79-
<pattern>net.kyori</pattern>
80-
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.net.kyori</shadedPattern>
82+
<pattern>net.kyori.adventure</pattern>
83+
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.net.kyori.adventure
84+
</shadedPattern>
85+
</relocation>
86+
<relocation>
87+
<pattern>net.kyori.examination</pattern>
88+
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.net.kyori.examination
89+
</shadedPattern>
8190
</relocation>
8291
<relocation>
8392
<pattern>kotlin</pattern>
8493
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.kotlin</shadedPattern>
8594
</relocation>
8695
<relocation>
87-
<pattern>com.fasterxml</pattern>
88-
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.fasterxml
96+
<pattern>com.fasterxml.jackson</pattern>
97+
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.fasterxml.jackson
8998
</shadedPattern>
9099
</relocation>
91100
<relocation>
92-
<pattern>com.iwebpp</pattern>
93-
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.iwebpp</shadedPattern>
94-
</relocation>
95-
<relocation>
96-
<pattern>com.neovisionaries</pattern>
97-
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.neovisionaries
101+
<pattern>com.neovisionaries.ws.client</pattern>
102+
<shadedPattern>
103+
${project.groupId}.${project.artifactId}.libraries.com.neovisionaries.ws.client
98104
</shadedPattern>
99105
</relocation>
100106
<relocation>
@@ -126,15 +132,18 @@
126132
</relocation>
127133
<relocation>
128134
<pattern>com.google.crypto</pattern>
129-
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.google.crypto</shadedPattern>
135+
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.google.crypto
136+
</shadedPattern>
130137
</relocation>
131138
<relocation>
132139
<pattern>com.google.errorprone</pattern>
133-
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.google.errorprone</shadedPattern>
140+
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.google.errorprone
141+
</shadedPattern>
134142
</relocation>
135143
<relocation>
136144
<pattern>com.google.gson</pattern>
137-
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.google.gson</shadedPattern>
145+
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.google.gson
146+
</shadedPattern>
138147
</relocation>
139148
</relocations>
140149
<filters>

0 commit comments

Comments
 (0)