Browse Source

Added maven-jar-plugin for building executable jar files

feature-cli
Nick Stolbov 3 years ago
parent
commit
bbfc7210af
  1. 14
      pom.xml

14
pom.xml

@ -49,6 +49,20 @@
<!-- JUnit 5 requires Surefire version 2.22.0 or higher -->
<version>2.22.2</version>
</plugin>
<plugin>
<!-- Building an executable jar -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<archive>
<manifest>
<!-- give full qualified name of your main class-->
<mainClass>Main</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
Loading…
Cancel
Save