pom.xml revision 98f2f99895b90678253d7e9c81ed0eea655e2d91
<?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>forgerock-parent</artifactId>
<version>1.1.0</version>
</parent>
<artifactId>openidm-project</artifactId>
<version>2.1.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>
<prerequisites>
<maven>2.2.1</maven>
</prerequisites>
<!-- 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.1.0-SNAPSHOT</openidm.version>
<slf4j.version>1.7.2</slf4j.version>
<log4j.version>1.2.16</log4j.version>
<orientdb.version>1.3.0</orientdb.version>
<jackson.version>1.9.10</jackson.version>
<restlet.version>2.0.15</restlet.version>
<javascript.maven.plugin.version>2.0.0-alpha-1</javascript.maven.plugin.version>
<!-- Commons JSON versions -->
<commons.util.version>1.0.0</commons.util.version>
<!-- OSGi bundles properties -->
<!--openidm.osgi.import.openidm.version>version="[$(version;==;${openidm.osgi.version.clean}),$(version;=+;${openidm.osgi.version.clean}))"</openidm.osgi.import.openidm.version-->
<openidm.osgi.import.openidm.version>version="[$(version;==;2.1.0),$(version;=+;2.1.0))"</openidm.osgi.import.openidm.version>
<openidm.osgi.import.json-fluent.version>version="[$(version;===;${commons.json-fluent.version.clean}),$(version;==+;${commons.json-fluent.version.clean}))"</openidm.osgi.import.json-fluent.version>
<openidm.osgi.import.json-patch.version>version="[$(version;===;${commons.json-patch.version}),$(version;==+;${commons.json-patch.version}))"</openidm.osgi.import.json-patch.version>
<openidm.osgi.import.json-crypto.version>version="[$(version;===;${commons.json-crypto.version}),$(version;==+;${commons.json-crypto.version}))"</openidm.osgi.import.json-crypto.version>
<openidm.osgi.import.json-resource.version>version="[$(version;===;${commons.json-resource.version}),$(version;==+;${commons.json-resource.version}))"</openidm.osgi.import.json-resource.version>
<openidm.osgi.import.default.version>[$(version;==;$(@)),$(version;+;$(@)))</openidm.osgi.import.default.version>
*
<!-- Documentation and site properties -->
<siteDistributionURL>scp://forgerock.org/var/www/vhosts/openidm.forgerock.org/httpdocs</siteDistributionURL>
<docTargetVersion>2.1.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-jaas-loginmodule-repo</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-restlet</module>
<module>openidm-filter</module>
<module>openidm-servletfilter-registrator</module>
<module>openidm-quartz-fragment</module>
<module>openidm-scheduler</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>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-core</artifactId>
</dependency>
<dependency>
<artifactId>json-crypto-cli</artifactId>
</dependency>
<dependency>
<artifactId>json-schema</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
</dependency>
<dependency>
</dependency>
<dependency>
</dependency>
<dependency>
<version>1.1.0</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>
<!-- SLF4J -->
<dependency>
<artifactId>slf4j-api</artifactId>
</dependency>
<!-- Java EE -->
<dependency>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
</dependency>
<!-- Restlet -->
<dependency>
</dependency>
<dependency>
</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.2</version>
</dependency>
<!-- Core OSGi -->
<!--dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<version>4.3.0</version>
</dependency>
Compendium is not compatible with org.apache.felix.scr
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
<version>4.3.0</version>
</dependency-->
<dependency>
<version>1.4.0</version>
<exclusions>
<exclusion>
</exclusion>
<exclusion>
</exclusion>
<exclusion>
</exclusion>
</exclusions>
</dependency>
<dependency>
<version>4.0.3</version>
</dependency>
<dependency>
<version>1.4.3</version>
</dependency>
<dependency>
<version>1.4.1</version>
</dependency>
<dependency>
<version>3.1.8</version>
</dependency>
<dependency>
<version>1.4.0</version>
<!--<version>1.6.0</version>-->
</dependency>
<dependency>
<version>1.0.1</version>
</dependency>
<dependency>
<version>3.2.4</version>
<!--version>3.2.6</version>-->
</dependency>
<!-- Declarative Services support -->
<dependency>
<version>1.6.0</version>
</dependency>
<dependency>
<version>1.6.0</version>
</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>1.8.4_2</version>
</dependency>
<dependency>
<version>1.7R2_3</version>
</dependency>
<!-- Jackson JSON parser -->
<dependency>
<artifactId>jackson-core-asl</artifactId>
</dependency>
<dependency>
<artifactId>jackson-mapper-asl</artifactId>
</dependency>
<!-- Pax Web Dependencies -->
<dependency>
<artifactId>pax-web-api</artifactId>
<version>1.1.5</version>
</dependency>
<dependency>
<artifactId>pax-web-extender-whiteboard</artifactId>
<version>1.1.5</version>
</dependency>
<dependency>
<artifactId>pax-web-jetty-bundle</artifactId>
<version>1.1.5</version>
</dependency>
<!-- Test Dependencies -->
<dependency>
<artifactId>fest-assert</artifactId>
<version>1.4</version>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>testng</artifactId>
<version>6.3.1</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.10</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>maven-scr-plugin</artifactId>
<version>1.7.4</version>
</plugin>
<plugin>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<_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>
<versions>
<commons.json-fluent.version.clean>${commons.json-fluent.version}</commons.json-fluent.version.clean>
</versions>
</configuration>
<executions>
<execution>
<id>clean-versions</id>
<phase>prepare-package</phase>
<goals>
<goal>cleanVersions</goal>
</goals>
</execution>
</executions>
</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.4</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.8</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>