Skip to content

Commit

Permalink
maven-assembly-plugin + maven-jar-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
homebeaver committed Nov 12, 2020
1 parent 9bbc8e6 commit e52372d
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,27 @@
<target>1.8</target>
</configuration>
</plugin>
<plugin>

<!-- Make this jar executable -->
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<!-- DO NOT include log4j.properties file in your Jar -->
<excludes>
<exclude>**/log4j.properties</exclude>
</excludes>
<archive>
<!-- Jar file entry point -->
<manifest>
<mainClass>com.klst.iban.Demo</mainClass>
</manifest>
</archive>
</configuration>
</plugin>

<!-- Make fat executable jar with-dependencies -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
Expand Down

0 comments on commit e52372d

Please sign in to comment.