Skip to content

Commit a7564f5

Browse files
committed
Excluding osgi jars from fat jar
Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
1 parent b01105d commit a7564f5

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

  • org.eclipse.paho.mqttv5.client

org.eclipse.paho.mqttv5.client/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,19 @@
9494
<goal>shade</goal>
9595
</goals>
9696
<configuration>
97+
<filters>
98+
<filter>
99+
<artifact>org.eclipse.paho:org.eclipse.paho.mqttv5.common</artifact>
100+
<includes>
101+
<include>**</include>
102+
</includes>
103+
</filter>
104+
</filters>
105+
<artifactSet>
106+
<excludes>
107+
<exclude>org.osgi:*</exclude>
108+
</excludes>
109+
</artifactSet>
97110
<transformers>
98111
<transformer
99112
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">

0 commit comments

Comments
 (0)