Skip to content
Snippets Groups Projects
Commit e86653bf authored by Chrissi's avatar Chrissi
Browse files

add plugin to create fat jar

parent df1e72ad
Branches
No related tags found
No related merge requests found
......@@ -89,6 +89,28 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<!--<archive>
<manifest>
<mainClass>{your.package.main.class}</mainClass>
</manifest>
</archive>-->
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment