pom.xml revision bf3adaa7953ef4d249670fa82f2a0f7f17ee4b7b
<?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>forgerock-parent</artifactId>
<version>1.1.0</version>
</parent>
<artifactId>openidm-project</artifactId>
<version>2.2.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>OpenIDM project</name>
<description>OpenIDM is an open standards based Identity Management, Provisioning and Compliance solution. Experience shows that the most important features of an identity management product are: high flexibility in Business Process handling and compliance with open standards and interfaces. A highly flexible user interface combined with a very robust workflow engine make OpenIDM ready for any Identity Management project.</description>
<inceptionYear>2011</inceptionYear>
<licenses>
<license>
<name>CDDL-1.0</name>
<comments>Common Development and Distribution License (CDDL) 1.0.
This license applies to OpenIDM source code as indicated in the
source code.</comments>
<distribution>repo</distribution>
</license>
<license>
<name>CC BY-NC-ND 3.0</name>
<comments>Creative Commons Attribution-NonCommercial-NoDerivs 3.0
Unported. This license applies to the site content, and to the
documentation as indicated in the documentation source code.</comments>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
</scm>
<distributionManagement>
<site>
<name>ForgeRock Community Server</name>
<url>${siteDistributionURL}</url>
</site>
</distributionManagement>
<!-- NOT ALLOWED: (see FAQ at http://maven.apache.org/guides/mini/guide-central-repository-upload.html ) -->
<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>
<repository>
</repository>
<repository>
<id>ops4j</id>
<name>OPS4J Maven Repository</name>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- OrientDB -->
<repository>
<name>OrientDB Maven2 Repository</name>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<!--repository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository-->
<!-- Restlet -->
<repository>
<id>maven-restlet</id>
<name>Public online Restlet repository</name>
</repository>
<repository>
<name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name>
</repository>
<repository>
<name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>
</repository>
<repository>
<id>codehaus-snapshots-repo</id>
<name>Codehaus snapshots Repo</name>
</repository>
<repository>
<id>codehaus-release-repo</id>
<name>Codehaus Release Repo</name>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>codehaus-snapshots-repo</id>
<name>Codehaus snapshots Repo</name>
</pluginRepository>
<pluginRepository>
<id>codehaus-release-repo</id>
<name>Codehaus Release Repo</name>
</pluginRepository>
</pluginRepositories>
<mailingLists>
<mailingList>
<name>OpenIDM: Technical communications</name>
<post>openidm@forgerock.org</post>
</mailingList>
<mailingList>
<name>OpenIDM: Commit Notificatons</name>
<post>commitopenidm@forgerock.org</post>
</mailingList>
<mailingList>
<name>OpenIDM: Developers</name>
<post>openidm-dev@forgerock.org</post>
</mailingList>
<mailingList>
<name>OpenIDM: Issue Notifications</name>
<post>openidm-issues@forgerock.org</post>
</mailingList>
</mailingLists>
<issueManagement>
<system>jira</system>
</issueManagement>
<ciManagement>
<system>Jenkins</system>
<notifiers>
<notifier>
<type>mail</type>
<sendOnError>true</sendOnError>
<sendOnFailure>true</sendOnFailure>
<sendOnSuccess>false</sendOnSuccess>
<sendOnWarning>false</sendOnWarning>
<address>openidm-dev@forgerock.org</address>
</notifier>
</notifiers>
</ciManagement>
<properties>
<!-- version management -->
<openidm.version>2.2.0-SNAPSHOT</openidm.version>
<slf4j.version>1.7.2</slf4j.version>
<orientdb.version>1.4.0-SNAPSHOT</orientdb.version>
<jackson.version>1.9.12</jackson.version>
<restlet.version>2.1.2</restlet.version>
<javascript.maven.plugin.version>2.0.0-alpha-1</javascript.maven.plugin.version>
<!-- Commons JSON versions -->
<commons.forgerock-rest.version>2.0.0-SNAPSHOT</commons.forgerock-rest.version>
<!-- OSGi bundles properties -->
org.forgerock.openidm.*;provide:=true,
org.forgerock.json.*;provide:=true,
*
<!-- Documentation and site properties -->
<siteDistributionURL>scp://forgerock.org/var/www/vhosts/openidm.forgerock.org/httpdocs</siteDistributionURL>
<docTargetVersion>2.2.0</docTargetVersion>
<opendjPasswordPluginVersion>1.0.0</opendjPasswordPluginVersion>
<adPasswordPluginVersion>2.0.1</adPasswordPluginVersion>
<openicfBundleVersion>1.1.1.0</openicfBundleVersion>
<gaId>UA-23412190-9</gaId>
<!--
Release date is specified only when building the documentation
for publication. For example:
-D"releaseDate=Software release date: January 1, 1970"
Otherwise release date should remain empty.
-->
<releaseDate />
<softwareReleaseDate>${releaseDate}</softwareReleaseDate>
</properties>
<modules>
<module>openidm-audit</module>
<module>openidm-config</module>
<module>openidm-core</module>
<module>openidm-crypto</module>
<module>openidm-enhanced-config</module>
<module>openidm-external-email</module>
<module>openidm-external-rest</module>
<module>openidm-httpcontext</module>
<module>openidm-infoservice</module>
<module>openidm-customendpoint</module>
<module>openidm-jetty-fragment</module>
<module>openidm-policy</module>
<module>openidm-provisioner-openicf</module>
<module>openidm-provisioner</module>
<!--module>openidm-repo-jdbc</module-->
<module>openidm-repo-orientdb</module>
<module>openidm-repo</module>
<module>openidm-filter</module>
<module>openidm-servlet</module>
<module>openidm-servletfilter-registrator</module>
<module>openidm-quartz-fragment</module>
<!--<module>openidm-scheduler</module>-->
<module>openidm-script</module>
<module>openidm-security-jetty</module>
<!--module>openidm-shell</module-->
<module>openidm-smartevent</module>
<module>openidm-system</module>
<module>openidm-ui</module>
<module>openidm-ui-ria</module>
<module>openidm-util</module>
<!--module>openidm-workflow-activiti</module>
<module>openidm-workflow-remote</module-->
<module>openidm-zip</module>
</modules>
<profiles>
<profile>
<id>jrebel</id>
<build>
<plugins>
<plugin>
<artifactId>jrebel-maven-plugin</artifactId>
<version>1.1.3</version>
<configuration>
<packaging>jar</packaging>
</configuration>
<executions>
<execution>
<id>generate-rebel-xml</id>
<phase>process-resources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>functional-test</id>
<activation>
<property>
<name>enableCiProfile</name>
<value>true</value>
</property>
</activation>
<modules>
<module>openidm-integration-tests</module>
</modules>
</profile>
<profile>
<id>openidm-webapp</id>
<modules>
<module>openidm-webapp</module>
</modules>
</profile>
</profiles>
<dependencyManagement>
<dependencies>
<!-- mvn versions:display-plugin-updates
mvn versions:display-dependency-updates
mvn versions:use-latest-versions
-->
<!-- ForgeRock Commons -->
<dependency>
<artifactId>json-fluent</artifactId>
</dependency>
<dependency>
<artifactId>json-patch</artifactId>
</dependency>
<dependency>
<artifactId>json-crypto</artifactId>
</dependency>
<dependency>
<artifactId>json-schema</artifactId>
</dependency>
<dependency>
<artifactId>json-resource</artifactId>
</dependency>
<dependency>
<artifactId>json-resource-servlet</artifactId>
</dependency>
<dependency>
<artifactId>script-common</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>script-groovy</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>script-javascript</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>i18n-slf4j</artifactId>
<version>1.4.1-SNAPSHOT</version>
</dependency>
<!-- Commons -->
<dependency>
<artifactId>commons-lang3</artifactId>
<version>3.1</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.7</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.2.2</version>
</dependency>
<!-- SLF4J -->
<dependency>
<artifactId>slf4j-api</artifactId>
</dependency>
<!-- Java EE -->
<dependency>
<version>3.0.1</version>
<scope>provided</scope>
</dependency>
<!-- Restlet -->
<dependency>
</dependency>
<!--<dependency>
<groupId>org.restlet.osgi</groupId>
<artifactId>org.restlet.ext.servlet</artifactId>
<version>${restlet.version}</version>
</dependency>-->
<dependency>
</dependency>
<dependency>
<exclusions>
<exclusion>
<artifactId>httpclient</artifactId>
</exclusion>
<exclusion>
<artifactId>httpcore</artifactId>
</exclusion>
<exclusion>
<artifactId>httpmime</artifactId>
</exclusion>
<exclusion>
<artifactId>jcip-annotations</artifactId>
</exclusion>
<exclusion>
<artifactId>apache-mime4j</artifactId>
</exclusion>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<artifactId>httpclient-osgi</artifactId>
<version>4.2.2</version>
</dependency>
<dependency>
<artifactId>httpcore-osgi</artifactId>
<version>4.2.3</version>
</dependency>
<!-- Core OSGi -->
<!--
Felix Framework is packed with 4.3
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<version>4.3.1</version>
<scope>provided</scope>
</dependency>-->
<!--Compendium 4.3 is not compatible with current SCR
org.apache.felix.scr 1.6.x implements SCR 1.1
org.apache.felix.scr 1.7-SNAPSHOT implements SCR 1.2
-->
<dependency>
<version>4.2.0</version>
<!--scope>provided</scope-->
</dependency>
<!--
Ignore installing these old jars in ZIP assembly
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.compendium</artifactId>
<version>1.4.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.felix</groupId>
<artifactId>javax.servlet</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.foundation</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.core</artifactId>
</exclusion>
</exclusions>
</dependency>
-->
<dependency>
<version>4.2.0</version>
</dependency>
<dependency>
<version>1.4.3</version>
</dependency>
<dependency>
<version>1.4.1</version>
</dependency>
<dependency>
<version>4.0.0</version>
</dependency>
<dependency>
<version>1.0.0</version>
</dependency>
<dependency>
<version>1.0.2</version>
</dependency>
<dependency>
<version>1.0.4</version>
</dependency>
<dependency>
<version>1.0.0</version>
</dependency>
<dependency>
<version>1.0.0</version>
</dependency>
<dependency>
<version>1.6.0</version>
</dependency>
<dependency>
<version>1.0.1</version>
</dependency>
<dependency>
<version>3.2.6</version>
<!--version>3.2.6</version>-->
</dependency>
<!-- Declarative Services support -->
<dependency>
<version>1.6.0</version>
<!--<version>1.7-SNAPSHOT</version>-->
</dependency>
<dependency>
<version>1.8.0</version>
<!-- The anotation @Retention(RetentionPolicy.SOURCE) changed to @Retention(RetentionPolicy.CLASS) -->
<scope>provided</scope>
</dependency>
<!-- Prefer this to org.apache.felix.scr.annotations:1.7.0
<dependency>
<groupId>biz.aQute</groupId>
<artifactId>annotation</artifactId>
<version>1.50.0</version>
</dependency>
-->
<!-- Quartz based scheduler OSGi bundle.
This version wraps the original jar which is not a bundle
2.0.* is not compatible yet -->
<dependency>
<version>2.1.6_1</version>
</dependency>
<!--dependency>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.rhino</artifactId>
<version>1.7R2_3</version>
</dependency-->
<!-- Use this instead of servicemix
<dependency>
<groupId>de.matrixweb.osgi.wrapped</groupId>
<artifactId>osgi-wrapped-rhino</artifactId>
<version>1.7R4</version>
</dependency-->
<!-- Jackson JSON parser -->
<dependency>
<artifactId>jackson-core-asl</artifactId>
</dependency>
<dependency>
<artifactId>jackson-mapper-asl</artifactId>
</dependency>
<dependency>
<artifactId>jackson-databind</artifactId>
<version>2.1.4</version>
</dependency>
<dependency>
<artifactId>jackson-annotations</artifactId>
<version>2.1.4</version>
</dependency>
<!-- Pax Web Dependencies -->
<dependency>
<artifactId>pax-web-api</artifactId>
<version>2.1.2</version>
</dependency>
<dependency>
<artifactId>pax-web-extender-whiteboard</artifactId>
<version>2.1.2</version>
</dependency>
<dependency>
<artifactId>pax-web-jetty-bundle</artifactId>
<version>2.1.2</version>
</dependency>
<!-- Test Dependencies -->
<dependency>
<artifactId>fest-assert</artifactId>
<version>1.4</version>
<scope>test</scope>
</dependency>
<!-- Upgrade the fest-assert -->
<dependency>
<artifactId>fest-assert-core</artifactId>
<version>2.0M8</version>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>testng</artifactId>
<version>6.8</version>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>mockito-all</artifactId>
<version>1.9.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>jstestrunner-junit</artifactId>
<version>1.0.2</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>i18n-maven-plugin</artifactId>
<version>1.4.1-SNAPSHOT</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>generate-messages</goal>
</goals>
<configuration>
<messageFiles>
</messageFiles>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-scr-plugin</artifactId>
<version>1.10.0</version>
<configuration>
<generateAccessors>false</generateAccessors>
</configuration>
</plugin>
<plugin>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<!--_versionpolicy>${openidm.osgi.import.default.version}</_versionpolicy-->
<_nodefaultversion>false</_nodefaultversion>
<_metatype>**/*MetaType*</_metatype>
<_removeheaders>Bnd-LastModified,Built-By,Private-Package,Tool,Build-Jdk,Include-Resource,Ignore-Package,Private-Package,Bundle-DocURL</_removeheaders>
<Include-Resource>{maven-resources}</Include-Resource>
</instructions>
</configuration>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<author>false</author>
<links>
</links>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!--This plugin's configuration is used to store Eclipse m2e settings
only. It has no influence on the Maven build itself. -->
<plugin>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
</groupId>
<artifactId>
js-import-maven-plugin
</artifactId>
<versionRange>
[1.0.0,)
</versionRange>
<goals>
<goal>import-js</goal>
<goal>generate-html</goal>
<goal>
test-generate-html
</goal>
<goal>test-import-js</goal>
</goals>
</pluginExecutionFilter>
<action>
<execute>
<runOnIncremental>true</runOnIncremental>
</execute>
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
</groupId>
<artifactId>
jslint-maven-plugin
</artifactId>
<versionRange>
[1.0.1,)
</versionRange>
<goals>
<goal>test-jslint</goal>
<goal>jslint</goal>
</goals>
</pluginExecutionFilter>
<action>
<execute>
<runOnIncremental>true</runOnIncremental>
</execute>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
<plugin>
<artifactId>jslint-maven-plugin</artifactId>
<version>1.0.1</version>
<configuration>
<assumeConsoleAlertEtc>true</assumeConsoleAlertEtc>
<strictWhiteSpace>false</strictWhiteSpace>
</configuration>
</plugin>
<plugin>
<artifactId>webminifier-maven-plugin</artifactId>
<version>1.0.1</version>
<executions>
<execution>
<id>default-minify-js</id>
<phase>none</phase>
<goals>
<goal>minify-js</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<compilerArgument>-Xlint:all</compilerArgument>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
</configuration>
</plugin>
<plugin>
<artifactId>forgerock-doc-maven-plugin</artifactId>
<version>1.1.0</version>
<inherited>false</inherited>
<configuration>
<projectName>OpenIDM</projectName>
<googleAnalyticsId>${gaId}</googleAnalyticsId>
</configuration>
<executions>
<execution>
<id>build-doc</id>
<phase>pre-site</phase>
<goals>
<goal>build</goal>
</goals>
</execution>
<execution>
<id>layout-doc</id>
<phase>site</phase>
<goals>
<goal>layout</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.6</version>
<reportSets>
<reportSet>
<reports>
<report>cim</report>
<report>dependencies</report>
<report>dependency-convergence</report>
<report>dependency-management</report>
<report>distribution-management</report>
<report>index</report>
<report>issue-tracking</report>
<report>license</report>
<report>mailing-list</report>
<report>modules</report>
<report>plugin-management</report>
<report>plugins</report>
<!--report>project-team</report-->
<report>scm</report>
<report>summary</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<configuration>
<author>false</author>
<links>
</links>
</configuration>
<reportSets>
<reportSet>
<id>default</id>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
<reportSet>
<id>aggregate</id>
<reports>
<report>aggregate</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</project>