pom.xml revision 9c9adbf432edc694be321e057b0a11de575d0369
5394N/A<?xml version="1.0" encoding="UTF-8"?>
5394N/A<!--
5394N/A The contents of this file are subject to the terms of the Common Development and
5394N/A Distribution License (the License). You may not use this file except in compliance with the
5394N/A License.
5394N/A
5394N/A You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
5394N/A specific language governing permission and limitations under the License.
5394N/A
5394N/A When distributing Covered Software, include this CDDL Header Notice in each file and include
5394N/A the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
5394N/A Header, with the fields enclosed by brackets [] replaced by your own identifying
5394N/A information: "Portions Copyrighted [year] [name of copyright owner]".
5394N/A
5394N/A Copyright © 2011 ForgeRock AS. All rights reserved.
5394N/A--><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">
5394N/A <modelVersion>4.0.0</modelVersion>
5394N/A <parent>
5394N/A <groupId>org.forgerock</groupId>
5394N/A <artifactId>forgerock-parent</artifactId>
5394N/A <version>1.0.0</version>
5394N/A </parent>
5394N/A <groupId>org.forgerock.openidm</groupId>
5394N/A <artifactId>openidm-project</artifactId>
6238N/A <version>2.0.0-SNAPSHOT</version>
5394N/A <packaging>pom</packaging>
5394N/A <name>OpenIDM project</name>
5394N/A <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>
5394N/A <inceptionYear>2011</inceptionYear>
5394N/A <url>http://openidm.forgerock.org</url>
5394N/A <licenses>
5394N/A <license>
5394N/A <name>CDDL-1.0</name>
5394N/A <url>http://www.opensource.org/licenses/cddl1.php</url>
5394N/A <comments>Common Development and Distribution License (CDDL) 1.0.
5394N/A This license applies to OpenIDM source code as indicated in the
5394N/A source code.</comments>
5394N/A <distribution>repo</distribution>
5394N/A </license>
6365N/A <license>
5394N/A <name>CC BY-NC-ND 3.0</name>
5394N/A <url>http://creativecommons.org/licenses/by-nc-nd/3.0/</url>
5394N/A <comments>Creative Commons Attribution-NonCommercial-NoDerivs 3.0
5394N/A Unported. This license applies to the site content, and to the
6368N/A documentation as indicated in the documentation source code.</comments>
5394N/A <distribution>repo</distribution>
5394N/A </license>
5394N/A </licenses>
5394N/A <scm>
5394N/A <connection>scm:svn:https://svn.forgerock.org/openidm/trunk</connection>
5714N/A <developerConnection>scm:svn:https://svn.forgerock.org/openidm/trunk</developerConnection>
5394N/A <url>http://sources.forgerock.org/browse/openidm/trunk</url>
6368N/A </scm>
6368N/A <distributionManagement>
6368N/A <site>
5394N/A <id>forgerock.org</id>
5394N/A <name>ForgeRock Community Server</name>
5394N/A <url>${siteDistributionURL}</url>
5394N/A </site>
6365N/A </distributionManagement>
5394N/A
5394N/A <!-- NOT ALLOWED: (see FAQ at http://maven.apache.org/guides/mini/guide-central-repository-upload.html ) -->
5394N/A <repositories>
5394N/A <repository>
5394N/A <id>forgerock-staging-repository</id>
5394N/A <name>ForgeRock Release Repository</name>
5394N/A <url>http://maven.forgerock.org/repo/releases</url>
5394N/A <snapshots>
5394N/A <enabled>false</enabled>
5394N/A </snapshots>
5394N/A </repository>
6238N/A <repository>
5947N/A <id>forgerock-snapshots-repository</id>
5947N/A <name>ForgeRock Snapshot Repository</name>
5947N/A <url>http://maven.forgerock.org/repo/snapshots</url>
5947N/A <releases>
5947N/A <enabled>false</enabled>
5947N/A </releases>
5947N/A </repository>
5947N/A <repository>
5947N/A <id>maven2-repository.dev.java.net</id>
5947N/A <name>Java.net Repository for Maven</name>
5947N/A <url>http://download.java.net/maven/2/</url>
5947N/A </repository>
5947N/A <repository>
5947N/A <id>ops4j</id>
5947N/A <name>OPS4J Maven Repository</name>
5947N/A <url>http://repository.ops4j.org/maven2</url>
5947N/A <releases>
5947N/A <enabled>true</enabled>
5947N/A </releases>
5394N/A <snapshots>
5394N/A <enabled>true</enabled>
5395N/A </snapshots>
5394N/A </repository>
5394N/A <!-- OrientDB -->
5394N/A <repository>
5394N/A <id>orientechnologies-repository</id>
5394N/A <name>Orient Technologies Maven2 Repository</name>
5394N/A <url>http://www.orientechnologies.com/listing/m2</url>
5947N/A <snapshots>
5394N/A <enabled>true</enabled>
5394N/A <updatePolicy>always</updatePolicy>
5394N/A </snapshots>
5394N/A </repository>
5394N/A <repository>
5394N/A <id>maven-restlet</id>
5394N/A <name>Public online Restlet repository</name>
5394N/A <url>http://maven.restlet.org</url>
5394N/A </repository>
5394N/A <repository>
5394N/A <id>com.springsource.repository.bundles.release</id>
5394N/A <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name>
5394N/A <url>http://repository.springsource.com/maven/bundles/release</url>
5394N/A </repository> <repository>
5394N/A <id>com.springsource.repository.bundles.external</id>
5394N/A <name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>
5394N/A <url>http://repository.springsource.com/maven/bundles/external</url>
5394N/A </repository>
5394N/A
5394N/A </repositories>
5394N/A <pluginRepositories>
5394N/A <pluginRepository>
5394N/A <id>docbkx.snapshots</id>
5457N/A <name>Maven Plugin Snapshots</name>
5394N/A <url>http://docbkx-tools.sourceforge.net/snapshots/</url>
5394N/A <releases>
5394N/A <enabled>false</enabled>
5423N/A </releases>
5947N/A <snapshots>
5947N/A <enabled>true</enabled>
5947N/A </snapshots>
5947N/A </pluginRepository>
5947N/A </pluginRepositories>
5947N/A
5947N/A <mailingLists>
5947N/A <mailingList>
5947N/A <name>OpenIDM: Technical communications</name>
5947N/A <post>openidm@forgerock.org</post>
5947N/A <subscribe>http://lists.forgerock.org/mailman/listinfo/openidm</subscribe>
5947N/A <unsubscribe>http://lists.forgerock.org/mailman/listinfo/openidm</unsubscribe>
5443N/A <archive>http://lists.forgerock.org/pipermail/openidm/</archive>
5423N/A </mailingList>
5423N/A <mailingList>
5454N/A <name>OpenIDM: Commit Notificatons</name>
5423N/A <post>commitopenidm@forgerock.org</post>
5423N/A <subscribe>http://lists.forgerock.org/mailman/listinfo/commitopenidm</subscribe>
5454N/A <unsubscribe>http://lists.forgerock.org/mailman/listinfo/commitopenidm</unsubscribe>
5454N/A <archive>http://lists.forgerock.org/pipermail/commitopenidm/</archive>
5454N/A </mailingList>
5454N/A <mailingList>
5423N/A <name>OpenIDM: Developers</name>
5423N/A <post>openidm-dev@forgerock.org</post>
5423N/A <subscribe>http://lists.forgerock.org/mailman/listinfo/openidm-dev</subscribe>
5443N/A <unsubscribe>http://lists.forgerock.org/mailman/listinfo/openidm-dev</unsubscribe>
5443N/A <archive>http://lists.forgerock.org/pipermail/openidm-dev/</archive>
5423N/A </mailingList>
5423N/A <mailingList>
5423N/A <name>OpenIDM: Issue Notifications</name>
5423N/A <post>openidm-issues@forgerock.org</post>
5423N/A <subscribe>http://lists.forgerock.org/mailman/listinfo/openidm-issues</subscribe>
5423N/A <unsubscribe>http://lists.forgerock.org/mailman/listinfo/openidm-issues</unsubscribe>
5423N/A <archive>http://lists.forgerock.org/pipermail/openidm-issues/</archive>
5423N/A </mailingList>
5443N/A </mailingLists>
5443N/A
5443N/A <issueManagement>
5423N/A <system>jira</system>
5423N/A <url>https://bugster.forgerock.org/jira/browse/OPENIDM</url>
5423N/A </issueManagement>
5394N/A
5394N/A <ciManagement>
5394N/A <system>Jenkins</system>
5454N/A <url>http://builds.forgerock.org/job/OpenIDM/</url>
5454N/A <notifiers>
5454N/A <notifier>
5394N/A <type>mail</type>
5394N/A <sendOnError>true</sendOnError>
5454N/A <sendOnFailure>true</sendOnFailure>
5454N/A <sendOnSuccess>false</sendOnSuccess>
5454N/A <sendOnWarning>false</sendOnWarning>
5454N/A <address>openidm-dev@forgerock.org</address>
5454N/A </notifier>
5454N/A </notifiers>
5454N/A </ciManagement>
5394N/A
5394N/A <properties>
5454N/A <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5394N/A <maven.compiler.target>1.6</maven.compiler.target>
5394N/A <maven.compiler.source>1.6</maven.compiler.source>
5454N/A
5454N/A <!-- Site Properties -->
5454N/A <docbkx-src>${basedir}/src/main/docbkx</docbkx-src>
5454N/A <dbstyle-dir>${basedir}/src/main/docbkx-stylesheets</dbstyle-dir>
5454N/A <docbkx-out>${basedir}/target/docbkx</docbkx-out>
5454N/A <site-out>${basedir}/target/site</site-out>
5752N/A <siteDistributionURL>scp://forgerock.org/var/www/vhosts/openidm.forgerock.org/httpdocs</siteDistributionURL>
5752N/A
5752N/A <!-- version management -->
5752N/A <openidm.version>2.0.0-SNAPSHOT</openidm.version>
5454N/A <slf4j.version>1.6.4</slf4j.version>
5454N/A <log4j.version>1.2.16</log4j.version>
5454N/A <!--<orientdb.version>1.0rc7-SNAPSHOT</orientdb.version>-->
5454N/A <orientdb.version>1.0rc6</orientdb.version>
5394N/A <ci.build.number>${env.BUILD_NUMBER}</ci.build.number>
5394N/A <ci.svn.revision>${env.SVN_REVISION}</ci.svn.revision>
5394N/A <jackson.version>1.9.2</jackson.version>
5394N/A <restlet.version>2.0.9</restlet.version>
5751N/A </properties>
5751N/A
5751N/A <modules>
5751N/A <module>openidm-audit</module>
5751N/A <module>openidm-config</module>
5751N/A <module>openidm-core</module>
5751N/A <module>openidm-crypto</module>
5751N/A <module>openidm-enhanced-config</module>
5751N/A <module>openidm-external-email</module>
5751N/A <module>openidm-external-rest</module>
5394N/A <module>openidm-httpcontext</module>
5394N/A <module>openidm-jaas-loginmodule-repo</module>
5474N/A <module>openidm-jetty-fragment</module>
5474N/A <module>openidm-provisioner-openicf</module>
5474N/A <module>openidm-provisioner</module>
5474N/A <module>openidm-repo-jdbc</module>
5474N/A <module>openidm-repo-orientdb</module>
5474N/A <module>openidm-repo</module>
5474N/A <module>openidm-restlet</module>
5947N/A <module>openidm-filter</module>
5474N/A <module>openidm-scheduler</module>
5474N/A <module>openidm-security-jetty</module>
5474N/A <module>openidm-shell</module>
5474N/A <module>openidm-system</module>
5474N/A <module>openidm-ui</module>
5474N/A <module>openidm-util</module>
5474N/A <module>openidm-workflow-activiti</module>
5474N/A <module>openidm-zip</module>
5474N/A </modules>
5474N/A
5474N/A <profiles>
5474N/A <profile>
5474N/A <id>functional-test</id>
5474N/A <activation>
5474N/A <property>
5474N/A <name>enableCiProfile</name>
5474N/A <value>true</value>
5474N/A </property>
5474N/A </activation>
5474N/A <modules>
5474N/A <module>openidm-functional-tests</module>
5947N/A </modules>
5947N/A </profile>
5947N/A <profile>
5394N/A <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>
<groupId>org.forgerock.commons</groupId>
<artifactId>json-fluent</artifactId>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>org.forgerock.commons</groupId>
<artifactId>json-patch</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.forgerock.commons</groupId>
<artifactId>json-crypto-core</artifactId>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>org.forgerock.commons</groupId>
<artifactId>json-schema</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.forgerock.commons</groupId>
<artifactId>org.forgerock.json.resource</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.forgerock.commons</groupId>
<artifactId>org.forgerock.json.resource.restlet</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.forgerock.commons</groupId>
<artifactId>org.forgerock.restlet</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.forgerock.commons</groupId>
<artifactId>org.forgerock.util</artifactId>
<version>1.0.0</version>
</dependency>
<!-- SLF4J -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- Java EE -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
</dependency>
<!-- Restlet -->
<dependency>
<groupId>org.restlet.jee</groupId>
<artifactId>org.restlet</artifactId>
<version>${restlet.version}</version>
</dependency>
<dependency>
<groupId>org.restlet.jee</groupId>
<artifactId>org.restlet.ext.servlet</artifactId>
<version>${restlet.version}</version>
</dependency>
<dependency>
<groupId>org.restlet.jee</groupId>
<artifactId>org.restlet.ext.jackson</artifactId>
<version>${restlet.version}</version>
</dependency>
<!-- Core OSGi -->
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<version>4.2.0</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework</artifactId>
<version>4.0.2</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.main</artifactId>
<version>4.0.2</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.shell</artifactId>
<version>1.4.2</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.shell.tui</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.webconsole</artifactId>
<version>3.1.8</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.configadmin</artifactId>
<version>1.2.8</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.log</artifactId>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.fileinstall</artifactId>
<version>3.1.10</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.compendium</artifactId>
<version>1.4.0</version>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
<version>4.2.0</version>
</dependency>
<!-- Declarative Services support -->
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr.annotations</artifactId>
<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>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.quartz</artifactId>
<version>1.8.4_2</version>
</dependency>
<!-- Jackson JSON parser -->
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<version>${jackson.version}</version>
</dependency>
<!-- Test Dependencies -->
<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert</artifactId>
<version>1.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.3.1</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.8.5</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-scr-plugin</artifactId>
<version>1.7.4</version>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Implementation-Build>${ci.build.number}</Implementation-Build>
<SCM-Revision>${ci.svn.revision}</SCM-Revision>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<author>false</author>
<links>
<link>http://java.sun.com/javase/6/docs/api/</link>
</links>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<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>
<groupId>com.agilejava.docbkx</groupId>
<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>
<draftWatermarkImage>http://docbook.sourceforge.net/release/images/draft.png</draftWatermarkImage>
<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>
<includes>*/OpenIDM-Admin-Guide.xml</includes>
<collectXrefTargets>only</collectXrefTargets>
<targetsFilename>${basedir}/target/admin-guide.target.db</targetsFilename>
<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>
<includes>*/OpenIDM-Dev-Guide.xml</includes>
<collectXrefTargets>only</collectXrefTargets>
<targetsFilename>${basedir}/target/dev-guide.target.db</targetsFilename>
<postProcess>
<delete dir="${docbkx-out}/html/dev-guide"/>
</postProcess>
</configuration>
<goals>
<goal>generate-html</goal>
</goals>
</execution>
<execution>
<id>doc-olinkdb-install-guide</id>
<phase>pre-site</phase>
<configuration>
<includes>*/OpenIDM-Install-Guide.xml</includes>
<collectXrefTargets>only</collectXrefTargets>
<targetsFilename>${basedir}/target/install-guide.target.db</targetsFilename>
<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>
<includes>*/OpenIDM-Reference.xml</includes>
<collectXrefTargets>only</collectXrefTargets>
<targetsFilename>${basedir}/target/reference.target.db</targetsFilename>
<postProcess>
<delete dir="${docbkx-out}/html/reference"/>
</postProcess>
</configuration>
<goals>
<goal>generate-html</goal>
</goals>
</execution>
<execution>
<id>doc-olinkdb-release-notes</id>
<phase>pre-site</phase>
<configuration>
<includes>*/OpenIDM-Release-Notes.xml</includes>
<collectXrefTargets>only</collectXrefTargets>
<targetsFilename>${basedir}/target/release-notes.target.db</targetsFilename>
<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>
<epubCustomization>${dbstyle-dir}/epub/coredoc.xsl</epubCustomization>
<!-- 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'>
<fileset dir='${basedir}/src/main/resources' />
</copy>
<copy todir='${docbkx-out}/epub/dev-guide/OpenIDM-Dev-Guide/images'>
<fileset dir='${docbkx-src}/dev-guide/images' />
</copy>
<copy todir='${docbkx-out}/epub/dev-guide/OpenIDM-Dev-Guide'>
<fileset dir='${basedir}/src/main/resources' />
</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'>
<fileset dir='${basedir}/src/main/resources' />
</copy>
<copy todir='${docbkx-out}/epub/reference/OpenIDM-Reference/images'>
<fileset dir='${docbkx-src}/reference/images' />
</copy>
<copy todir='${docbkx-out}/epub/reference/OpenIDM-Reference'>
<fileset dir='${basedir}/src/main/resources' />
</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'>
<fileset dir='${basedir}/src/main/resources' />
</copy>
</preProcess>
</configuration>
</execution>
<execution>
<id>doc-fo</id>
<phase>pre-site</phase>
<goals>
<goal>generate-pdf</goal>
<goal>generate-rtf</goal>
</goals>
<configuration>
<foCustomization>${dbstyle-dir}/fo/coredoc.xsl</foCustomization>
<highlightSource>1</highlightSource>
</configuration>
</execution>
<execution>
<id>doc-manpages</id>
<phase>pre-site</phase>
<goals>
<goal>generate-manpages</goal>
</goals>
<configuration>
<foCustomization>${dbstyle-dir}/man/manpages.xsl</foCustomization>
</configuration>
</execution>
<execution>
<id>doc-single-html</id>
<phase>pre-site</phase>
<goals>
<goal>generate-html</goal>
</goals>
<configuration>
<chunkedOutput>false</chunkedOutput>
<htmlCustomization>${dbstyle-dir}/html/coredoc.xsl</htmlCustomization>
<htmlStylesheet>css/coredoc.css</htmlStylesheet>
<targetDatabaseDocument>${docbkx-src}/olinkdb-single-html-pages.xml</targetDatabaseDocument>
<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">
<fileset dir="src/main/resources"/>
</copy>
<copy todir="${docbkx-out}/html/dev-guide/images">
<fileset dir="${docbkx-src}/dev-guide/images"/>
</copy>
<copy todir="${docbkx-out}/html/dev-guide">
<fileset dir="src/main/resources"/>
</copy>
<copy todir="${docbkx-out}/html/install-guide/images">
<fileset dir="${docbkx-src}/install-guide/images"/>
</copy>
<copy todir="${docbkx-out}/html/install-guide">
<fileset dir="src/main/resources"/>
</copy>
<copy todir="${docbkx-out}/html/reference/images">
<fileset dir="${docbkx-src}/reference/images"/>
</copy>
<copy todir="${docbkx-out}/html/reference">
<fileset dir="src/main/resources"/>
</copy>
<copy todir="${docbkx-out}/html/release-notes/images">
<fileset dir="${docbkx-src}/release-notes/images"/>
</copy>
<copy todir="${docbkx-out}/html/release-notes">
<fileset dir="src/main/resources"/>
</copy>
</preProcess>
<postProcess>
<copy file='${basedir}/legalnotice.html' todir='${docbkx-out}/html/admin-guide' />
<copy file='${basedir}/legalnotice.html' todir='${docbkx-out}/html/dev-guide' />
<copy file='${basedir}/legalnotice.html' todir='${docbkx-out}/html/install-guide' />
<copy file='${basedir}/legalnotice.html' todir='${docbkx-out}/html/reference' />
<copy file='${basedir}/legalnotice.html' todir='${docbkx-out}/html/release-notes' />
<replace dir="${basedir}/target/docbkx/html/" token="&lt;/head&gt;">
<include name="**/**/*.html" />
<replacevalue>
&lt;script src="http://code.jquery.com/jquery.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
// On double-click, reformat &lt;pre class="screen"&gt; for easy copying.
$(document).ready(function() {
$(".screen").attr("title", "Double-click to unwrap lines.");
});
$(".screen").live("dblclick", function() {
$(this).replaceWith(
"&lt;pre class=\"flat\" title=\"Double-click to wrap long lines.\"&gt;" +
$(this).text().replace(/\n /g," ") + "\n&lt;!--" + $(this).text().replace(/\-&gt;/g,"&amp;#8594;") + "--&gt;" +
"&lt;/pre&gt;");
});
$(".flat").live("dblclick", function() {
$(this).replaceWith(
"&lt;pre class=\"screen\" title=\"Double-click to unwrap lines.\"&gt;" +
$(this).html().replace(/(.|\n)+&lt;!\-\-/m,"").replace(/\-\-\&gt;/,"").replace(/\&amp;#8594;/g,"-&gt;") +
"&lt;/pre&gt;");
});
&lt;/script&gt;
&lt;link rel="shortcut icon" href="http://forgerock.org/favicon.ico"&gt;
&lt;/head&gt;</replacevalue>
</replace>
</postProcess>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>net.sf.docbook</groupId>
<artifactId>docbook-xml</artifactId>
<version>5.0-all</version>
<classifier>resources</classifier>
<type>zip</type>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>net.sf.offo</groupId>
<artifactId>fop-hyph</artifactId>
<version>1.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>net.sf.xslthl</groupId>
<artifactId>xslthl</artifactId>
<version>2.0.2</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<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>
<directory>${docbkx-out}/epub/admin-guide</directory>
<includes>
<include>**/*.epub</include>
</includes>
</resource>
<resource>
<directory>${docbkx-out}/epub/dev-guide</directory>
<includes>
<include>**/*.epub</include>
</includes>
</resource>
<resource>
<directory>${docbkx-out}/epub/install-guide</directory>
<includes>
<include>**/*.epub</include>
</includes>
</resource>
<resource>
<directory>${docbkx-out}/epub/reference</directory>
<includes>
<include>**/*.epub</include>
</includes>
</resource>
<resource>
<directory>${docbkx-out}/epub/release-notes</directory>
<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>
<groupId>org.apache.maven.plugins</groupId>
<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>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.3</version>
<configuration>
<aggregate>${openidm.parent.reports.aggregate}</aggregate>
<windowTitle>OpenIDM ${project.version} Reference</windowTitle>
<linkJavadoc>true</linkJavadoc>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<version>2.4</version>
<configuration>
<aggregate>${openidm.parent.reports.aggregate}</aggregate>
<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>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
<configuration>
<author>false</author>
<links>
<link>http://java.sun.com/javase/6/docs/api/</link>
</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>