zip.xml revision 27b2ac15d8015fcdd3a940b10e788f408903670e
<?xml version="1.0" encoding="UTF-8"?>
<!--
The contents of this file are subject to the terms of the Common Development and
Distribution License (the License). You may not use this file except in compliance with the
License.
You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
specific language governing permission and limitations under the License.
When distributing Covered Software, include this CDDL Header Notice in each file and include
the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
Header, with the fields enclosed by brackets [] replaced by your own identifying
information: "Portions Copyrighted [year] [name of copyright owner]".
Copyright © 2011 ForgeRock AS. All rights reserved.
-->
<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>bin</id>
<baseDirectory>/</baseDirectory>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>${basedir}/src/main/resources</directory>
<outputDirectory>/openidm</outputDirectory>
<excludes>
<exclude>**/*.sh</exclude>
</excludes>
</fileSet>
<fileSet>
<directory>${basedir}/src/main/resources</directory>
<outputDirectory>/openidm</outputDirectory>
<fileMode>754</fileMode>
<includes>
<include>**/*.sh</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.build.directory}/orientstudio/orientdb-${orientdb.version}/www</directory>
<outputDirectory>/openidm/db/util/orientdb/studio</outputDirectory>
</fileSet>
<!-- Create empty logs directory -->
<fileSet>
<directory>${project.build.directory}</directory>
<excludes>
<exclude>**/*</exclude>
</excludes>
<outputDirectory>/openidm/logs</outputDirectory>
</fileSet>
</fileSets>
<dependencySets>
<dependencySet>
<useProjectArtifact>false</useProjectArtifact>
<outputDirectory>/openidm/bundle</outputDirectory>
<scope>runtime</scope>
<excludes>
<exclude>org.apache.felix:org.apache.felix.main</exclude>
<exclude>org.apache.felix:org.apache.felix.framework</exclude>
<exclude>org.apache.felix:org.osgi.foundation</exclude>
<exclude>org.apache.felix:org.apache.felix.scr.annotations</exclude>
<exclude>org.osgi:**</exclude>
<exclude>javax.persistence:persistence-api</exclude>
<exclude>javax.transaction:jta</exclude>
<exclude>org.forgerock.openicf.connectors.*:openicf-*</exclude>
<exclude>org.forgerock.openidm:openidm-config</exclude>
<exclude>org.forgerock.openidm:openidm-crypto</exclude>
<exclude>org.forgerock.openidm:openidm-jaas-loginmodule-repo</exclude>
<exclude>org.forgerock.openidm:openidm-jetty-fragment</exclude>
<exclude>org.forgerock.openidm:openidm-repo-jdbc</exclude>
<exclude>org.forgerock.openidm:openidm-repo-orientdb</exclude>
<exclude>org.forgerock.openidm:openidm-shell</exclude>
<exclude>org.forgerock.openidm:openidm-security-jetty</exclude>
<exclude>org.forgerock.openidm:openidm-quartz-fragment</exclude>
<exclude>org.forgerock.openidm:openidm-scheduler</exclude>
<exclude>org.forgerock.openidm:openidm-ui-ria:zip</exclude>
<exclude>*:*:js</exclude>
<exclude>org.apache.felix:org.apache.felix.fileinstall</exclude>
<exclude>org.apache.felix:org.apache.felix.configadmin</exclude>
<exclude>org.ops4j.pax.web:pax-web-jetty-bundle</exclude>
<exclude>org.ops4j.pax.web:pax-web-extender-whiteboard</exclude>
<exclude>org.apache.felix:org.apache.felix.gogo.shell</exclude>
<exclude>org.eclipse.osgi:org.eclipse.osgi</exclude>
</excludes>
</dependencySet>
<dependencySet>
<useProjectArtifact>false</useProjectArtifact>
<outputDirectory>/openidm/bundle/init</outputDirectory>
<includes>
<include>org.forgerock.openidm:openidm-config</include>
<include>org.forgerock.openidm:openidm-crypto</include>
<include>org.forgerock.openidm:openidm-jaas-loginmodule-repo</include>
<include>org.forgerock.openidm:openidm-jetty-fragment</include>
<include>org.forgerock.openidm:openidm-repo-jdbc</include>
<include>org.forgerock.openidm:openidm-repo-orientdb</include>
<include>org.forgerock.openidm:openidm-scheduler</include>
<include>org.forgerock.openidm:openidm-security-jetty</include>
<include>org.forgerock.openidm:openidm-quartz-fragment</include>
<include>org.apache.felix:org.apache.felix.fileinstall</include>
<include>org.apache.felix:org.apache.felix.configadmin</include>
<include>org.ops4j.pax.web:pax-web-jetty-bundle</include>
<include>org.ops4j.pax.web:pax-web-extender-whiteboard</include>
<include>org.apache.felix:org.apache.felix.gogo.shell</include>
</includes>
</dependencySet>
<!-- Include UI in distribution for use in various web servers -->
<dependencySet>
<unpack>true</unpack>
<outputDirectory>/openidm/ui</outputDirectory>
<includes>
<include>org.forgerock.openidm:openidm-ui-ria-admin</include>
</includes>
</dependencySet>
<dependencySet>
<useProjectArtifact>false</useProjectArtifact>
<outputDirectory>/openidm/connectors</outputDirectory>
<includes>
<include>org.forgerock.openicf.connectors.*:openicf-*</include>
</includes>
</dependencySet>
<dependencySet>
<unpack>false</unpack>
<outputFileNameMapping>felix.jar</outputFileNameMapping>
<includes>
<include>org.apache.felix:org.apache.felix.main</include>
</includes>
<outputDirectory>/openidm/bin</outputDirectory>
</dependencySet>
<dependencySet>
<unpack>false</unpack>
<outputFileNameMapping>openidm.jar</outputFileNameMapping>
<includes>
<include>org.forgerock.openidm:openidm-shell</include>
</includes>
<outputDirectory>/openidm/bin</outputDirectory>
</dependencySet>
</dependencySets>
</assembly>