pom.xml revision 503c353d31964b01e67395d3b1207f3e408dd774
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose<?xml version="1.0" encoding="UTF-8"?>
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose<!--
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose ! CDDL HEADER START
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose !
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose ! The contents of this file are subject to the terms of the
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose ! Common Development and Distribution License, Version 1.0 only
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose ! (the "License"). You may not use this file except in compliance
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose ! with the License.
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose !
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose ! You can obtain a copy of the license at
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose ! trunk/opendj3/legal-notices/CDDLv1_0.txt
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose ! or http://forgerock.org/license/CDDLv1.0.html.
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose ! See the License for the specific language governing permissions
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose ! and limitations under the License.
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose !
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose ! When distributing Covered Code, include this CDDL HEADER in each
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose ! file and include the License file at
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose ! trunk/opendj3/legal-notices/CDDLv1_0.txt. If applicable,
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose ! add the following below this CDDL HEADER, with the fields enclosed
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose ! by brackets "[]" replaced with your own identifying information:
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose ! Portions Copyright [yyyy] [name of copyright owner]
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose !
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose ! CDDL HEADER END
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose !
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose ! Copyright 2011 ForgeRock AS
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose !
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose-->
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose <!-- This is Maven build file is just a hack in order to leverage
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose Maven's site generation capabilities. It duplicates version information,
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose and the Ant build is not split into phases: we just do it in one single
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose blast during the compile phase -->
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose <modelVersion>4.0.0</modelVersion>
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose <parent>
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose <groupId>org.forgerock.opendj</groupId>
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose <artifactId>opendj-project</artifactId>
885386b7e3f1c3e74b354576b98a092b0835d64eSumit Bose <version>3.0.0-SNAPSHOT</version>
</parent>
<artifactId>opendj-server</artifactId>
<version>2.5.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>OpenDJ Directory Server</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>
<scm>
<url>https://svn.forgerock.org/opendj/trunk/opends/</url>
<connection>scm:svn:https://svn.forgerock.org/opendj/trunk/opends/</connection>
<developerConnection>scm:svn:https://svn.forgerock.org/opendj/trunk/opends/</developerConnection>
<tag>HEAD</tag>
</scm>
<ciManagement>
<system>jenkins</system>
<url>http://builds.forgerock.org/job/OpenDJ%20-%20trunk%20-%20postcommit</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>
<properties>
<ant.home>ext/ant</ant.home>
<BUILD_NUMBER>0</BUILD_NUMBER>
</properties>
<build>
<directory>build</directory>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>clean</id>
<phase>clean</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<ant target="clean" />
</target>
</configuration>
</execution>
<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="precommit" />
</target>
</configuration>
</execution>
<execution>
<id>generate-docs</id>
<phase>pre-site</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<ant target="javadoc" />
<ant target="configguide" />
</target>
</configuration>
</execution>
<execution>
<id>cp-generated-docs</id>
<phase>site</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<copy todir="build/site/configref">
<fileset dir="build/docgen/configuration_guide/" />
</copy>
<copy todir="build/site/javadoc">
<fileset dir="build/javadoc/" />
</copy>
</target>
</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}/lib/OpenDJ.jar</file>
<type>jar</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>tests-only</id>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<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>
</project>