zip.xml revision 5b8783d7aea8bc4ea3e53a7b7367e4810c139b5c
<?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.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>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>
</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>com.orientechnologies:**</exclude>
<exclude>javax.persistence:persistence-api</exclude>
<exclude>javax.transaction:jta</exclude>
<exclude>org.forgerock.openicf.connectors.file:openicf-xml-connector:*</exclude>
<exclude>org.forgerock.openicf.connectors.ldap:openicf-ldap-connector:*</exclude>
<exclude>org.forgerock.openidm:openidm-config</exclude>
<exclude>org.forgerock.openidm:openidm-crypto</exclude>
<exclude>org.forgerock.openidm:openidm-repo-jdbc</exclude>
<exclude>org.forgerock.openidm:openidm-repo-orientdb</exclude>
<exclude>org.apache.felix:org.apache.felix.fileinstall</exclude>
<exclude>org.apache.felix:org.apache.felix.configadmin</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-repo-jdbc</include>
<include>org.forgerock.openidm:openidm-repo-orientdb</include>
<include>org.apache.felix:org.apache.felix.fileinstall</include>
<include>org.apache.felix:org.apache.felix.configadmin</include>
</includes>
</dependencySet>
<dependencySet>
<useProjectArtifact>false</useProjectArtifact>
<outputDirectory>/openidm/connectors</outputDirectory>
<includes>
<include>org.forgerock.openicf.connectors.file:openicf-xml-connector:*</include>
<include>org.forgerock.openicf.connectors.ldap:openicf-ldap-connector:*</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>
</dependencySets>
</assembly>