Skip to content

Instantly share code, notes, and snippets.

@nwertzberger
Last active August 29, 2015 14:19
Show Gist options
  • Save nwertzberger/f564cefe0d9eb88494d6 to your computer and use it in GitHub Desktop.
Save nwertzberger/f564cefe0d9eb88494d6 to your computer and use it in GitHub Desktop.
appassembler plugin configuration
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>appassembler-maven-plugin</artifactId>
<version>1.9</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>generate-daemons</goal>
</goals>
</execution>
</executions>
<configuration>
<copyConfigurationDirectory>true</copyConfigurationDirectory>
<includeConfigurationDirectoryInClasspath>true
</includeConfigurationDirectoryInClasspath>
<daemons>
<daemon>
<id>saga-decision-engine</id>
<mainClass>com.ideaheap.saga.core.SagaServer</mainClass>
<platforms>
<platform>jsw</platform>
</platforms>
<jvmSettings>
<initialMemorySize>40m</initialMemorySize>
<maxMemorySize>512m</maxMemorySize>
<maxStackSize>2m</maxStackSize>
<systemProperties>
<systemProperty>com.sun.management.jmxremote</systemProperty>
<systemProperty>java.rmi.server.hostname=192.168.59.103</systemProperty>
<systemProperty>com.sun.management.jmxremote.rmi.port=9009</systemProperty>
<systemProperty>com.sun.management.jmxremote.port=9010</systemProperty>
<systemProperty>com.sun.management.jmxremote.local.only=false</systemProperty>
<systemProperty>com.sun.management.jmxremote.authenticate=false</systemProperty>
<systemProperty>com.sun.management.jmxremote.ssl=false</systemProperty>
</systemProperties>
<extraArguments>
<extraArgument>-verbose:gc</extraArgument>
</extraArguments>
</jvmSettings>
<generatorConfigurations>
<generatorConfiguration>
<generator>jsw</generator>
<includes>
<include>linux-x86-64</include>
<include>macosx-universal-64</include>
</includes>
<configuration>
<property>
<name>configuration.directory.in.classpath.first</name>
<value>etc</value>
</property>
</configuration>
</generatorConfiguration>
</generatorConfigurations>
</daemon>
</daemons>
</configuration>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment