2013-09-25 12:30:43 +02:00
|
|
|
<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>
|
2013-10-07 15:40:29 +02:00
|
|
|
<include>clean-app-state</include>
|
|
|
|
<include>clean-container-state</include>
|
2014-03-27 08:09:14 +01:00
|
|
|
<include>load-env</include>
|
2013-09-25 12:30:43 +02:00
|
|
|
</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>libs</directory>
|
|
|
|
<outputDirectory>libs</outputDirectory>
|
|
|
|
<useDefaultExcludes>true</useDefaultExcludes>
|
|
|
|
<fileMode>755</fileMode>
|
|
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
|
|
<directory>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>
|