Forked from drmalex07/maven-appassembler-program-example.xml
Created
February 16, 2018 17:37
-
-
Save canwe/b8c668ff9e9b85b39273bb0c37908fef 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