pom.xml revision 4ba1b3760f8db83c4cb7799d6fd8a733470862ce
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
~
~ Copyright (c) 2011-2012 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>2.1.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>
<dependencies>
<dependency>
<artifactId>openidm-audit</artifactId>
</dependency>
<dependency>
<artifactId>openidm-shell</artifactId>
</dependency>
<dependency>
<artifactId>openidm-external-rest</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<artifactId>openidm-external-email</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<artifactId>openidm-jaas-loginmodule-repo</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-restlet</artifactId>
</dependency>
<dependency>
<artifactId>openidm-filter</artifactId>
</dependency>
<dependency>
<artifactId>openidm-authnfilter</artifactId>
</dependency>
<dependency>
<artifactId>forgerock-jaspi-jwt-session-module</artifactId>
</dependency>
<dependency>
<artifactId>openidm-servletfilter-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-servlet</artifactId>
</dependency>
<dependency>
<artifactId>openidm-ui-enduser</artifactId>
</dependency>
<dependency>
<artifactId>openidm-smartevent</artifactId>
<!-- To satisfy both maven unit tests and OSGi packaging
this embedded jar is included as a dependency for maven
purposes, but explicitly excluded for the OSGi packaging -->
<exclusions>
<exclusion>
<artifactId>disruptor</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<artifactId>openidm-workflow-activiti</artifactId>
</dependency>
<dependency>
<artifactId>openidm-workflow-remote</artifactId>
<type>war</type>
</dependency>
<dependency>
<artifactId>openidm-workflow-activiti</artifactId>
<classifier>jar-with-dependencies</classifier>
</dependency>
<dependency>
<artifactId>openidm-cluster</artifactId>
</dependency>
<!-- Core OSGi -->
<dependency>
</dependency>
<dependency>
</dependency>
<dependency>
</dependency>
<dependency>
</dependency>
<dependency>
</dependency>
<dependency>
</dependency>
<dependency>
<version>1.0.4</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>
<!-- Jetty-based web container and whiteboard -->
<dependency>
<artifactId>pax-web-extender-whiteboard</artifactId>
<exclusions>
<exclusion>
<artifactId>servlet-api</artifactId>
</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>
-->
<!-- Http components bundelized http client -->
<dependency>
<artifactId>httpclient-osgi</artifactId>
<exclusions>
<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>
<!-- Eclipse JSDT -->
<dependency>
</dependency>
<dependency>
<artifactId>transport</artifactId>
</dependency>
<!-- ForgeRock commons -->
<dependency>
<artifactId>launcher-zip</artifactId>
<version>1.1.0-SNAPSHOT</version>
<type>zip</type>
</dependency>
<!-- OpenICF -->
<dependency>
<artifactId>connector-framework</artifactId>
<version>1.1.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>icfl-over-slf4j</artifactId>
<version>1.1.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>groovy-all</artifactId>
<version>2.0.6</version>
</dependency>
<!-- OpenICF Connectors -->
<dependency>
<artifactId>xml-connector</artifactId>
<version>1.1.0.1</version>
</dependency>
<dependency>
<artifactId>csvfile-connector</artifactId>
<version>1.1.0.1</version>
</dependency>
<dependency>
<artifactId>ldap-connector</artifactId>
<version>1.1.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>scriptedsql-connector</artifactId>
<version>1.1.0.1</version>
</dependency>
<dependency>
<artifactId>databasetable-connector</artifactId>
<version>1.1.0.0</version>
</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</artifactId>
<type>zip</type>
<classifier>distribution</classifier>
<overWrite>false</overWrite>
<includes>**/www/**</includes>
</artifactItem>
</artifactItems>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
</configuration>
</execution>
<execution>
<id>copy-connectors</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<artifactId>ldap-connector</artifactId>
<version>1.1.0.1</version>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.2</version>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
</descriptors>
</configuration>
<executions>
<execution>
<id>zip-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<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>
<version>1.0.9</version>
</dependency>
</dependencies>
</profile>
</profiles>
</project>