pom.xml revision 4cac51189fac48e38f7674c5e412d25335ce2ded
<?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
~ 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
~ 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>
<artifactId>openidm-project</artifactId>
<version>3.2.0-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>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>forgerock-snapshots-repository</id>
<name>ForgeRock Snapshot Repository</name>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<properties>
<!-- If we release this project, we need to include the Forgerock binary license -->
<!-- The SaaS connectors samples must be excluded from the community build -->
<exclude.google.provisioner>samples/provisioners/provisioner.openicf-google.json</exclude.google.provisioner>
<exclude.salesforce.provisioner>samples/provisioners/provisioner.salesforce-salesforce.json</exclude.salesforce.provisioner>
</properties>
<dependencies>
<dependency>
<artifactId>openidm-audit</artifactId>
</dependency>
<dependency>
<artifactId>openidm-config</artifactId>
</dependency>
<dependency>
<artifactId>openidm-core</artifactId>
</dependency>
<dependency>
<artifactId>openidm-shell</artifactId>
</dependency>
<dependency>
<artifactId>openidm-external-rest</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<artifactId>openidm-external-email</artifactId>
</dependency>
<dependency>
<artifactId>openidm-jetty-fragment</artifactId>
</dependency>
<dependency>
<artifactId>openidm-policy</artifactId>
</dependency>
<dependency>
<artifactId>openidm-provisioner-openicf</artifactId>
</dependency>
<dependency>
<artifactId>openidm-repo-orientdb</artifactId>
</dependency>
<dependency>
<artifactId>openidm-repo-jdbc</artifactId>
</dependency>
<dependency>
<artifactId>openidm-script</artifactId>
</dependency>
<dependency>
<artifactId>openidm-api-servlet</artifactId>
</dependency>
<dependency>
<artifactId>openidm-servlet</artifactId>
</dependency>
<dependency>
<artifactId>openidm-authnfilter</artifactId>
</dependency>
<dependency>
<artifactId>openidm-servlet-registrator</artifactId>
</dependency>
<dependency>
<artifactId>openidm-scheduler</artifactId>
</dependency>
<dependency>
<artifactId>openidm-infoservice</artifactId>
</dependency>
<dependency>
<artifactId>openidm-customendpoint</artifactId>
</dependency>
<dependency>
<artifactId>openidm-security-jetty</artifactId>
</dependency>
<dependency>
<artifactId>openidm-security</artifactId>
</dependency>
<dependency>
<artifactId>openidm-ui-enduser</artifactId>
</dependency>
<dependency>
<artifactId>openidm-ui-admin</artifactId>
</dependency>
<dependency>
<artifactId>openidm-smartevent</artifactId>
</dependency>
<dependency>
<artifactId>openidm-workflow-activiti</artifactId>
</dependency>
<dependency>
<artifactId>openidm-maintenance</artifactId>
</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>
<artifactId>openidm-cluster</artifactId>
</dependency>
<dependency>
<artifactId>openidm-httpclient-fragment</artifactId>
</dependency>
<dependency>
<artifactId>custom-scripted-connector-bundler</artifactId>
</dependency>
<!-- Core OSGi -->
<dependency>
</dependency>
<dependency>
</dependency>
<dependency>
</dependency>
<dependency>
</dependency>
<!-- Apache Felix Web Console -->
<dependency>
</dependency>
<dependency>
<artifactId>json</artifactId>
<version>20090211_1</version>
</dependency>
<dependency>
<version>1.0.0</version>
</dependency>
<dependency>
</dependency>
<dependency>
</dependency>
<dependency>
</dependency>
<dependency>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
</dependency>
<dependency>
<version>1.3.2</version>
</dependency>
<dependency>
<version>1.0.6</version>
<exclusions>
<exclusion>
</exclusion>
<exclusion>
</exclusion>
<exclusion>
<artifactId>kxml2</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
</dependency>
<dependency>
</dependency>
<!-- Declarative Services support -->
<dependency>
</dependency>
<!-- Pax Dependencies -->
<dependency>
<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>
<artifactId>httpclient-osgi</artifactId>
<exclusions>
<exclusion>
<artifactId>httpcore</artifactId>
</exclusion>
<exclusion>
<artifactId>httpclient</artifactId>
</exclusion>
<exclusion>
<artifactId>httpmime</artifactId>
</exclusion>
<exclusion>
<artifactId>httpclient-cache</artifactId>
</exclusion>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
<exclusion>
<artifactId>fluent-hc</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<artifactId>httpcore-osgi</artifactId>
<exclusions>
<exclusion>
<artifactId>httpcore</artifactId>
</exclusion>
<exclusion>
<artifactId>httpcore-nio</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Commons logging used by http client -->
<dependency>
<artifactId>jcl-over-slf4j</artifactId>
</dependency>
<!-- ForgeRock commons -->
<dependency>
<artifactId>launcher-zip</artifactId>
<version>1.1.0</version>
<type>zip</type>
</dependency>
<dependency>
<artifactId>script-javascript</artifactId>
</dependency>
<dependency>
<artifactId>script-groovy</artifactId>
</dependency>
<!-- OpenICF -->
<dependency>
<artifactId>connector-framework</artifactId>
</dependency>
<dependency>
<artifactId>icfl-over-slf4j</artifactId>
</dependency>
<dependency>
<artifactId>groovy-all</artifactId>
</dependency>
<!-- OpenICF Connectors -->
<dependency>
<artifactId>xml-connector</artifactId>
</dependency>
<dependency>
<artifactId>csvfile-connector</artifactId>
</dependency>
<dependency>
<artifactId>ldap-connector</artifactId>
</dependency>
<dependency>
<artifactId>databasetable-connector</artifactId>
</dependency>
<dependency>
<artifactId>groovy-connector</artifactId>
</dependency>
<!-- tomcat-jdbc and juli needed for scriptedsql 1.4 -->
<dependency>
<artifactId>tomcat-jdbc</artifactId>
<version>7.0.53</version>
</dependency>
<dependency>
<artifactId>juli</artifactId>
<version>7.0.39.2</version>
</dependency>
<!-- google connector dependencies -->
<dependency>
<artifactId>guava</artifactId>
<version>18.0</version>
</dependency>
<dependency>
<artifactId>google-api-services-licensing</artifactId>
<version>v1-rev34-1.19.0</version>
</dependency>
<dependency>
<artifactId>google-api-services-admin-directory</artifactId>
<version>directory_v1-rev41-1.19.0</version>
</dependency>
<dependency>
<artifactId>google-oauth-client</artifactId>
<version>1.19.0</version>
</dependency>
<dependency>
<artifactId>google-oauth-client-java6</artifactId>
<version>1.19.0</version>
</dependency>
<dependency>
<artifactId>google-api-client</artifactId>
<version>1.19.0</version>
</dependency>
<dependency>
<artifactId>google-http-client</artifactId>
<version>1.19.0</version>
<exclusions>
<exclusion>
<artifactId>httpclient</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<artifactId>google-http-client-jackson2</artifactId>
<version>1.19.0</version>
</dependency>
<!-- Restlet -->
<dependency>
<version>2.1.2</version>
</dependency>
<!-- jdbc drivers -->
<dependency>
<artifactId>postgresql-fr-osgi</artifactId>
<version>9.3-1101-jdbc41</version>
</dependency>
<!-- Javascript libraries -->
<dependency>
<artifactId>lodash</artifactId>
<version>2.4.1</version>
<classifier>min</classifier>
<type>js</type>
</dependency>
<dependency>
<artifactId>handlebars</artifactId>
<version>1.3.0</version>
<type>js</type>
</dependency>
<!-- Scripted REST Groovy dependencies -->
<dependency>
<artifactId>http-builder</artifactId>
<version>0.7.1</version>
<exclusions>
<exclusion>
<artifactId>httpcore</artifactId>
</exclusion>
<exclusion>
<artifactId>httpclient</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<artifactId>httpasyncclient-osgi</artifactId>
<version>4.0.2</version>
<exclusions>
<exclusion>
<artifactId>httpasyncclient</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<artifactId>httpcore-nio</artifactId>
<version>4.3.2</version>
</dependency>
<!-- ldap connector dependencies -->
<dependency>
<artifactId>opendj-ldap-sdk</artifactId>
<version>2.6.9</version>
</dependency>
<!-- scriptedazure sample Groovy dependencies -->
<dependency>
<artifactId>odata-client-core</artifactId>
<version>4.0.0-beta-01</version>
</dependency>
<dependency>
<artifactId>aalto-xml</artifactId>
<version>0.9.9</version>
</dependency>
<dependency>
<artifactId>stax2-api</artifactId>
<version>3.1.4</version>
</dependency>
<dependency>
<artifactId>jackson-dataformat-xml</artifactId>
</dependency>
<dependency>
<artifactId>jackson-module-jaxb-annotations</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-orientdb-studio</id>
<goals>
<goal>unpack</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<artifactItems>
<artifactItem>
<artifactId>orientdb-community</artifactId>
<type>zip</type>
<classifier>distribution</classifier>
<overWrite>false</overWrite>
</artifactItem>
</artifactItems>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>unpack-studio-ui</id>
<phase>prepare-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>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>zip-workflow-files</id>
<phase>prepare-package</phase>
<configuration>
<tasks>
<zip
destfile="${project.build.directory}/bar-files/samples/usecase/workflow/certificationRoles.bar"
includes="certificationRoles*"/>
<zip
destfile="${project.build.directory}/bar-files/samples/usecase/workflow/certificationEntitlements.bar"
includes="certificationEntitlements*"/>
<zip
destfile="${project.build.directory}/bar-files/samples/usecase/workflow/manualMatch.bar"
includes="manualMatch*"/>
<zip
destfile="${project.build.directory}/bar-files/samples/usecase/workflow/newUserCreate.bar"
includes="newUserCreate.bpmn20.xml,nUC*.xhtml"/>
<zip
includes="chess*"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
</descriptors>
</configuration>
<executions>
<execution>
<id>zip-assembly</id>
<phase>prepare-package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>truezip-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>explode-archive</id>
<goals>
<goal>copy</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<fileset>
</fileset>
</configuration>
</execution>
<execution>
<id>add-checksums-to-archive</id>
<goals>
<goal>copy</goal>
</goals>
<phase>package</phase>
<configuration>
<fileset>
<includes>
</includes>
<outputDirectory>${project.build.directory}/openidm-${project.version}.zip/openidm</outputDirectory>
</fileset>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>checksum-maven-plugin</artifactId>
<version>1.3-SNAPSHOT</version>
<executions>
<execution>
<id>generate-checksums</id>
<phase>prepare-package</phase>
<goals>
<goal>files</goal>
</goals>
</execution>
</executions>
<configuration>
<fileSets>
<fileSet>
</fileSet>
</fileSets>
<algorithms>
<algorithm>MD5</algorithm>
</algorithms>
<individualFiles>false</individualFiles>
<quiet>true</quiet>
<xmlSummary>true</xmlSummary>
<csvSummary>true</csvSummary>
</configuration>
</plugin>
<!--plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jslint-maven-plugin</artifactId>
<configuration>
<assumeRhino>true</assumeRhino>
<predefinedVars>request,openidm,identityServer,java,logger</predefinedVars>
<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>
-Xmx1024m -Xms1024m
</properties>
<dependencies>
<dependency>
<artifactId>slf4j-jdk14</artifactId>
</dependency>
</dependencies>
</profile>
<profile>
<id>experimental-build</id>
<activation>
<property>
<name>experimental</name>
</property>
</activation>
<properties>
</properties>
<dependencies>
<dependency>
<artifactId>logback-classic</artifactId>
<scope>compile</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>commercial-build</id>
<dependencies>
<dependency>
<artifactId>openidm-salesforce</artifactId>
</dependency>
<dependency>
<artifactId>googleapps-connector</artifactId>
</dependency>
</dependencies>
<properties>
<!-- We reset these properties to include the SaaS connectors samples in the commercial build -->
<!-- Properties to include the SaaS connectors in the commercial build -->
<saas.connectors.conf>conf/**</saas.connectors.conf>
<saas.connectors.script>script/**</saas.connectors.script>
</properties>
</profile>
</profiles>
</project>