smartgears-distribution-legacy/distro/standalone.xml

55 lines
1.7 KiB
XML

<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
<id>distro</id>
<formats>
<format>tar.gz</format>
</formats>
<baseDirectory>${artifact.artifactId}-${project.version}</baseDirectory>
<fileSets>
<fileSet>
<outputDirectory>scripts</outputDirectory>
<directory>${distroDirectory}/contents/scripts</directory>
<useDefaultExcludes>true</useDefaultExcludes>
<includes>
<include>download</include>
<include>clean-app-state</include>
<include>clean-container-state</include>
<include>load-env</include>
</includes>
<fileMode>755</fileMode>
<filtered>true</filtered>
</fileSet>
<fileSet>
<directory>${distroDirectory}/contents</directory>
<outputDirectory>/</outputDirectory>
<useDefaultExcludes>true</useDefaultExcludes>
<includes>
<include>install</include>
<include>logback.xml</include>
</includes>
<fileMode>755</fileMode>
<filtered>true</filtered>
</fileSet>
<fileSet>
<directory>target/libs</directory>
<outputDirectory>libs</outputDirectory>
<useDefaultExcludes>true</useDefaultExcludes>
<fileMode>755</fileMode>
</fileSet>
<fileSet>
<directory>target/war</directory>
<outputDirectory>apps</outputDirectory>
<useDefaultExcludes>true</useDefaultExcludes>
<fileMode>755</fileMode>
</fileSet>
</fileSets>
<files>
<file>
<source>${distroDirectory}/contents/samplecontainer.xml</source>
<destName>container.xml</destName>
<filtered>true</filtered>
</file>
</files>
</assembly>