pom.xml revision 55bb82d605d054ef979dfd6c70325ad5f9936ad3
<?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.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-project</artifactId>
<version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>openidm-zip</artifactId>
<name>OpenIDM ZIP file assembly</name>
<packaging>pom</packaging>
<dependencies>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-audit</artifactId>
<version>${openidm.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-config</artifactId>
<version>${openidm.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-core</artifactId>
<version>${openidm.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-crypto</artifactId>
<version>${openidm.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-external-rest</artifactId>
<version>${openidm.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-external-email</artifactId>
<version>${openidm.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-httpcontext</artifactId>
<version>${openidm.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-jaas-loginmodule-repo</artifactId>
<version>${openidm.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-jetty-fragment</artifactId>
<version>${openidm.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-provisioner</artifactId>
<version>${openidm.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-provisioner-openicf</artifactId>
<version>${openidm.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-repo-orientdb</artifactId>
<version>${openidm.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-repo-jdbc</artifactId>
<version>${openidm.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-restlet</artifactId>
<version>${openidm.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-scheduler</artifactId>
<version>${openidm.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-security-jetty</artifactId>
<version>${openidm.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-ui</artifactId>
<version>${openidm.version}</version>
</dependency>
<!-- Core OSGi -->
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.main</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.shell</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.shell.tui</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.webconsole</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.configadmin</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.log</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.fileinstall</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.compendium</artifactId>
</dependency>
<!-- Declarative Services support -->
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr</artifactId>
</dependency>
<!-- Jetty-based web container and whiteboard -->
<dependency>
<groupId>org.ops4j.pax.web</groupId>
<artifactId>pax-web-jetty-bundle</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>org.ops4j.pax.web</groupId>
<artifactId>pax-web-extender-whiteboard</artifactId>
<version>1.1.1</version>
<exclusions>
<exclusion>
<artifactId>servlet-api</artifactId>
<groupId>javax.servlet</groupId>
</exclusion>
</exclusions>
</dependency>
<!--
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.http.jetty</artifactId>
<version>2.0.4</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.http.whiteboard</artifactId>
<version>2.0.4</version>
</dependency>
-->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<!-- Quartz based scheduler OSGi bundle.
This version wraps the original jar which is not a bundle -->
<dependency>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.quartz</artifactId>
</dependency>
<!-- Http components bundelized http client -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient-osgi</artifactId>
<version>4.1.2</version>
<exclusions>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient-cache</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore-osgi</artifactId>
<version>4.1.2</version>
<exclusions>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore-nio</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Commons logging used by http client -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>com.springsource.org.apache.commons.logging</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>com.springsource.slf4j.org.apache.commons.logging</artifactId>
<version>1.6.1</version>
</dependency>
<!-- OpenICF -->
<dependency>
<groupId>org.forgerock.openicf.framework</groupId>
<artifactId>icfl-over-slf4j</artifactId>
<version>1.1.0.0-EA</version>
</dependency>
<dependency>
<groupId>org.forgerock.openicf.framework</groupId>
<artifactId>connector-framework-osgi</artifactId>
<version>1.1.0.0-EA</version>
</dependency>
<!-- OpenICF Connectors -->
<dependency>
<groupId>org.forgerock.openicf.connectors.file</groupId>
<artifactId>openicf-xml-connector</artifactId>
<version>1.1.0.0-EA</version>
</dependency>
<dependency>
<groupId>org.forgerock.openicf.connectors.file</groupId>
<artifactId>openicf-csvfile-connector</artifactId>
<version>1.1.0.0-EA</version>
</dependency>
<dependency>
<groupId>org.forgerock.openicf.connectors.ldap</groupId>
<artifactId>openicf-ldap-connector</artifactId>
<version>1.1.0.0-EA</version>
</dependency>
<dependency>
<groupId>org.forgerock.openicf.connectors.db</groupId>
<artifactId>openicf-scriptedsql-connector</artifactId>
<version>1.1.0.0-EA</version>
</dependency>
</dependencies>
<build>
<finalName>openidm-${openidm.version}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-orientdb-studio</id>
<goals>
<goal>unpack</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.orientechnologies</groupId>
<artifactId>orientdb</artifactId>
<version>${orientdb.version}</version>
<type>zip</type>
<classifier>distribution</classifier>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}/orientstudio/</outputDirectory>
<includes>**/www/**</includes>
</artifactItem>
</artifactItems>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/assembly/zip.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>zip-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>jdk-logger</id>
<activation>
<property>
<name>!logger</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>1.6.2</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>log4j-logger</id>
<activation>
<property>
<name>logger</name>
<value>log4j</value>
</property>
</activation>
<repositories>
<repository>
<id>com.springsource.repository.bundles.release</id>
<name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name>
<url>http://repository.springsource.com/maven/bundles/release</url>
</repository>
<repository>
<id>com.springsource.repository.bundles.external</id>
<name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>
<url>http://repository.springsource.com/maven/bundles/external</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- https://issues.apache.org/bugzilla/show_bug.cgi?id=50800 -->
<dependency>
<groupId>org.apache.log4j</groupId>
<artifactId>com.springsource.org.apache.log4j</artifactId>
<version>1.2.16</version>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>com.springsource.javax.mail</artifactId>
<version>1.4.1</version>
</dependency>
<!-- JCL Support -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>pax-logger</id>
<activation>
<property>
<name>logger</name>
<value>pax</value>
</property>
</activation>
<repositories>
<repository>
<id>com.springsource.repository.bundles.release</id>
<name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name>
<url>http://repository.springsource.com/maven/bundles/release</url>
</repository>
<repository>
<id>com.springsource.repository.bundles.external</id>
<name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>
<url>http://repository.springsource.com/maven/bundles/external</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.ops4j.pax.logging</groupId>
<artifactId>pax-logging-api</artifactId>
<version>1.6.2</version>
</dependency>
<dependency>
<groupId>org.ops4j.pax.logging</groupId>
<artifactId>pax-logging-service</artifactId>
<version>1.6.2</version>
</dependency>
<dependency>
<groupId>org.apache.log4j</groupId>
<artifactId>com.springsource.org.apache.log4j</artifactId>
<version>1.2.16</version>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>com.springsource.javax.mail</artifactId>
<version>1.4.1</version>
</dependency>
</dependencies>
</profile>
</profiles>
</project>