Skip to content

Commit bfa7c46

Browse files
committed
Fix Maven relocations and exclusions
1 parent 263446f commit bfa7c46

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

pom.xml

+17-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,22 @@
111111
</relocation>
112112
<relocation>
113113
<pattern>com.bugsnag</pattern>
114-
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.bugsnag</shadedPattern>
114+
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.bugsnag
115+
</shadedPattern>
116+
</relocation>
117+
<relocation>
118+
<pattern>com.google</pattern>
119+
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.com.google</shadedPattern>
120+
</relocation>
121+
<relocation>
122+
<pattern>google.protobuf</pattern>
123+
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.google.protobuf
124+
</shadedPattern>
125+
</relocation>
126+
<relocation>
127+
<pattern>javax.annotation</pattern>
128+
<shadedPattern>${project.groupId}.${project.artifactId}.libraries.javax.annotation
129+
</shadedPattern>
115130
</relocation>
116131
</relocations>
117132
<filters>
@@ -122,7 +137,7 @@
122137
<exclude>META-INF/*.DSA</exclude>
123138
<exclude>META-INF/*.RSA</exclude>
124139
<exclude>META-INF/MANIFEST.MF</exclude>
125-
<exclude>META-INF/versions/*/module-info.class</exclude>
140+
<exclude>META-INF/versions/**</exclude>
126141
<exclude>META-INF/maven/**</exclude>
127142
<exclude>META-INF/proguard/**</exclude>
128143
<exclude>**/*.kotlin_module</exclude>

0 commit comments

Comments
 (0)