summaryrefslogtreecommitdiffstats
path: root/messagebus/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'messagebus/pom.xml')
-rw-r--r--messagebus/pom.xml22
1 files changed, 15 insertions, 7 deletions
diff --git a/messagebus/pom.xml b/messagebus/pom.xml
index 7c37bccbd9a..0f44d2935ec 100644
--- a/messagebus/pom.xml
+++ b/messagebus/pom.xml
@@ -66,19 +66,27 @@
</configuration>
</plugin>
<plugin>
- <artifactId>maven-assembly-plugin</artifactId>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
<configuration>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
+ <finalName>${project.artifactId}-jar-with-dependencies</finalName>
+ <filters>
+ <filter>
+ <!-- Don't include signature files from bouncycastle in uber jar. -->
+ <artifact>*:*</artifact>
+ <excludes>
+ <exclude>META-INF/*.SF</exclude>
+ <exclude>META-INF/*.DSA</exclude>
+ <exclude>META-INF/*.RSA</exclude>
+ </excludes>
+ </filter>
+ </filters>
</configuration>
<executions>
<execution>
- <id>make-assembly</id>
<phase>package</phase>
- <!-- append to the packaging phase. -->
<goals>
- <goal>single</goal>
+ <goal>shade</goal>
</goals>
</execution>
</executions>