Skip to content

Commit 9b6f354

Browse files
author
jython234
committed
Copy dependencies into JAR when packaging.
1 parent a2ec754 commit 9b6f354

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,20 @@
2626
<target>1.8</target>
2727
</configuration>
2828
</plugin>
29+
<plugin>
30+
<groupId>org.apache.maven.plugins</groupId>
31+
<artifactId>maven-shade-plugin</artifactId>
32+
<version>2.3</version>
33+
<executions>
34+
<!-- Run shade goal on package phase -->
35+
<execution>
36+
<phase>package</phase>
37+
<goals>
38+
<goal>shade</goal>
39+
</goals>
40+
</execution>
41+
</executions>
42+
</plugin>
2943
</plugins>
3044
</build>
3145

0 commit comments

Comments
 (0)