Skip to content

Commit a48b6c4

Browse files
authored
Merge pull request #6 from rabelenda/REALOCATE_SHADED_DEPENDENCIES
Realocate shaded dependencies to avoid conflicts with other jmeter or…
2 parents 624d0c1 + 3351fa2 commit a48b6c4

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

pom.xml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
<plugin>
292292
<groupId>org.apache.maven.plugins</groupId>
293293
<artifactId>maven-shade-plugin</artifactId>
294-
<version>2.4.1</version>
294+
<version>3.2.4</version>
295295
<executions>
296296
<!-- Run shade goal on package phase -->
297297
<execution>
@@ -309,6 +309,34 @@
309309
<exclude>net.java.dev.jna:*</exclude>
310310
</excludes>
311311
</artifactSet>
312+
<relocations>
313+
<relocation>
314+
<pattern>com.</pattern>
315+
<shadedPattern>io.github.delirius325.com.</shadedPattern>
316+
<includes>
317+
<include>com.amazonaws.*</include>
318+
<include>com.fasterxml.*</include>
319+
<include>com.google.*</include>
320+
</includes>
321+
</relocation>
322+
<relocation>
323+
<pattern>org.</pattern>
324+
<shadedPattern>io.github.delirius325.org.</shadedPattern>
325+
<includes>
326+
<include>org.elasticsearch.*</include>
327+
<include>org.joda.*</include>
328+
<include>org.json.*</include>
329+
</includes>
330+
</relocation>
331+
<relocation>
332+
<pattern>software.</pattern>
333+
<shadedPattern>io.github.delirius325.software.</shadedPattern>
334+
</relocation>
335+
<relocation>
336+
<pattern>vc.</pattern>
337+
<shadedPattern>io.github.delirius325.vc.</shadedPattern>
338+
</relocation>
339+
</relocations>
312340
</configuration>
313341
</execution>
314342
</executions>

0 commit comments

Comments
 (0)