pom.xml revision 9eda38ceea9e23ecaf607534cd0f6954b2df0e0a
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose<?xml version="1.0" encoding="UTF-8"?>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose<!--
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose ! CDDL HEADER START
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose !
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose ! The contents of this file are subject to the terms of the
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose ! Common Development and Distribution License, Version 1.0 only
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose ! (the "License"). You may not use this file except in compliance
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose ! with the License.
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose !
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose ! You can obtain a copy of the license at
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose ! trunk/opendj3/legal-notices/CDDLv1_0.txt
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose ! or http://forgerock.org/license/CDDLv1.0.html.
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose ! See the License for the specific language governing permissions
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose ! and limitations under the License.
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose !
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose ! When distributing Covered Code, include this CDDL HEADER in each
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose ! file and include the License file at
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose ! trunk/opendj3/legal-notices/CDDLv1_0.txt. If applicable,
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose ! add the following below this CDDL HEADER, with the fields enclosed
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose ! by brackets "[]" replaced with your own identifying information:
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose ! Portions Copyright [yyyy] [name of copyright owner]
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose !
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose ! CDDL HEADER END
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose !
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose ! Copyright 2011-2013 ForgeRock AS
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose !
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose-->
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <!-- This is Maven build file is just a hack in order to leverage
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose Maven's site generation capabilities. It duplicates version information,
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose and the Ant build is not split into phases: we just do it in one single
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose blast during the compile phase -->
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <modelVersion>4.0.0</modelVersion>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <parent>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <groupId>org.forgerock.opendj</groupId>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <artifactId>opendj-project</artifactId>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <version>2.7.0-SNAPSHOT</version>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </parent>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <artifactId>opendj-server</artifactId>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <packaging>pom</packaging>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <name>OpenDJ Directory Server</name>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <description>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose OpenDJ is a new LDAPv3 compliant directory service, developed for the Java
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose platform, providing a high performance, highly available and secure store
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose for the identities managed by enterprises.
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </description>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <inceptionYear>2006</inceptionYear>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <scm>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <url>https://svn.forgerock.org/opendj/trunk/opends/</url>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <connection>scm:svn:https://svn.forgerock.org/opendj/trunk/opends/</connection>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <developerConnection>scm:svn:https://svn.forgerock.org/opendj/trunk/opends/</developerConnection>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <tag>HEAD</tag>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </scm>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <ciManagement>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <system>jenkins</system>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <url>http://builds.forgerock.org/job/OpenDJ%20-%20trunk%20-%20postcommit</url>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <notifiers>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <notifier>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <type>mail</type>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <sendOnError>true</sendOnError>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <sendOnFailure>true</sendOnFailure>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <sendOnSuccess>false</sendOnSuccess>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <sendOnWarning>false</sendOnWarning>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <address>opendj-dev@forgerock.org</address>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </notifier>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </notifiers>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </ciManagement>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <repositories>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <repository>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <id>forgerock-staging-repository</id>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <name>ForgeRock Release Repository</name>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <url>http://maven.forgerock.org/repo/releases</url>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <snapshots>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <enabled>false</enabled>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </snapshots>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </repository>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <repository>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <id>forgerock-snapshots-repository</id>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <name>ForgeRock Snapshot Repository</name>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <url>http://maven.forgerock.org/repo/snapshots</url>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <releases>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <enabled>false</enabled>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </releases>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </repository>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </repositories>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <properties>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <ant.home>ext/ant</ant.home>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <BUILD_NUMBER>0</BUILD_NUMBER>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </properties>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <build>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <directory>build</directory>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <plugins>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <plugin>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <artifactId>maven-antrun-plugin</artifactId>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <inherited>false</inherited>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <executions>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <execution>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <id>clean</id>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <phase>clean</phase>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <goals>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <goal>run</goal>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </goals>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <configuration>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <target>
35f3a213e0f0f2c60e9b5f095a05388e21092ae2Sumit Bose <ant target="clean" />
35f3a213e0f0f2c60e9b5f095a05388e21092ae2Sumit Bose </target>
35f3a213e0f0f2c60e9b5f095a05388e21092ae2Sumit Bose </configuration>
35f3a213e0f0f2c60e9b5f095a05388e21092ae2Sumit Bose </execution>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <execution>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <id>compile</id>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <phase>compile</phase>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <goals>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <goal>run</goal>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </goals>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <configuration>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <target>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <!-- We need to significantly refactor build.xml in order
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose to split this up any more -->
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <ant target="precommit" />
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </target>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </configuration>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </execution>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <execution>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <id>generate-log-reference</id>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <phase>compile</phase>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <goals>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <goal>run</goal>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </goals>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <configuration>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <target>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <ant target="generateLogReference" />
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </target>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </configuration>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </execution>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <execution>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <id>generate-docs</id>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <phase>pre-site</phase>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <goals>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <goal>run</goal>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </goals>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <configuration>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <target>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <ant target="javadoc" />
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <ant target="configguide" />
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </target>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </configuration>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </execution>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <execution>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <id>cp-generated-docs</id>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <phase>site</phase>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <goals>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <goal>run</goal>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </goals>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <configuration>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <target>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <copy todir="build/site/configref">
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <fileset dir="build/docgen/configuration_guide/" />
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </copy>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <copy todir="build/site/javadoc">
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <fileset dir="build/javadoc/" />
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </copy>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </target>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </configuration>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </execution>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </executions>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose </plugin>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <plugin>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <groupId>org.forgerock.maven.plugins</groupId>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <artifactId>javadoc-updater-maven-plugin</artifactId>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <version>1.0.0</version>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <executions>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <execution>
bf6c3f07d653d474da9e43b2b7cced57fc4ea069Sumit Bose <phase>site</phase>
<goals>
<goal>fixjavadoc</goal>
</goals>
<configuration>
<directory>build/site/javadoc</directory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>parse-version</id>
<goals>
<goal>parse-version</goal>
</goals>
</execution>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>build/package/OpenDJ-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.zip</file>
<type>zip</type>
</artifact>
<artifact>
<file>build/package/OpenDJ-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}-DSML.war</file>
<type>war</type>
</artifact>
<artifact>
<file>build/package/OpenDJ-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}/lib/OpenDJ.jar</file>
<type>jar</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<!-- Required for release:perform: the parent pom specifies a value
for "arguments" in the plugin configuration. This prevents
command line setting of the option. -->
<arguments>-Penforce -Dopendmk.lib.dir=${opendmk.lib.dir}</arguments>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>tests-only</id>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<inherited>false</inherited>
<executions>
<execution>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<!-- We need to significantly refactor build.xml in order
to split this up any more -->
<ant target="test" />
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<modules>
<module>opendj-log-ref</module>
</modules>
</project>