pom.xml revision 62da52c144e8d6ba69f611c45deeeb4f985ea24c
<?xml version="1.0" encoding="UTF-8"?>
<!--
! CDDL HEADER START
!
! The contents of this file are subject to the terms of the
! Common Development and Distribution License, Version 1.0 only
! (the "License"). You may not use this file except in compliance
! with the License.
!
! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
! or http://forgerock.org/license/CDDLv1.0.html.
! See the License for the specific language governing permissions
! and limitations under the License.
!
! When distributing Covered Code, include this CDDL HEADER in each
! file and include the License file at legal-notices/CDDLv1_0.txt.
! If applicable, add the following below this CDDL HEADER, with the
! fields enclosed by brackets "[]" replaced with your own identifying
! information:
! Portions Copyright [yyyy] [name of copyright owner]
!
! CDDL HEADER END
!
! Copyright 2011-2013 ForgeRock AS
!
--><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>
<groupId>org.forgerock</groupId>
<artifactId>forgerock-parent</artifactId>
<version>1.1.0</version>
</parent>
<groupId>org.forgerock.opendj</groupId>
<artifactId>opendj-project</artifactId>
<version>2.5.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>OpenDJ Directory Services Project</name>
<description>
OpenDJ is a new LDAPv3 compliant directory service, developed for the Java
platform, providing a high performance, highly available and secure store
for the identities managed by enterprises.
</description>
<inceptionYear>2011</inceptionYear>
<url>http://opendj.forgerock.org</url>
<issueManagement>
<system>Jira</system>
<url>https://bugster.forgerock.org/jira/browse/OPENDJ</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>OpenDJ Users Mailing List</name>
<archive>http://lists.forgerock.org/pipermail/opendj/</archive>
<subscribe>https://lists.forgerock.org/mailman/listinfo/opendj/</subscribe>
<unsubscribe>https://lists.forgerock.org/mailman/listinfo/opendj/</unsubscribe>
<post>opendj@forgerock.org</post>
</mailingList>
<mailingList>
<name>OpenDJ Developers Mailing List</name>
<archive>http://lists.forgerock.org/pipermail/opendj-dev/</archive>
<subscribe>https://lists.forgerock.org/mailman/listinfo/opendj-dev/</subscribe>
<unsubscribe>https://lists.forgerock.org/mailman/listinfo/opendj-dev/</unsubscribe>
<post>opendj-dev@forgerock.org</post>
</mailingList>
</mailingLists>
<scm>
<url>https://svn.forgerock.org/opendj/branches/b2.6-sdk</url>
<connection>scm:svn:https://svn.forgerock.org/opendj/branches/b2.6-sdk</connection>
<developerConnection>scm:svn:https://svn.forgerock.org/opendj/branches/b2.6-sdk</developerConnection>
</scm>
<ciManagement>
<system>jenkins</system>
<url>http://builds.forgerock.org/job/OpenDJ3</url>
<notifiers>
<notifier>
<type>mail</type>
<sendOnError>true</sendOnError>
<sendOnFailure>true</sendOnFailure>
<sendOnSuccess>false</sendOnSuccess>
<sendOnWarning>false</sendOnWarning>
<address>opendj-dev@forgerock.org</address>
</notifier>
</notifiers>
</ciManagement>
<distributionManagement>
<site>
<id>forgerock.org</id>
<name>OpenDJ Community</name>
<url>${siteDistributionURL}</url>
</site>
</distributionManagement>
<modules>
<module>opendj-ldap-sdk</module>
<module>opendj-ldap-toolkit</module>
<module>opendj-ldap-sdk-examples</module>
<module>opendj-rest2ldap</module>
<module>opendj-rest2ldap-servlet</module>
<module>opendj-server2x-adapter</module>
</modules>
<properties>
<currentSDKversion>${project.version}</currentSDKversion>
<stableSDKversion>version.not.defined</stableSDKversion>
<currentServerVersion>${project.version}</currentServerVersion>
<stableServerVersion>2.4.6</stableServerVersion>
<docTargetVersion>2.6.0</docTargetVersion>
<sdkDocTargetVersion>2.6.0</sdkDocTargetVersion>
<siteDistributionURL>scp://forgerock.org/var/www/vhosts/opendj.forgerock.org/httpdocs</siteDistributionURL>
<i18nFrameworkVersion>1.4.0</i18nFrameworkVersion>
<grizzlyFrameworkVersion>2.3</grizzlyFrameworkVersion>
<forgerockRestVersion>2.0.0</forgerockRestVersion>
<gaId>UA-23412190-8</gaId>
<!-- OSGi bundles properties -->
<opendj.osgi.import.additional />
<!--
| Use provide:=true to disallow mixing OpenDJ and ForgeRock resource versions.
| it change the version policy from == + to == =+ [2.0,3) [2.0,2.1)
-->
<opendj.osgi.import>
org.forgerock.opendj.*;provide:=true,
org.forgerock.json.*;provide:=true,
${opendj.osgi.import.additional},
*
</opendj.osgi.import>
<!--
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>
<checkstyleHeaderLocation>org/forgerock/checkstyle/opendj-java-header</checkstyleHeaderLocation>
<frDocPluginVersion>1.2.0</frDocPluginVersion>
<!-- Permit doc build to override relative locations of non DocBook content -->
<configRefBase>http://opendj.forgerock.org/opendj-server/configref/</configRefBase>
<serverJavadocBase>http://opendj.forgerock.org/opendj-server/javadoc/</serverJavadocBase>
<sdkJavadocBase>http://opendj.forgerock.org/opendj-ldap-sdk/apidocs/</sdkJavadocBase>
<!-- Filtered docbkx sources -->
<docbkxSourceDirectory>target/docbkx-filtered</docbkxSourceDirectory>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>filter-docbkx-resources</id>
<phase>pre-site</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<inherited>false</inherited>
<configuration>
<!-- Filter XML to allow ${property} in attribute values. -->
<outputDirectory>${docbkxSourceDirectory}</outputDirectory>
<resources>
<resource>
<directory>src/main/docbkx</directory>
<filtering>true</filtering>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
<resource>
<directory>src/main/docbkx</directory>
<filtering>false</filtering>
<excludes>
<exclude>**/*.xml</exclude>
</excludes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-log-ref</id>
<phase>pre-site</phase>
<goals>
<goal>unpack</goal>
</goals>
</execution>
</executions>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.forgerock.opendj</groupId>
<artifactId>opendj-log-ref</artifactId>
<version>${project.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/logref</outputDirectory>
<includes>**/*.xml</includes>
</artifactItem>
</artifactItems>
</configuration>
</plugin>
<plugin>
<groupId>org.forgerock.commons</groupId>
<artifactId>forgerock-doc-maven-plugin</artifactId>
<version>${frDocPluginVersion}</version>
<inherited>false</inherited>
<configuration>
<docbkxSourceDirectory>${docbkxSourceDirectory}</docbkxSourceDirectory> <!-- Use filtered XML -->
<projectName>OpenDJ</projectName>
<googleAnalyticsId>${gaId}</googleAnalyticsId>
</configuration>
<executions>
<execution>
<id>run-jcite</id>
<phase>pre-site</phase>
<configuration>
<sourcePaths>
<sourcePath>${project.basedir}/opendj-ldap-sdk-examples/src/main/java</sourcePath>
</sourcePaths>
</configuration>
<goals>
<goal>jcite</goal>
</goals>
</execution>
<execution>
<id>copy-common</id>
<phase>pre-site</phase>
<goals>
<goal>boilerplate</goal>
</goals>
</execution>
<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>
<pluginManagement>
<plugins>
<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>-server</argLine>
<properties>
<property>
<name>usedefaultlisteners</name>
<value>false</value>
</property>
<property>
<name>listener</name>
<value>org.forgerock.testng.ForgeRockTestListener</value>
</property>
</properties>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.7</version>
<extensions>true</extensions>
<configuration>
<instructions>
<!--
| Remove the by default removed headers plus some other to make cleaner the generated MANIFEST.MF
-->
<_removeheaders>
Bnd-LastModified,Built-By,Private-Package,Tool,Created-By,Build-Jdk,Include-Resource,
Ignore-Package,Private-Package,Bundle-DocURL
</_removeheaders>
<Import-Package>${opendj.osgi.import}</Import-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<links>
<link>http://commons.forgerock.org/i18n-framework/i18n-core/apidocs</link>
</links>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<locales>en</locales>
</configuration>
</plugin>
<!--This plugin's configuration is used to store Eclipse m2e settings
only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.forgerock.commons</groupId>
<artifactId>i18n-maven-plugin</artifactId>
<versionRange>[1.2.0,)</versionRange>
<goals>
<goal>generate-messages</goal>
</goals>
</pluginExecutionFilter>
<action>
<execute>
<runOnIncremental>true</runOnIncremental>
<runOnConfiguration>true</runOnConfiguration>
</execute>
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<versionRange>[1.0,)</versionRange>
<goals>
<goal>enforce</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<versionRange>[1.4,)</versionRange>
<goals>
<goal>reserve-network-port</goal>
</goals>
</pluginExecutionFilter>
<action><ignore /></action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
<plugin>
<groupId>org.forgerock.commons</groupId>
<artifactId>i18n-maven-plugin</artifactId>
<version>${i18nFrameworkVersion}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.2.2</version>
<inherited>true</inherited>
<configuration>
<!-- Disable inherited configuration -->
<autoVersionSubmodules>true</autoVersionSubmodules>
<mavenExecutorId>forked-path</mavenExecutorId>
<useReleaseProfile>true</useReleaseProfile>
<suppressCommitBeforeTag>false</suppressCommitBeforeTag>
<goals>deploy</goals>
<arguments>-Penforce</arguments>
<tagNameFormat>@{project.version}</tagNameFormat>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</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>index</report>
<report>mailing-list</report>
<report>issue-tracking</report>
<report>license</report>
<report>scm</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
<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>
<repository>
<id>jvnet-nexus-snapshots</id>
<url>https://maven.java.net/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.forgerock.commons</groupId>
<artifactId>i18n-core</artifactId>
<version>${i18nFrameworkVersion}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert</artifactId>
<version>1.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.8.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.0.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<licenses>
<license>
<name>CDDL-1.0</name>
<url>http://www.opensource.org/licenses/cddl1.php</url>
<comments>Common Development and Distribution License (CDDL) 1.0.
This license applies to OpenDJ source code as indicated in the
source files.</comments>
<distribution>repo</distribution>
</license>
<license>
<name>CC BY-NC-ND 3.0</name>
<url>http://creativecommons.org/licenses/by-nc-nd/3.0/</url>
<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>
</project>