pom.xml revision b8cc31c8ae794225988943807e9bfcfc988d643c
18d589be75aa0cbaacae9ab2884c0b07943de024Eugen Kuksa<?xml version="1.0" encoding="UTF-8"?>
fdf9cef4c2e81f477f3023fb8e45f6faebfa5a65Eugen Kuksa<!--
e1e5f30cafbcd33549c60a77eee73709b6f46249Eugen Kuksa ~ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
e1e5f30cafbcd33549c60a77eee73709b6f46249Eugen Kuksa ~
fdf9cef4c2e81f477f3023fb8e45f6faebfa5a65Eugen Kuksa ~ Copyright (c) 2011-2012 ForgeRock AS. All Rights Reserved
fdf9cef4c2e81f477f3023fb8e45f6faebfa5a65Eugen Kuksa ~
fdf9cef4c2e81f477f3023fb8e45f6faebfa5a65Eugen Kuksa ~ The contents of this file are subject to the terms
fdf9cef4c2e81f477f3023fb8e45f6faebfa5a65Eugen Kuksa ~ of the Common Development and Distribution License
fdf9cef4c2e81f477f3023fb8e45f6faebfa5a65Eugen Kuksa ~ (the License). You may not use this file except in
fdf9cef4c2e81f477f3023fb8e45f6faebfa5a65Eugen Kuksa ~ compliance with the License.
fdf9cef4c2e81f477f3023fb8e45f6faebfa5a65Eugen Kuksa ~
beba53186708a907254c229f4097bb7de519b625Eugen Kuksa ~ You can obtain a copy of the License at
beba53186708a907254c229f4097bb7de519b625Eugen Kuksa ~ http://forgerock.org/license/CDDLv1.0.html
bb39f9f3b231588a5ed36d424ae27c6e31852feaEugen Kuksa ~ See the License for the specific language governing
bb39f9f3b231588a5ed36d424ae27c6e31852feaEugen Kuksa ~ permission and limitations under the License.
18d589be75aa0cbaacae9ab2884c0b07943de024Eugen Kuksa ~
fdf9cef4c2e81f477f3023fb8e45f6faebfa5a65Eugen Kuksa ~ When distributing Covered Code, include this CDDL
5fa563f0173e7791139e4229800fc91652293647Eugen Kuksa ~ Header Notice in each file and include the License file
fdf9cef4c2e81f477f3023fb8e45f6faebfa5a65Eugen Kuksa ~ at http://forgerock.org/license/CDDLv1.0.html
fdf9cef4c2e81f477f3023fb8e45f6faebfa5a65Eugen Kuksa ~ If applicable, add the following below the CDDL Header,
fdf9cef4c2e81f477f3023fb8e45f6faebfa5a65Eugen Kuksa ~ with the fields enclosed by brackets [] replaced by
5fa563f0173e7791139e4229800fc91652293647Eugen Kuksa ~ your own identifying information:
5fa563f0173e7791139e4229800fc91652293647Eugen Kuksa ~ "Portions Copyrighted [year] [name of copyright owner]"
fdf9cef4c2e81f477f3023fb8e45f6faebfa5a65Eugen Kuksa -->
d102a920578426a89411cc8dabe47d7a881eab8fEugen Kuksa<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">
ceb5bd32f163b29b1cbea577334bc869c07add04Eugen Kuksa <modelVersion>4.0.0</modelVersion>
d102a920578426a89411cc8dabe47d7a881eab8fEugen Kuksa <parent>
e1e5f30cafbcd33549c60a77eee73709b6f46249Eugen Kuksa <groupId>org.forgerock.openidm</groupId>
e1e5f30cafbcd33549c60a77eee73709b6f46249Eugen Kuksa <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>
<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>
<dependencies>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-audit</artifactId>
<version>${openidm.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-shell</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-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-policy</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-filter</artifactId>
<version>${openidm.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-servletfilter-registrator</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-infoservice</artifactId>
<version>${openidm.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-customendpoint</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>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-smartevent</artifactId>
<version>${openidm.version}</version>
<!-- 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>
<groupId>com.googlecode.disruptor</groupId>
<artifactId>disruptor</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-workflow-activiti</artifactId>
<version>${openidm.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-workflow-remote</artifactId>
<version>${openidm.version}</version>
<type>war</type>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-workflow-activiti</artifactId>
<version>${openidm.version}</version>
<classifier>jar-with-dependencies</classifier>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-cluster</artifactId>
<version>${openidm.version}</version>
</dependency>
<!-- Core OSGi -->
<dependency>
<groupId>org.apache.felix</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>
<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.metatype</artifactId>
<version>1.0.4</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>
<!-- Jetty-based web container and whiteboard -->
<dependency>
<groupId>org.ops4j.pax.web</groupId>
<artifactId>pax-web-extender-whiteboard</artifactId>
<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>
-->
<!-- Http components bundelized http client -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient-osgi</artifactId>
<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>
<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-SNAPSHOT</version>
<type>zip</type>
</dependency>
<!-- OpenICF -->
<dependency>
<groupId>org.forgerock.openicf.framework</groupId>
<artifactId>connector-framework</artifactId>
<version>1.1.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock.openicf.framework</groupId>
<artifactId>icfl-over-slf4j</artifactId>
<version>1.1.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>2.0.6</version>
</dependency>
<!-- OpenICF Connectors -->
<dependency>
<groupId>org.forgerock.openicf.connectors</groupId>
<artifactId>xml-connector</artifactId>
<version>1.1.0.1</version>
</dependency>
<dependency>
<groupId>org.forgerock.openicf.connectors</groupId>
<artifactId>csvfile-connector</artifactId>
<version>1.1.0.1</version>
</dependency>
<dependency>
<groupId>org.forgerock.openicf.connectors</groupId>
<artifactId>ldap-connector</artifactId>
<version>1.1.0.1</version>
</dependency>
<dependency>
<groupId>org.forgerock.openicf.connectors</groupId>
<artifactId>scriptedsql-connector</artifactId>
<version>1.1.0.1</version>
</dependency>
<dependency>
<groupId>org.forgerock.openicf.connectors</groupId>
<artifactId>databasetable-connector</artifactId>
<version>1.1.0.0</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>
<version>2.2.2</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
</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 -Dlogback.configurationFile=conf/logging-config.xml
</openidm.options>
</properties>
<dependencies>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.0.9</version>
</dependency>
</dependencies>
</profile>
</profiles>
</project>