Skip to content
This repository was archived by the owner on Feb 5, 2024. It is now read-only.

Commit 0e982d4

Browse files
committed
Add assembly plugin
1 parent 73d6068 commit 0e982d4

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

pom.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,29 @@
1717
<target>1.8</target>
1818
</configuration>
1919
</plugin>
20+
<plugin>
21+
<artifactId>maven-assembly-plugin</artifactId>
22+
<configuration>
23+
<descriptorRefs>
24+
<descriptorRef>jar-with-dependencies</descriptorRef>
25+
</descriptorRefs>
26+
<archive>
27+
<manifest>
28+
<mainClass>control.Starter</mainClass>
29+
</manifest>
30+
</archive>
31+
<outputDirectory>target/</outputDirectory>
32+
</configuration>
33+
<executions>
34+
<execution>
35+
<id>make-my-jar-with-dependencies</id>
36+
<phase>package</phase>
37+
<goals>
38+
<goal>single</goal>
39+
</goals>
40+
</execution>
41+
</executions>
42+
</plugin>
2043
</plugins>
2144
</build>
2245

0 commit comments

Comments
 (0)