pom.xml revision 4b93fff6cbed4e2ae34e954b9b9bd4f318d34cd4
<?xml version="1.0" encoding="UTF-8"?>
<!--
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 legal/CDDLv1.0.txt. See the License for the
specific language governing permission and limitations under the License.
When distributing Covered Software, include this CDDL Header Notice in each file and include
the License file at legal/CDDLv1.0.txt. 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]".
Copyright © 2011 ForgeRock AS. All rights reserved.
--><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.0.0</version>
</parent>
<artifactId>openidm-project</artifactId>
<version>2.0.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>true</enabled>
</snapshots>
</repository>
<!-- OrientDB -->
<repository>
<id>orientechnologies-repository</id>
<name>Orient Technologies Maven2 Repository</name>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
<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>
</repositories>
<pluginRepositories>
<pluginRepository>
<name>Maven Plugin Snapshots</name>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</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>
<!-- Site Properties -->
<siteDistributionURL>scp://forgerock.org/var/www/vhosts/openidm.forgerock.org/httpdocs</siteDistributionURL>
<!-- version management -->
<openidm.version>2.0.0-SNAPSHOT</openidm.version>
<slf4j.version>1.6.4</slf4j.version>
<log4j.version>1.2.16</log4j.version>
<!--<orientdb.version>1.0rc7-SNAPSHOT</orientdb.version>-->
<orientdb.version>1.0rc6</orientdb.version>
<jackson.version>1.9.2</jackson.version>
<restlet.version>2.0.9</restlet.version>
</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-jaas-loginmodule-repo</module>
<module>openidm-jetty-fragment</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-scheduler</module>
<module>openidm-security-jetty</module>
<module>openidm-shell</module>
<module>openidm-system</module>
<module>openidm-ui</module>
<module>openidm-util</module>
<module>openidm-workflow-activiti</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-functional-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>
<version>1.1.0</version>
</dependency>
<dependency>
<artifactId>json-patch</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<artifactId>json-crypto-core</artifactId>
<version>1.1.0</version>
</dependency>
<dependency>
<artifactId>json-crypto-cli</artifactId>
<version>1.1.0</version>
</dependency>
<dependency>
<artifactId>json-schema</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<version>1.0.0</version>
</dependency>
<dependency>
<version>1.0.0</version>
</dependency>
<dependency>
<version>1.0.0</version>
</dependency>
<dependency>
<version>1.0.0</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>
<!-- Core OSGi -->
<dependency>
<version>4.2.0</version>
</dependency>
<dependency>
<version>4.0.2</version>
</dependency>
<dependency>
<version>4.0.2</version>
</dependency>
<dependency>
<version>1.4.2</version>
</dependency>
<dependency>
<version>1.4.1</version>
</dependency>
<dependency>
<version>3.1.8</version>
</dependency>
<dependency>
<version>1.2.8</version>
</dependency>
<dependency>
<version>1.0.1</version>
</dependency>
<dependency>
<version>3.1.10</version>
</dependency>
<dependency>
<version>1.4.0</version>
</dependency>
<dependency>
<version>4.2.0</version>
</dependency>
<!-- Declarative Services support -->
<dependency>
<version>1.6.0</version>
</dependency>
<dependency>
<version>1.6.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>
<!-- Jackson JSON parser -->
<dependency>
<artifactId>jackson-core-asl</artifactId>
</dependency>
<dependency>
<artifactId>jackson-mapper-asl</artifactId>
</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>
</dependency>
<dependency>
<artifactId>mockito-all</artifactId>
<version>1.8.5</version>
</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>
</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>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<source>1.6</source>
<target>1.6</target>
<compilerArgument>-Xlint:all</compilerArgument>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
</configuration>
</plugin>
<plugin>
<artifactId>docbkx-maven-plugin</artifactId>
<version>2.0.13</version>
<inherited>false</inherited>
<configuration>
<sourceDirectory>${docbkx-src}</sourceDirectory>
<!-- TODO: Profile for snapshot vs. final-->
<draftMode>yes</draftMode>
<includes>*/OpenIDM-*.xml</includes>
<xincludeSupported>true</xincludeSupported>
<sectionAutolabel>true</sectionAutolabel>
<sectionLabelIncludesComponentLabel>true</sectionLabelIncludesComponentLabel>
</configuration>
<executions>
<execution>
<id>doc-olinkdb-admin-guide</id>
<phase>pre-site</phase>
<configuration>
<collectXrefTargets>only</collectXrefTargets>
<postProcess>
<delete dir="${docbkx-out}/html/admin-guide"/>
</postProcess>
</configuration>
<goals>
<goal>generate-html</goal>
</goals>
</execution>
<execution>
<id>doc-olinkdb-dev-guide</id>
<phase>pre-site</phase>
<configuration>
<collectXrefTargets>only</collectXrefTargets>
<postProcess>
</postProcess>
</configuration>
<goals>
<goal>generate-html</goal>
</goals>
</execution>
<execution>
<id>doc-olinkdb-install-guide</id>
<phase>pre-site</phase>
<configuration>
<collectXrefTargets>only</collectXrefTargets>
<postProcess>
<delete dir="${docbkx-out}/html/install-guide"/>
</postProcess>
</configuration>
<goals>
<goal>generate-html</goal>
</goals>
</execution>
<execution>
<id>doc-olinkdb-reference</id>
<phase>pre-site</phase>
<configuration>
<collectXrefTargets>only</collectXrefTargets>
<postProcess>
</postProcess>
</configuration>
<goals>
<goal>generate-html</goal>
</goals>
</execution>
<execution>
<id>doc-olinkdb-release-notes</id>
<phase>pre-site</phase>
<configuration>
<collectXrefTargets>only</collectXrefTargets>
<postProcess>
<delete dir="${docbkx-out}/html/release-notes"/>
</postProcess>
</configuration>
<goals>
<goal>generate-html</goal>
</goals>
</execution>
<execution>
<id>doc-epub</id>
<phase>pre-site</phase>
<goals>
<goal>generate-epub</goal>
</goals>
<configuration>
<!-- Resources required but not copied by DocBook.xsl. -->
<preProcess>
<copy todir='${docbkx-out}/epub/admin-guide/OpenIDM-Admin-Guide/images'>
<fileset dir='${docbkx-src}/admin-guide/images' />
</copy>
<copy todir='${docbkx-out}/epub/admin-guide/OpenIDM-Admin-Guide'>
</copy>
<copy todir='${docbkx-out}/epub/dev-guide/OpenIDM-Dev-Guide/images'>
</copy>
<copy todir='${docbkx-out}/epub/dev-guide/OpenIDM-Dev-Guide'>
</copy>
<copy todir='${docbkx-out}/epub/install-guide/OpenIDM-Install-Guide/images'>
<fileset dir='${docbkx-src}/install-guide/images' />
</copy>
<copy todir='${docbkx-out}/epub/install-guide/OpenIDM-Install-Guide'>
</copy>
<copy todir='${docbkx-out}/epub/reference/OpenIDM-Reference/images'>
</copy>
<copy todir='${docbkx-out}/epub/reference/OpenIDM-Reference'>
</copy>
<copy todir='${docbkx-out}/epub/release-notes/OpenIDM-Release-Notes/images'>
<fileset dir='${docbkx-src}/release-notes/images' />
</copy>
<copy todir='${docbkx-out}/epub/release-notes/OpenIDM-Release-Notes'>
</copy>
</preProcess>
</configuration>
</execution>
<execution>
<id>doc-fo</id>
<phase>pre-site</phase>
<goals>
<goal>generate-pdf</goal>
<goal>generate-rtf</goal>
</goals>
<configuration>
<highlightSource>1</highlightSource>
</configuration>
</execution>
<execution>
<id>doc-manpages</id>
<phase>pre-site</phase>
<goals>
<goal>generate-manpages</goal>
</goals>
<configuration>
</configuration>
</execution>
<execution>
<id>doc-single-html</id>
<phase>pre-site</phase>
<goals>
<goal>generate-html</goal>
</goals>
<configuration>
<chunkedOutput>false</chunkedOutput>
<highlightSource>1</highlightSource>
<!-- Resources required but not copied by DocBook.xsl. -->
<preProcess>
<copy todir="${docbkx-out}/html/admin-guide/images">
<fileset dir="${docbkx-src}/admin-guide/images"/>
</copy>
<copy todir="${docbkx-out}/html/admin-guide">
</copy>
</copy>
</copy>
<copy todir="${docbkx-out}/html/install-guide/images">
<fileset dir="${docbkx-src}/install-guide/images"/>
</copy>
<copy todir="${docbkx-out}/html/install-guide">
</copy>
</copy>
</copy>
<copy todir="${docbkx-out}/html/release-notes/images">
<fileset dir="${docbkx-src}/release-notes/images"/>
</copy>
<copy todir="${docbkx-out}/html/release-notes">
</copy>
</preProcess>
<postProcess>
<include name="**/**/*.html" />
<replacevalue>
<script src="http://code.jquery.com/jquery.min.js"></script>
<script type="text/javascript">
// On double-click, reformat <pre class="screen"> for easy copying.
$(document).ready(function() {
$(".screen").attr("title", "Double-click to unwrap lines.");
});
$(".screen").live("dblclick", function() {
$(this).replaceWith(
"<pre class=\"flat\" title=\"Double-click to wrap long lines.\">" +
$(this).text().replace(/\n /g," ") + "\n<!--" + $(this).text().replace(/\->/g,"&#8594;") + "-->" +
"</pre>");
});
$(".flat").live("dblclick", function() {
$(this).replaceWith(
"<pre class=\"screen\" title=\"Double-click to unwrap lines.\">" +
$(this).html().replace(/(.|\n)+<!\-\-/m,"").replace(/\-\-\>/,"").replace(/\&#8594;/g,"->") +
"</pre>");
});
</script>
<link rel="shortcut icon" href="http://forgerock.org/favicon.ico">
</head></replacevalue>
</replace>
</postProcess>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<artifactId>docbook-xml</artifactId>
<version>5.0-all</version>
<classifier>resources</classifier>
<type>zip</type>
<scope>runtime</scope>
</dependency>
<dependency>
<artifactId>fop-hyph</artifactId>
<version>1.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<artifactId>xslthl</artifactId>
<version>2.0.2</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<inherited>false</inherited>
<executions>
<execution>
<phase>site</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<encoding>UTF-8</encoding>
<outputDirectory>${site-out}/doc</outputDirectory>
<resources>
<resource>
<includes>
<include>**/*.epub</include>
</includes>
</resource>
<resource>
<includes>
<include>**/*.epub</include>
</includes>
</resource>
<resource>
<includes>
<include>**/*.epub</include>
</includes>
</resource>
<resource>
<includes>
<include>**/*.epub</include>
</includes>
</resource>
<resource>
<includes>
<include>**/*.epub</include>
</includes>
</resource>
<resource>
<directory>${docbkx-out}/html/</directory>
</resource>
<resource>
<directory>${docbkx-out}/pdf</directory>
<includes>
<include>**/*.pdf</include>
</includes>
</resource>
<resource>
<directory>${docbkx-out}/rtf</directory>
<includes>
<include>**/*.rtf</include>
</includes>
</resource>
</resources>
</configuration>
</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-jxr-plugin</artifactId>
<version>2.3</version>
<configuration>
<linkJavadoc>true</linkJavadoc>
</configuration>
</plugin>
<plugin>
<artifactId>taglist-maven-plugin</artifactId>
<version>2.4</version>
<configuration>
<tags>
<tag>@FIXME</tag>
<tag>@fixme</tag>
<tag>FIXME</tag>
<tag>fixme</tag>
<tag>@TODO</tag>
<tag>@todo</tag>
<tag>TODO</tag>
<tag>todo</tag>
<tag>HACK</tag>
<tag>hack</tag>
</tags>
</configuration>
</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>