pom.xml revision 0389b442e8bd8d112b977faae238cc8bb66201e2
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
~
~ Copyright (c) 2011-2013 ForgeRock AS. All Rights Reserved
~
~ 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
~ http://forgerock.org/license/CDDLv1.0.html
~ See the License for the specific language governing
~ permission and limitations under the License.
~
~ When distributing Covered Code, include this CDDL
~ Header Notice in each file and include the License file
~ at http://forgerock.org/license/CDDLv1.0.html
~ 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]"
-->
<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>3.1.0-RC3-SNAPSHOT</version>
</parent>
<artifactId>openidm-zip</artifactId>
<name>OpenIDM ZIP file assembly</name>
<packaging>pom</packaging>
<repositories>
<repository>
<id>forgerock-staging-repository</id>
<name>ForgeRock Release Repository</name>
<url>http://maven.forgerock.org/repo/releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>forgerock-snapshots-repository</id>
<name>ForgeRock Snapshot Repository</name>
<url>http://maven.forgerock.org/repo/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<properties>
<!-- If we release this project, we need to include the Forgerock binary license -->
<include.binary.license>${project.build.directory}</include.binary.license>
<!-- The SaaS connectors samples must be excluded from the community build -->
<exclude.google.samples>samples/google-connector/**</exclude.google.samples>
<exclude.salesforce.samples>samples/salesforce-connector/**</exclude.salesforce.samples>
</properties>
<dependencies>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-audit</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-config</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-shell</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-external-rest</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-external-email</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-jetty-fragment</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-policy</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-provisioner-openicf</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-repo-orientdb</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-repo-jdbc</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-script</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-api-servlet</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-servlet</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-authnfilter</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-servlet-registrator</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-scheduler</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-infoservice</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-customendpoint</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-security-jetty</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-security</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-ui-enduser</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-ui-admin</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-smartevent</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-workflow-activiti</artifactId>
<version>${project.version}</version>
</dependency>
<!--dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-workflow-remote</artifactId>
<version>${project.version}</version>
<type>war</type>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-workflow-activiti</artifactId>
<version>${project.version}</version>
<classifier>jar-with-dependencies</classifier>
</dependency-->
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-cluster</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-httpclient-fragment</artifactId>
<version>${project.version}</version>
</dependency>
<!-- Core OSGi -->
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework</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>
<!-- Apache Felix Web Console -->
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.webconsole</artifactId>
</dependency>
<dependency>
<groupId>org.apache.geronimo.bundles</groupId>
<artifactId>json</artifactId>
<version>20090211_1</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.webconsole.plugins.ds</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.webconsole.plugins.event</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.webconsole.plugins.memoryusage</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.webconsole.plugins.obr</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.webconsole.plugins.packageadmin</artifactId>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</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.eventadmin</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.metatype</artifactId>
<version>1.0.6</version>
<exclusions>
<exclusion>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.core</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.compendium</artifactId>
</exclusion>
<exclusion>
<groupId>net.sf.kxml</groupId>
<artifactId>kxml2</artifactId>
</exclusion>
</exclusions>
</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>
<!-- Declarative Services support -->
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr</artifactId>
</dependency>
<!-- Pax Dependencies -->
<dependency>
<groupId>org.ops4j.base</groupId>
<artifactId>ops4j-base-lang</artifactId>
<version>1.4.0</version>
</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>
-->
<!-- Http components bundelized http client -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient-osgi</artifactId>
<exclusions>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
</exclusion>
<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>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>fluent-hc</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore-osgi</artifactId>
<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.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- Eclipse JSDT -->
<dependency>
<groupId>org.eclipse.wst.jsdt.debug</groupId>
<artifactId>rhino.debugger</artifactId>
<version>1.0.300.v201109150503</version>
</dependency>
<dependency>
<groupId>org.eclipse.wst.jsdt.debug</groupId>
<artifactId>transport</artifactId>
<version>1.0.100.v201109150330</version>
</dependency>
<!-- ForgeRock commons -->
<dependency>
<groupId>org.forgerock.commons</groupId>
<artifactId>launcher-zip</artifactId>
<version>1.1.0</version>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.forgerock.commons</groupId>
<artifactId>script-javascript</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.commons</groupId>
<artifactId>script-groovy</artifactId>
</dependency>
<!-- OpenICF -->
<dependency>
<groupId>org.forgerock.openicf.framework</groupId>
<artifactId>connector-framework</artifactId>
<version>${openicf.framework.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openicf.framework</groupId>
<artifactId>icfl-over-slf4j</artifactId>
<version>${openicf.framework.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
</dependency>
<!-- OpenICF Connectors -->
<dependency>
<groupId>org.forgerock.openicf.connectors</groupId>
<artifactId>xml-connector</artifactId>
<version>${openicf.xmlconnector.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openicf.connectors</groupId>
<artifactId>csvfile-connector</artifactId>
<version>${openicf.csvconnector.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openicf.connectors</groupId>
<artifactId>ldap-connector</artifactId>
<version>${openicf.ldapconnector.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openicf.connectors</groupId>
<artifactId>databasetable-connector</artifactId>
<version>${openicf.dbtableconnector.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openicf.connectors</groupId>
<artifactId>groovy-connector</artifactId>
<version>${openicf.groovyconnector.version}</version>
</dependency>
<!-- tomcat-jdbc and juli needed for scriptedsql 1.4 -->
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-jdbc</artifactId>
<version>8.0.12</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.ext.tomcat</groupId>
<artifactId>juli</artifactId>
<version>7.0.39.2</version>
</dependency>
<!-- google connector dependencies -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>18.0</version>
</dependency>
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-licensing</artifactId>
<version>v1-rev34-1.19.0</version>
</dependency>
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-admin-directory</artifactId>
<version>directory_v1-rev41-1.19.0</version>
</dependency>
<dependency>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client</artifactId>
<version>1.19.0</version>
</dependency>
<dependency>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-java6</artifactId>
<version>1.19.0</version>
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client</artifactId>
<version>1.19.0</version>
</dependency>
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client</artifactId>
<version>1.19.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-jackson2</artifactId>
<version>1.19.0</version>
</dependency>
<!-- Restlet -->
<dependency>
<groupId>org.restlet.osgi</groupId>
<artifactId>org.restlet.ext.jackson</artifactId>
<version>2.1.2</version>
</dependency>
<!-- jdbc drivers -->
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql-fr-osgi</artifactId>
<version>9.3-1101-jdbc41</version>
</dependency>
<!-- Javascript libraries -->
<dependency>
<groupId>org.forgerock.commons.ui.libs</groupId>
<artifactId>lodash</artifactId>
<version>2.4.1</version>
<classifier>min</classifier>
<type>js</type>
</dependency>
<dependency>
<groupId>org.forgerock.commons.ui.libs</groupId>
<artifactId>handlebars</artifactId>
<version>1.3.0</version>
<type>js</type>
</dependency>
<!-- Scripted REST Groovy dependencies -->
<dependency>
<groupId>org.apache.ivy</groupId>
<artifactId>ivy</artifactId>
<version>2.4.0-rc1</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy.modules.http-builder</groupId>
<artifactId>http-builder</artifactId>
<version>0.7.1</version>
<exclusions>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpasyncclient-osgi</artifactId>
<version>4.0.2</version>
<exclusions>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpasyncclient</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore-nio</artifactId>
<version>4.3.2</version>
</dependency>
<!-- scriptedazure sample Groovy dependencies -->
<dependency>
<groupId>org.apache.olingo</groupId>
<artifactId>odata-client-core</artifactId>
<version>4.0.0-beta-01</version>
</dependency>
<dependency>
<groupId>com.fasterxml</groupId>
<artifactId>aalto-xml</artifactId>
<version>0.9.9</version>
</dependency>
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>stax2-api</artifactId>
<version>3.1.4</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<version>${fasterxml.jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-jaxb-annotations</artifactId>
<version>${fasterxml.jackson.version}</version>
</dependency>
</dependencies>
<build>
<finalName>openidm-${project.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-community</artifactId>
<version>${orientdb.studio.version}</version>
<type>zip</type>
<classifier>distribution</classifier>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}/</outputDirectory>
<includes>**/www/**,**/plugins/studio-*.zip</includes>
</artifactItem>
</artifactItems>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>unpack-studio-ui</id>
<phase>package</phase>
<configuration>
<tasks>
<unzip dest="${project.build.directory}/orientdb-community-${orientdb.studio.version}">
<fileset dir="${project.build.directory}/orientdb-community-${orientdb.studio.version}\plugins">
<include name="studio-**.zip" />
</fileset>
</unzip>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<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>
<!--plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jslint-maven-plugin</artifactId>
<configuration>
<assumeRhino>true</assumeRhino>
<predefinedVars>request,openidm,identityServer,java,logger</predefinedVars>
<sourceJsFolder>src/main/resources</sourceJsFolder>
<tolerateEval>true</tolerateEval>
<excludes>
<exclude>**/libs/*.js</exclude>
</excludes>
</configuration>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>jslint</goal>
</goals>
</execution>
</executions>
</plugin-->
</plugins>
</build>
<profiles>
<profile>
<id>production-build</id>
<activation>
<property>
<name>!experimental</name>
</property>
</activation>
<properties>
<openidm.options>
-Xmx1024m -Xms1024m
</openidm.options>
</properties>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>${slf4j.version}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>experimental-build</id>
<activation>
<property>
<name>experimental</name>
</property>
</activation>
<properties>
<openidm.options>
-Xmx1024m -Xms1024m -Dlogback.configurationFile=conf/logging-config.groovy
</openidm.options>
</properties>
<dependencies>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>compile</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>commercial-build</id>
<dependencies>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-salesforce</artifactId>
<version>${provisioner.salesforcemodule.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openicf.connectors</groupId>
<artifactId>googleapps-connector</artifactId>
<version>${openicf.googleconnector.version}</version>
</dependency>
</dependencies>
<properties>
<!-- We reset these 2 properties to include the SaaS connectors samples in the commercial build -->
<exclude.google.samples></exclude.google.samples>
<exclude.salesforce.samples></exclude.salesforce.samples>
<!-- Properties to include the SaaS connectors in the commercial build -->
<google.provisioner>provisioner.openicf-google.json</google.provisioner>
<salesforce.provisioner>provisioner.salesforce-salesforce.json</salesforce.provisioner>
<saas.connectors.conf>conf/**</saas.connectors.conf>
<saas.connectors.script>script/**</saas.connectors.script>
</properties>
</profile>
</profiles>
</project>