Skip to content
This repository was archived by the owner on Dec 23, 2017. It is now read-only.

Commit af4773f

Browse files
author
Jochen Schalanda
committed
Properly relocate shaded dependencies
1 parent ef2d582 commit af4773f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
<groupId>org.mockito</groupId>
109109
<artifactId>mockito-core</artifactId>
110110
<version>1.10.19</version>
111+
<scope>test</scope>
111112
</dependency>
112113
<dependency>
113114
<groupId>com.squareup.okhttp</groupId>
@@ -136,6 +137,24 @@
136137
<transformers>
137138
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
138139
</transformers>
140+
<filters>
141+
<filter>
142+
<artifact>org.graylog.repackaged:os-platform-finder</artifact>
143+
<excludes>
144+
<exclude>org/jsoftbiz/App.class</exclude>
145+
</excludes>
146+
</filter>
147+
</filters>
148+
<relocations>
149+
<relocation>
150+
<pattern>com.fasterxml.jackson</pattern>
151+
<shadedPattern>org.graylog.plugins.usagestatistics.shaded.jackson</shadedPattern>
152+
</relocation>
153+
<relocation>
154+
<pattern>org.jsoftbiz.utils.OS</pattern>
155+
<shadedPattern>org.graylog.plugins.usagestatistics.shaded.OS</shadedPattern>
156+
</relocation>
157+
</relocations>
139158
</configuration>
140159
</execution>
141160
</executions>

0 commit comments

Comments
 (0)