Created
August 29, 2017 09:49
-
-
Save drmalex07/0cca8360b9e68d363ab1e0d7d3c255d5 to your computer and use it in GitHub Desktop.
Example configuration for maven appassembler plugin. #maven #maven-appassembler
This file contains hidden or 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
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>appassembler-maven-plugin</artifactId> | |
<version>1.10</version> | |
<executions> | |
<execution> | |
<id>assemble-script</id> | |
<phase>package</phase> | |
<goals><goal>assemble</goal></goals> | |
<configuration> | |
<!--<assembleDirectory>${project.build.directory}/appassembler</assembleDirectory>--> | |
<assembleDirectory>${project.build.directory}/</assembleDirectory> | |
<binFileExtensions> | |
<unix>.sh</unix> | |
</binFileExtensions> | |
<platforms> | |
<platform>unix</platform> | |
</platforms> | |
<programs> | |
<program> | |
<mainClass>helloworld.Application</mainClass> | |
<id>hello</id> | |
</program> | |
</programs> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment