Created
December 21, 2017 01:47
-
-
Save JonathanLalou/7f3dcb44a69b0b3a6769f1a7c4827b27 to your computer and use it in GitHub Desktop.
Maven-Assembly descriptor to generate a thin (regular) JAR in addition to SpringBoot's fat jar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd"> | |
<id>thin</id> | |
<formats> | |
<format>jar</format> | |
</formats> | |
<includeBaseDirectory>false</includeBaseDirectory> | |
<fileSets> | |
<fileSet> | |
<directory>${project.build.directory}/classes</directory> | |
<outputDirectory>/</outputDirectory> | |
<includes> | |
<include>**/*.class</include> | |
</includes> | |
</fileSet> | |
</fileSets> | |
</assembly> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment