Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Hippo maven assembly descriptor for Docker
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>distribution</id>
<formats>
<format>tar.gz</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<files>
<file>
<source>cms/target/cms.war</source>
<outputDirectory>/webapps</outputDirectory>
<destName>cms.war</destName>
</file>
<file>
<source>site/target/site.war</source>
<outputDirectory>/webapps</outputDirectory>
<destName>site.war</destName>
</file>
<file>
<source>conf/log4j-prod.xml</source>
<outputDirectory>/conf</outputDirectory>
<destName>log4j.xml</destName>
</file>
<file>
<source>conf/log4j.dtd</source>
<outputDirectory>/conf</outputDirectory>
<destName>log4j.dtd</destName>
</file>
<file>
<source>conf/docker-context.xml</source>
<outputDirectory>/conf</outputDirectory>
<destName>context.xml</destName>
</file>
<file>
<source>conf/catalina.policy</source>
<outputDirectory>/conf</outputDirectory>
<destName>catalina.policy</destName>
</file>
<file>
<source>conf/catalina.properties</source>
<outputDirectory>/conf</outputDirectory>
<destName>catalina.properties</destName>
</file>
<file>
<source>conf/repository.xml</source>
<outputDirectory>/conf</outputDirectory>
<destName>repository.xml</destName>
</file>
</files>
<dependencySets>
<dependencySet>
<useProjectArtifact>false</useProjectArtifact>
<outputDirectory>/endorsed</outputDirectory>
<scope>provided</scope>
<includes>
<include>javax.jcr:jcr</include>
<include>org.apache.geronimo.specs:geronimo-jta_1.1_spec</include>
<include>javax.mail:mail</include>
<include>mysql:mysql-connector-java</include>
</includes>
</dependencySet>
<dependencySet>
<useProjectArtifact>false</useProjectArtifact>
<outputDirectory>/shared/lib</outputDirectory>
<scope>provided</scope>
<includes>
<include>org.onehippo.cms7:hippo-cms7-commons</include>
<include>org.onehippo.cms7:hippo-services</include>
<include>org.onehippo.cms7:hippo-repository-api</include>
<include>org.onehippo.cms7:hippo-repository-builtin</include>
<include>org.slf4j:slf4j-api</include>
<include>org.slf4j:jcl-over-slf4j</include>
<include>org.slf4j:slf4j-log4j12</include>
<include>log4j:log4j</include>
</includes>
</dependencySet>
</dependencySets>
</assembly>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.