pom.xml revision e433824f46514e6ed863eb6b95c70038331c8c24
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston<?xml version="1.0" encoding="UTF-8"?>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston<!--
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston ! CDDL HEADER START
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant !
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant ! The contents of this file are subject to the terms of the
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant ! Common Development and Distribution License, Version 1.0 only
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant ! (the "License"). You may not use this file except in compliance
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant ! with the License.
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant !
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant ! or http://forgerock.org/license/CDDLv1.0.html.
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant ! See the License for the specific language governing permissions
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant ! and limitations under the License.
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant !
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant ! When distributing Covered Code, include this CDDL HEADER in each
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant ! file and include the License file at
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant ! legal-notices/CDDLv1_0.txt. If applicable,
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant ! add the following below this CDDL HEADER, with the fields enclosed
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant ! by brackets "[]" replaced with your own identifying information:
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant ! Portions Copyright [yyyy] [name of copyright owner]
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant !
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant ! CDDL HEADER END
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant !
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant ! Copyright 2011-2015 ForgeRock AS.
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant !
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant-->
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant<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">
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant <modelVersion>4.0.0</modelVersion>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <parent>
4f24c55d0a4ccbc66ef2562459de159241565fd2csovant <groupId>org.forgerock.opendj</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>opendj-server-parent</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <version>3.0.0-SNAPSHOT</version>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj </parent>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>opendj-server-legacy</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <packaging>jar</packaging>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <name>OpenDJ</name>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <description>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston This module provides the OpenDJ server.
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </description>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <inceptionYear>2010</inceptionYear>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <repositories>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <repository>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <id>oracle-repository</id>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <name>Oracle Maven Repository</name>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <url>http://download.oracle.com/maven</url>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <releases>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <enabled>true</enabled>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </releases>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <snapshots>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <enabled>false</enabled>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </snapshots>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </repository>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </repositories>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <properties>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- General server-wide properties -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <docgen.dir>${project.build.directory}/docgen</docgen.dir>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <jars.dir>${project.build.directory}/jars</jars.dir>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- Product information properties -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <lowerCaseProductName>opendj</lowerCaseProductName>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <patchFixIds />
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <isDebugBuild>false</isDebugBuild>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <docHomepageUrl>http://opendj.forgerock.org/</docHomepageUrl>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <docWikiUrl>http://opendj.forgerock.org/docs.html</docWikiUrl>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <docGuideRefUrl>http://opendj.forgerock.org/opendj-server-legacy/doc/bootstrap/admin-guide/</docGuideRefUrl>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <docGuideAdminUrl>http://opendj.forgerock.org/opendj-server-legacy/doc/bootstrap/admin-guide/</docGuideAdminUrl>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <locales>ca_ES,es,de,fr,ja,ko,pl,zh_CN,zh_TW</locales>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- Other properties -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <checkstyleHeaderLocation>org/forgerock/checkstyle/opendj-java-header</checkstyleHeaderLocation>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- Could be removed once migration to new config framework will be done-->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <old.config.files.path>${project.build.directory}/config/admin/defn/org/opends/server/admin/std</old.config.files.path>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- If we release this project, we need to include the Forgerock binary license -->
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <include.binary.license>${project.build.directory}/legal-notices/</include.binary.license>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <!-- Additional OSGI import package for this module -->
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <opendj.osgi.import.additional>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston org.forgerock.opendj.*;provide:=true,
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston org.forgerock.json.*;provide:=true
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </opendj.osgi.import.additional>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </properties>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependencies>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- ForgeRock libraries -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.forgerock.opendj</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>opendj-cli</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.forgerock.opendj</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>opendj-rest2ldap</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.forgerock.commons</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>i18n-slf4j</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.forgerock.opendj</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>opendj-config</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.forgerock.opendj</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>opendj-server</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.forgerock</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>forgerock-build-tools</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.slf4j</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>slf4j-jdk14</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.forgerock.commons</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>forgerock-util</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.forgerock.commons</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>json-resource</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.forgerock.commons</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>json-resource-http</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.forgerock.http</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>chf-http-core</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.forgerock.http</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>chf-http-servlet</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.forgerock.commons</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>forgerock-audit-core</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.forgerock.commons</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>forgerock-audit-handler-csv</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.forgerock.commons</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>forgerock-audit-json</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- servlet and mail -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>javax.servlet</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>javax.servlet-api</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <version>3.1-b02</version>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.glassfish.grizzly</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>grizzly-http-servlet</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <version>2.3.16</version>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <exclusions>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <exclusion>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>javax.servlet</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>javax.servlet-api</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </exclusion>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </exclusions>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>com.sun.mail</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>javax.mail</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <version>1.5.1</version>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- We need to override testNG version to make test works (see OPENDJ-2389) -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.testng</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>testng</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <version>6.0.1</version>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <scope>test</scope>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj </dependency>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <dependency>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <groupId>org.forgerock.opendj</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>opendj-core</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <type>test-jar</type>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <scope>test</scope>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.freemarker</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>freemarker</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <version>2.3.21</version>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <scope>test</scope>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- Databases -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>com.sleepycat</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>je</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <version>5.0.104</version>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.forgerock.commons</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>forgerock-persistit-core</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <version>4.3.0-SNAPSHOT</version>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependency>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </dependencies>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <build>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <resources>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- Main resources -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <resource>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <directory>src/main/resources</directory>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <filtering>true</filtering>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <excludes>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <exclude>java-stubs/</exclude>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </excludes>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </resource>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- Property files used in test sources -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <resource>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <directory>src/test/java</directory>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <filtering>false</filtering>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <includes>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <include>**/*.properties</include>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </includes>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </resource>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- Images for quicksetup must be explicitely copied from sources -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <resource>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <directory>src/quicksetup</directory>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <filtering>false</filtering>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <includes>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <include>**/images/*.gif</include>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <include>**/images/*.png</include>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </includes>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </resource>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- Images for guitools must be explicitely copied from sources -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <resource>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <directory>src/guitools</directory>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <filtering>false</filtering>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <includes>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <include>**/images/*.gif</include>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <include>**/images/*.png</include>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </includes>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </resource>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- .plist files for macos must be filtered to include build properties -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <resource>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <directory>resource/mac</directory>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <filtering>true</filtering>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <includes>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <include>**/Info.plist</include>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </includes>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </resource>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- Generation of DynamicConstants class from build properties -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <resource>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <directory>src/main/resources/java-stubs</directory>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <filtering>true</filtering>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <targetPath>${project.build.directory}/java-stubs</targetPath>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </resource>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </resources>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <pluginManagement>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <plugins>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!--This plugin's configuration is used to store Eclipse m2e settings only. It
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston has no influence on the Maven build itself. This section instructs Eclipse's
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston Maven builder to invoke the antrun plugin for generating the configuration
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston framework files, e.g. core.manifest, during a *clean* build. Execution
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston during an incremental build is not supported. -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <plugin>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.eclipse.m2e</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>lifecycle-mapping</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <version>1.0.0</version>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <configuration>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <lifecycleMappingMetadata>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <pluginExecutions>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <pluginExecution>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <pluginExecutionFilter>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.apache.maven.plugins</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>maven-antrun-plugin</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <versionRange>[1.7,)</versionRange>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <goals>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <goal>run</goal>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </goals>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </pluginExecutionFilter>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <action>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <execute>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <runOnIncremental>false</runOnIncremental>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </execute>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </action>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </pluginExecution>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </pluginExecutions>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </lifecycleMappingMetadata>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </configuration>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </plugin>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- Define template for jar generation -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <plugin>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>maven-jar-plugin</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <configuration>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <outputDirectory>${jars.dir}</outputDirectory>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <finalName>${product.name}</finalName>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <archive>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <addMavenDescriptor>false</addMavenDescriptor>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <index>true</index>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </archive>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </configuration>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </plugin>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </plugins>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </pluginManagement>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <plugins>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- Clean classes generated outside the build directory -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <plugin>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>maven-clean-plugin</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <configuration>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <filesets>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <fileset>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <directory>${basedir}/src</directory>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <includes>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <include>admin/generated/**</include>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <include>messages/generated/**</include>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </includes>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <followSymlinks>false</followSymlinks>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </fileset>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </filesets>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </configuration>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </plugin>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <plugin>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.apache.maven.plugins</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>maven-dependency-plugin</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <executions>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- Unpack configuration files from opendj-maven-plugin -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- This plugin could be removed once the migration to the new config framework will be done -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <execution>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <id>unpack-config-files</id>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <phase>generate-sources</phase>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <goals>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <goal>unpack</goal>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </goals>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <configuration>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactItems>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactItem>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.forgerock.opendj</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>opendj-maven-plugin</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <version>${project.version}</version>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <type>jar</type>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <overWrite>true</overWrite>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <outputDirectory>${project.build.directory}/config/admin/defn/org/opends/server/admin/std</outputDirectory>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <includes>config/xml/**/*.xml</includes>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </artifactItem>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </artifactItems>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </configuration>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </execution>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- Unpack legacy classes to include them in main jar.
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston This "hacked" approach is needed since using the maven shade plugin
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston is too complex with this multi-artefact maven module. -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <execution>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <id>unpack-legacy-classes</id>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <phase>generate-sources</phase>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <goals>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <goal>unpack</goal>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </goals>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <configuration>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactItems>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactItem>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.forgerock.opendj</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>opendj-legacy</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <version>${project.version}</version>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <type>jar</type>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <overWrite>true</overWrite>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <outputDirectory>${project.build.directory}/classes</outputDirectory>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </artifactItem>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </artifactItems>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </configuration>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </execution>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </executions>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </plugin>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- Generate i18n messages -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <plugin>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <groupId>org.forgerock.commons</groupId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>i18n-maven-plugin</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <executions>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <execution>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <phase>generate-sources</phase>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <goals>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <goal>generate-messages</goal>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </goals>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <configuration>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <resourceDirectory>${basedir}/src/messages</resourceDirectory>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <targetDirectory>${basedir}/src/messages/generated/</targetDirectory>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <force>true</force>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFiles>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- Warning: messageFile must contains at least one "/" -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFile>org/opends/messages/access_control.properties</messageFile>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFile>org/opends/messages/admin.properties</messageFile>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFile>org/opends/messages/admin_tool.properties</messageFile>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFile>org/opends/messages/backend.properties</messageFile>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFile>org/opends/messages/config.properties</messageFile>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFile>org/opends/messages/core.properties</messageFile>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFile>org/opends/messages/dsconfig.properties</messageFile>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFile>org/opends/messages/extension.properties</messageFile>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFile>org/opends/messages/logger.properties</messageFile>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFile>org/opends/messages/plugin.properties</messageFile>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFile>org/opends/messages/protocol.properties</messageFile>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFile>org/opends/messages/quickSetup.properties</messageFile>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFile>org/opends/messages/replication.properties</messageFile>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFile>org/opends/messages/runtime.properties</messageFile>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFile>org/opends/messages/schema.properties</messageFile>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFile>org/opends/messages/task.properties</messageFile>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFile>org/opends/messages/tool.properties</messageFile>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFile>org/opends/messages/utility.properties</messageFile>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <messageFile>org/opends/messages/version.properties</messageFile>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </messageFiles>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </configuration>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </execution>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </executions>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </plugin>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <plugin>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <artifactId>maven-resources-plugin</artifactId>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <executions>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- Copy messages properties files for inclusion in main jar -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <execution>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <id>copy-l10n-messages</id>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <phase>validate</phase>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <goals>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <goal>copy-resources</goal>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj </goals>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <configuration>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <outputDirectory>${project.build.outputDirectory}/org/opends/messages</outputDirectory>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <resources>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <resource>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <directory>src/messages/org/opends/messages</directory>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <filtering>false</filtering>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj </resource>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj </resources>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj </configuration>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj </execution>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <execution>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <id>copy-l10n-config-messages</id>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <phase>validate</phase>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <goals>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <goal>copy-resources</goal>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj </goals>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <configuration>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <outputDirectory>${project.build.outputDirectory}/admin/messages/org/opends/server/admin/std/meta</outputDirectory>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <resources>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <resource>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <directory>src/admin/messages</directory>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <filtering>false</filtering>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </resource>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston </resources>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj </configuration>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj </execution>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <execution>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <id>copy-guitools-resources</id>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <phase>validate</phase>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <goals>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <goal>copy-resources</goal>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj </goals>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <configuration>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <outputDirectory>${project.build.outputDirectory}/org/opends/guitools</outputDirectory>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <resources>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <resource>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <directory>src/main/java/org/opends/guitools</directory>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <filtering>false</filtering>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj </resource>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj </resources>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj </configuration>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj </execution>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <execution>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <id>copy-quicksetup-resources</id>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <phase>validate</phase>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <goals>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <goal>copy-resources</goal>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </goals>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <configuration>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <outputDirectory>${project.build.outputDirectory}/org/opends/quicksetup</outputDirectory>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <resources>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <resource>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <directory>src/main/java/org/opends/quicksetup</directory>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <filtering>false</filtering>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </resource>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </resources>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </configuration>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </execution>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </executions>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </plugin>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <plugin>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <groupId>org.forgerock.opendj</groupId>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <artifactId>opendj-maven-plugin</artifactId>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <executions>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <execution>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <id>generate-bootstrap-manifest</id>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <goals>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <goal>generate-manifest</goal>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </goals>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <configuration>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <classPathProperty>classpath.bootstrap</classPathProperty>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <productJarName>${product.name}</productJarName>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <supportedLocales>${locales}</supportedLocales>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <excludes>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <exclude>org.slf4j:slf4j-jdk14</exclude>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </excludes>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <additionalJars>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <additionalJar>opendj-slf4j-adapter.jar</additionalJar>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <additionalJar>opendj-je-backend-changelog.jar</additionalJar>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </additionalJars>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </configuration>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </execution>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <execution>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <id>generate-bootstrap-client-manifest</id>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <goals>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <goal>generate-manifest</goal>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </goals>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <configuration>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <classPathProperty>classpath.bootstrap-client</classPathProperty>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <productJarName>${product.name}</productJarName>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <supportedLocales>${locales}</supportedLocales>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <additionalJars>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <additionalJar>opendj-je-backend-changelog.jar</additionalJar>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </additionalJars>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </configuration>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </execution>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <!-- Generate configuration classes from XML definitions -->
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <!-- Leave default lifecycle phase once new config framework migration is done -->
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <execution>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <id>generate-config</id>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <!-- <phase>generate-sources</phase> -->
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <phase>none</phase>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <goals>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <goal>generate-config</goal>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </goals>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <configuration>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <packageName>org.forgerock.opendj.server.config</packageName>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <isExtension>false</isExtension>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </configuration>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </execution>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <!-- Create consolidated schema file for use in upgrade -->
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <execution>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <id>creates-base-schema-files</id>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <goals>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <goal>concat</goal>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </goals>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <configuration>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <schemaDirectory>${basedir}/resource/schema</schemaDirectory>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <outputDirectory>${project.build.directory}/upgrade</outputDirectory>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <outputFile>schema.ldif.${buildRevision}</outputFile>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </configuration>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </execution>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams </executions>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj </plugin>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <plugin>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <groupId>org.codehaus.mojo</groupId>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <artifactId>build-helper-maven-plugin</artifactId>
0230fe57f37d4a9d035fef421ea76436ce18b13emaudj <version>1.8</version>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <executions>
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <!-- Take into account several sources directories for the build -->
0e9b81897e43b004be0f330bdd24d1c32b8287b5ugaston <execution>
3b027e67340d58dc53a74d3498d6a75704d39d5agary.williams <id>main-java-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/messages/generated</source>
<source>src/messages/src</source>
<source>src/admin/generated</source>
<source>src/build-tools</source>
<source>${project.build.directory}/java-stubs</source>
</sources>
</configuration>
</execution>
<!-- Parse version to generate properties (major.version, minor.version, ...) -->
<execution>
<id>parse-version</id>
<goals>
<goal>parse-version</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Retrieve the SVN revision number and the build timestamp -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<id>generate-buildnumber</id>
<goals>
<goal>create</goal>
</goals>
<configuration>
<buildNumberPropertyName>buildRevision</buildNumberPropertyName>
<revisionOnScmFailure>-1</revisionOnScmFailure>
</configuration>
</execution>
<execution>
<id>generate-timestamp</id>
<goals>
<goal>create</goal>
</goals>
<configuration>
<format>{0,date,yyyyMMddHHmmss}</format>
<items>
<item>timestamp</item>
</items>
<buildNumberPropertyName>buildDateTime</buildNumberPropertyName>
</configuration>
</execution>
</executions>
</plugin>
<!-- Compile unit tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>default-testCompile</id>
<goals>
<goal>testCompile</goal>
</goals>
<configuration>
<testSourceDirectory>src/test/java</testSourceDirectory>
<showDeprecation>false</showDeprecation>
<showWarnings>false</showWarnings>
<testCompilerArgument>-nowarn</testCompilerArgument>
<testExcludes>
<testExclude>**/org/opends/server/snmp/**</testExclude>
</testExcludes>
</configuration>
</execution>
</executions>
</plugin>
<!-- Disable surefire plugin because all tests are run with failsafe plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<execution>
<id>default-test</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<executions>
<!-- Create opendj-slf4j-adapter manifest -->
<execution>
<id>opendj-slf4j-adapter-manifest</id>
<goals>
<goal>manifest</goal>
</goals>
<configuration>
<buildDirectory>${project.build.directory}/slf4j-adapter-manifest/META-INF</buildDirectory>
<manifestLocation>${project.build.directory}/slf4j-adapter-manifest/META-INF</manifestLocation>
<instructions>
<!-- Export only slf4j adapter -->
<Export-Package>org.opends.server.loggers.slf4j</Export-Package>
<Import-Package>
org.forgerock.i18n,
org.forgerock.i18n.slf4j,
org.opends.messages,
org.opends.server.loggers,
org.slf4j,
org.slf4j.helpers,
org.slf4j.spi
</Import-Package>
</instructions>
</configuration>
</execution>
<!-- Create OpenDJ manifest -->
<execution>
<id>opendj-manifest</id>
<goals>
<goal>manifest</goal>
</goals>
<configuration>
<instructions>
<Bundle-Version>${project.version}</Bundle-Version>
<!-- Do not export packages of this module -->
<Export-Package>!*</Export-Package>
<!-- Import je changelog since it is not shipped in the main jar -->
<Import-Package>
org.opends.server.replication.server.changelog.je,
${opendj.osgi.import}
</Import-Package>
</instructions>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<!-- Package boostrap jar - contains only a manifest with classpath for the server -->
<execution>
<id>build-bootstrap-jar</id>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<finalName>bootstrap</finalName>
<includes>
<include>nothing</include>
</includes>
<archive>
<index>false</index>
<manifestFile>${project.build.outputDirectory}/bootstrap/manifest-bootstrap</manifestFile>
</archive>
</configuration>
</execution>
<!-- Package boostrap-client jar - contains only a manifest with classpath for clients -->
<execution>
<id>build-bootstrap-client-jar</id>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<finalName>bootstrap-client</finalName>
<includes>
<include>nothing</include>
</includes>
<archive>
<index>false</index>
<manifestFile>${project.build.outputDirectory}/bootstrap/manifest-bootstrap-client</manifestFile>
</archive>
</configuration>
</execution>
<!-- Package build-tools jar -->
<execution>
<id>create-build-tools-jar</id>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<finalName>build-tools</finalName>
<includes>
<include>**/messages/Severity.class</include>
<include>**/messages/Category.class</include>
<include>**/messages/Message.class</include>
<include>**/messages/MessagePropertyKey.class</include>
<include>**/messages/MessageDescriptor.class</include>
<include>**/server/types/PublicAPI.class</include>
<include>**/server/types/StabilityLevel.class</include>
<include>**/build/tools/*</include>
</includes>
<archive>
<index>false</index>
</archive>
</configuration>
</execution>
<!-- Package quicksetup jar -->
<execution>
<id>build-quicksetup-jar</id>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<finalName>quicksetup</finalName>
<includes>
<include>**/quicksetup/**</include>
<include>**/org/opends/admin/ads/*</include>
<include>**/org/opends/server/util/SetupUtils.class</include>
<include>**/org/opends/server/util/CertificateManager.class</include>
<include>**/org/opends/server/util/DynamicConstants.class</include>
<include>**/org/opends/server/types/OperatingSystem.class</include>
<include>**/org/opends/messages/Message.class</include>
<include>**/org/opends/messages/MessageBuilder.class</include>
<include>**/org/opends/messages/MessageDescriptor.class</include>
<include>**/org/opends/messages/Severity.class</include>
<include>**/org/opends/messages/Category.class</include>
<include>**/org/opends/messages/QuickSetupMessages.class</include>
<include>**/org/opends/server/types/OpenDsException.class</include>
</includes>
<archive>
<index>false</index>
</archive>
</configuration>
</execution>
<!-- Package OpenDJ SL4J Logger Adapter jar -->
<execution>
<id>build-opendj-slf4j-adapter-jar</id>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<finalName>opendj-slf4j-adapter</finalName>
<includes>
<include>**/org/slf4j/**</include>
<include>**/org/opends/server/loggers/slf4j/**</include>
</includes>
<archive>
<index>false</index>
<manifestFile>${project.build.directory}/slf4j-adapter-manifest/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</execution>
<!-- Package JE backend and changelog jar -->
<execution>
<id>build-opendj-je-backend-changelog-jar</id>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<finalName>opendj-je-backend-changelog</finalName>
<includes>
<include>org/opends/server/backends/jeb/**</include>
<include>org/opends/server/replication/server/changelog/je/**</include>
</includes>
<archive>
<index>false</index>
</archive>
</configuration>
</execution>
<!-- Build localized jars (one per supported locale) -->
<!-- (is there a way to avoid all these repeated executions ?) -->
<execution>
<id>build-caES-jar</id>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>ca_ES</classifier>
<includes>
<include>**/*_ca_ES.properties</include>
</includes>
</configuration>
</execution>
<execution>
<id>build-de-jar</id>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>de</classifier>
<includes>
<include>**/*_de.properties</include>
</includes>
</configuration>
</execution>
<execution>
<id>build-es-jar</id>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>es</classifier>
<includes>
<include>**/*_es.properties</include>
</includes>
</configuration>
</execution>
<execution>
<id>build-fr-jar</id>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>fr</classifier>
<includes>
<include>**/*_fr.properties</include>
</includes>
</configuration>
</execution>
<execution>
<id>build-ja-jar</id>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>ja</classifier>
<includes>
<include>**/*_ja.properties</include>
</includes>
</configuration>
</execution>
<execution>
<id>build-ko-jar</id>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>ko</classifier>
<includes>
<include>**/*_ko.properties</include>
</includes>
</configuration>
</execution>
<execution>
<id>build-pl-jar</id>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>pl</classifier>
<includes>
<include>**/*_pl.properties</include>
</includes>
</configuration>
</execution>
<execution>
<id>build-zh-CN-jar</id>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>zh_CN</classifier>
<includes>
<include>**/*_zh_CN.properties</include>
</includes>
</configuration>
</execution>
<execution>
<id>build-zh-TW-jar</id>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>zh_TW</classifier>
<includes>
<include>**/*_zh_TW.properties</include>
</includes>
</configuration>
</execution>
<!-- Main jar -->
<execution>
<id>default-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<excludes>
<exclude>*.app/**</exclude>
<exclude>java-stubs/**</exclude>
<exclude>bootstrap/**</exclude>
<exclude>META-INF/**</exclude>
<exclude>**/*_ca_ES.properties</exclude>
<exclude>**/*_de.properties</exclude>
<exclude>**/*_es.properties</exclude>
<exclude>**/*_fr.properties</exclude>
<exclude>**/*_ja.properties</exclude>
<exclude>**/*_ko.properties</exclude>
<exclude>**/*_pl.properties</exclude>
<exclude>**/*_zh_CN.properties</exclude>
<exclude>**/*_zh_TW.properties</exclude>
<exclude>org/slf4j/**</exclude>
<exclude>org/opends/server/loggers/slf4j/OpenDJLogger*</exclude>
<exclude>org/opends/server/backends/jeb/**</exclude>
<exclude>org/opends/server/replication/server/changelog/je/**</exclude>
</excludes>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<!-- Package the example plugin in a zip -->
<execution>
<id>build-example-package</id>
<phase>prepare-package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>example-plugin</finalName>
<addMavenDescriptor>false</addMavenDescriptor>
<appendAssemblyId>false</appendAssemblyId>
<attach>false</attach>
<descriptors>
<descriptor>src/main/assembly/example-plugin-assembly.xml</descriptor>
</descriptors>
<formats>
<format>zip</format>
</formats>
</configuration>
</execution>
<!-- Creates the archive folder -->
<execution>
<id>build-opendj-archive</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>${lowerCaseProductName}</finalName>
<outputDirectory>${project.build.directory}/package</outputDirectory>
<appendAssemblyId>false</appendAssemblyId>
<attach>false</attach>
<descriptors>
<descriptor>src/main/assembly/opendj-archive-assembly.xml</descriptor>
</descriptors>
<formats>
<format>dir</format>
</formats>
<archive>
<manifestFile>${project.build.outputDirectory}/bootstrap/manifest-bootstrap</manifestFile>
</archive>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<!-- Temporary solution for configuration classes until migration to new config framework -->
<!-- Change package name and XML namespaces references to match the old config framework -->
<id>configure-config-files</id>
<phase>generate-sources</phase>
<configuration>
<target>
<move todir="${old.config.files.path}">
<fileset dir="${old.config.files.path}/config/xml/org/forgerock/opendj/server/config/" />
</move>
<delete dir="${old.config.files.path}/config" />
<replace dir="${old.config.files.path}" token="org.forgerock.opendj.server.config" value="org.opends.server.admin.std" />
<replace dir="${old.config.files.path}" token="http://opendj.forgerock.org/admin" value="http://www.opends.org/admin" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<!-- Temporary solution for configuration classes until migration to new config framework -->
<id>generate-config</id>
<phase>generate-sources</phase>
<configuration>
<target>
<ant antfile="${basedir}/build.xml">
<target name="generateadmin" />
</ant>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<!-- Copy config.ldif in build dir (needed if snmp config merge is needed) -->
<id>copy-config-ldif</id>
<phase>generate-resources</phase>
<configuration>
<target>
<copy todir="${project.build.directory}/template/config" file="${basedir}/resource/config/config.ldif" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<!-- Generate final zip and attach artefact -->
<execution>
<id>attach-artifact</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<zip destfile="${project.build.directory}/package/${product.name}-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.zip">
<zipfileset dir="${project.build.directory}/package/${lowerCaseProductName}" includes="**/*" excludes="bin/*,template/**/*,lib/_client-script.sh,lib/_script-util.sh,lib/_server-script.sh,lib/_mixed-script.sh,setup,uninstall,upgrade,QuickSetup.app/Contents/MacOS/universalJavaApplicationStub,Uninstall.app/Contents/MacOS/universalJavaApplicationStub,bin/ControlPanel.app/Contents/MacOS/universalJavaApplicationStub" filemode="644" dirmode="755" prefix="opendj" />
<zipfileset dir="${project.build.directory}/package/${lowerCaseProductName}" includes="lib/_client-script.sh,lib/_script-util.sh,lib/_server-script.sh,lib/_mixed-script.sh" filemode="755" dirmode="755" prefix="opendj" />
<zipfileset dir="${project.build.directory}/package/${lowerCaseProductName}" includes="bin/*" filemode="755" dirmode="755" prefix="opendj" />
<zipfileset dir="${project.build.directory}/package/${lowerCaseProductName}" includes="setup,uninstall,upgrade,QuickSetup.app/Contents/MacOS/universalJavaApplicationStub,Uninstall.app/Contents/MacOS/universalJavaApplicationStub,bin/ControlPanel.app/Contents/MacOS/universalJavaApplicationStub" filemode="755" dirmode="755" prefix="opendj" />
<zipfileset dir="${project.build.directory}/package/${lowerCaseProductName}" includes="template/**/*" filemode="444" dirmode="744" prefix="opendj" />
</zip>
<attachartifact file="${project.build.directory}/package/${product.name}-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.zip" type="zip" />
</target>
</configuration>
</execution>
</executions>
</plugin>
<!-- Build javadoc -->
<plugin>
<groupId>org.forgerock.maven.plugins</groupId>
<artifactId>javadoc-updater-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<phase>site</phase>
<goals>
<goal>fixjavadoc</goal>
</goals>
<configuration>
<directory>${project.build.directory}/site/javadoc</directory>
</configuration>
</execution>
</executions>
</plugin>
<!-- Release project -->
<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>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<!--
Profile to run precommit tasks: checkstyle, copyright (TODO), SVN eol check (TODO),
unit-tests
Tests are not run by default due to running time (average of 8-10 minutes).
-->
<profile>
<id>precommit</id>
<build>
<plugins>
<!-- Enforce Checkstyle -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.14</version>
<executions>
<!-- Disable default from parent -->
<execution>
<id>check-src-and-tests</id>
<phase>none</phase>
<goals>
<goal>checkstyle</goal>
</goals>
</execution>
<execution>
<id>check-src-and-tests-alternative</id>
<configuration>
<excludes>generated/org/opends/server/snmp/**,org/opends/messages/**,**/server/admin/std/**,**/config/meta/**,**/config/client/**,**/config/server/**</excludes>
<configLocation>${project.build.outputDirectory}/org/forgerock/checkstyle/opends-checkstyle.xml</configLocation>
<headerLocation>${project.build.outputDirectory}/org/forgerock/checkstyle/opendj.sourceheader</headerLocation>
<suppressionsLocation>${project.build.outputDirectory}/org/forgerock/checkstyle/unit-test-suppressions.xml</suppressionsLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<includeResources>false</includeResources>
<!-- Only output errors if we're not expecting any -->
<consoleOutput>${checkstyleFailOnError}</consoleOutput>
<failsOnError>${checkstyleFailOnError}</failsOnError>
</configuration>
<phase>process-test-classes</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<!--
Run unit/integration tests.
A lot of existing tests requires a running server, which is why the tests are
run using failsafe instead of surefire.
It should be possible in the future to separate tests into unit (no server) and
integration (with server), by using respectively surefire and failsafe plugin
to run them, but it will require identifying them.
We could use an "unit" marker in TestNG groups to do so.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
<configuration>
<testSourceDirectory>src/test/java</testSourceDirectory>
<excludes>
<exclude>org/opends/server/snmp/**</exclude>
<exclude>org/opends/quicksetup/**</exclude>
<exclude>org/opends/quicksetup/**</exclude>
</excludes>
<includes>
<include>**/Test*.java</include>
<include>**/*Test.java</include>
<include>**/*Tests.java</include>
<include>**/*TestCase.java</include>
<include>**/*TestCases.java</include>
</includes>
<properties>
<property>
<name>usedefaultlisteners</name>
<value>false</value>
</property>
<property>
<name>listener</name>
<value>org.opends.server.TestListener</value>
</property>
<property>
<name>excludegroups</name>
<value>slow</value>
</property>
<property>
<name>configfailurepolicy</name>
<value>skip</value>
</property>
</properties>
<systemPropertyVariables>
<org.opends.server.BuildRoot>${basedir}</org.opends.server.BuildRoot>
<org.opends.server.BuildDir>${project.build.directory}</org.opends.server.BuildDir>
<org.opends.test.replicationDbImpl>LOG</org.opends.test.replicationDbImpl>
<!-- <jvmarg value="-Dorg.opends.server.snmp.opendmk=${opendmk.lib.dir}" /> -->
<org.opends.server.CleanupDirectories>true</org.opends.server.CleanupDirectories>
<org.opends.test.suppressOutput>true</org.opends.test.suppressOutput>
<org.opends.test.pauseOnFailure>false</org.opends.test.pauseOnFailure>
<org.opends.test.copyClassesToTestPackage>false</org.opends.test.copyClassesToTestPackage>
</systemPropertyVariables>
<argLine>-server -Xms1024M -Xmx2048M -XX:MaxPermSize=256m</argLine>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!--
Profile to build SNMP extension.
This profile is only actived when command line contains the 'opendmk.lib.dir'
property that must point to the directory where OpenDMK jars are located.
Example: mvn install -Dopendmk.lib.dir=/path/to/opendmk/jars
-->
<profile>
<id>snmp</id>
<activation>
<property>
<name>opendmk.lib.dir</name>
</property>
</activation>
<properties>
<snmp.dir>${basedir}/src/snmp</snmp.dir>
<snmp.gen.dir>${snmp.dir}/generated</snmp.gen.dir>
<snmp.mib.dir>${snmp.dir}/resource/mib</snmp.mib.dir>
<snmp.jar.name>snmp-mib2605</snmp.jar.name>
</properties>
<dependencies>
<dependency>
<groupId>opendmk</groupId>
<artifactId>jdmkrt</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${opendmk.lib.dir}/jdmkrt.jar</systemPath>
</dependency>
<dependency>
<groupId>opendmk</groupId>
<artifactId>jdmktk</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${opendmk.lib.dir}/jdmktk.jar</systemPath>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/snmp/resource</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<!-- Add snmp source directory and snmp generated directory as sources -->
<execution>
<id>snmp-java-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/snmp</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<!-- Cleans SNMP directory -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>createMibDir</id>
<phase>initialize</phase>
<configuration>
<target>
<delete dir="${snmp.gen.dir}/org/opends/server/snmp" />
<mkdir dir="${snmp.gen.dir}/org/opends/server/snmp" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<!-- Append snmp config to the config.ldif -->
<id>generate-config-ldif</id>
<phase>prepare-package</phase>
<configuration>
<target>
<concat destfile="${project.build.directory}/template/config/config.ldif" append="true">
<filelist dir="${snmp.dir}/resource/config" files="config.snmp.ldif" />
</concat>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- MIB generation -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.3.2</version>
<executions>
<execution>
<id>mib-generation</id>
<phase>generate-sources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>java</executable>
<classpathScope>compile</classpathScope>
<arguments>
<argument>-classpath</argument>
<classpath />
<argument>com.sun.jdmk.tools.MibGen</argument>
<argument>-X:use-display-hint</argument>
<argument>-d</argument>
<argument>${snmp.gen.dir}/org/opends/server/snmp</argument>
<argument>-mc</argument>
<argument>-desc</argument>
<argument>-tp</argument>
<argument>org.opends.server.snmp</argument>
<argument>${snmp.mib.dir}/rfc2605.txt</argument>
<argument>${snmp.mib.dir}/mib_core.txt</argument>
<argument>${snmp.mib.dir}/rfc2021.txt</argument>
<argument>${snmp.mib.dir}/rfc2788.txt</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
<!-- Creates snmp jar file -->
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>create-snmp-jar</id>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<outputDirectory>${jars.dir}</outputDirectory>
<finalName>${snmp.jar.name}</finalName>
<includes>
<include>org/opends/server/snmp/**</include>
<include>admin/extension.manifest</include>
</includes>
<archive>
<index>true</index>
<addMavenDescriptor>false</addMavenDescriptor>
<manifestEntries>
<Extension-Name>${snmp.jar.name}</Extension-Name>
<Implementation-Version>${project.version}</Implementation-Version>
<Revision-Number>${buildRevision}</Revision-Number>
</manifestEntries>
</archive>
</configuration>
</execution>
</executions>
</plugin>
<!-- Package the final zip -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>build-opendj-archive</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/package</outputDirectory>
<finalName>${lowerCaseProductName}</finalName>
<descriptors>
<descriptor>src/main/assembly/opendj-snmp-archive-assembly.xml</descriptor>
</descriptors>
<appendAssemblyId>false</appendAssemblyId>
<formats>
<format>dir</format>
</formats>
<archive>
<manifestFile>${project.build.outputDirectory}/bootstrap/manifest-bootstrap</manifestFile>
</archive>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>forgerock-release</id>
<properties>
<!-- Released documentation is published at ForgeRock.com -->
<docHomepageUrl>https://backstage.forgerock.com/#!/docs/opendj</docHomepageUrl>
<docWikiUrl>https://backstage.forgerock.com/#!/docs/opendj</docWikiUrl>
<docGuideRefUrl>https://backstage.forgerock.com/#!/docs/opendj/${project.version}/admin-guide</docGuideRefUrl>
<docGuideAdminUrl>https://backstage.forgerock.com/#!/docs/opendj/${project.version}/admin-guide</docGuideAdminUrl>
</properties>
</profile>
<profile>
<!--
Build the configuration reference, reference documentation source files,
and assemble artifacts from the results.
The artifacts are used when preparing the product documentation.
-->
<id>docs</id>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-source-dependencies</id>
<phase>prepare-package</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.forgerock.opendj</groupId>
<artifactId>opendj-core</artifactId>
<version>${project.version}</version>
<classifier>sources</classifier>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.forgerock.opendj</groupId>
<artifactId>opendj-doc-maven-plugin</artifactId>
<!--
Configuration reference generation requires
that opendj-config be on the runtime classpath for the plugin.
It is not enough to declare it as a dependency of this module.
-->
<dependencies>
<dependency>
<groupId>org.forgerock.opendj</groupId>
<artifactId>opendj-config</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>generate-configuration-reference-doc</id>
<phase>compile</phase>
<goals>
<goal>generate-config-ref</goal>
</goals>
</execution>
<execution>
<id>generate-global-acis-table-for-doc</id>
<phase>prepare-package</phase>
<goals>
<goal>generate-global-acis-table</goal>
</goals>
</execution>
<execution>
<id>generate-schema-reference-doc</id>
<phase>prepare-package</phase>
<goals>
<goal>generate-schema-ref</goal>
</goals>
</execution>
<execution>
<id>generate-log-reference-doc</id>
<goals>
<goal>generate-xml-messages-doc</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<messagesDirectory>${basedir}/src/messages/org/opends/messages</messagesDirectory>
<outputDirectory>${project.build.directory}/docbkx-sources/shared</outputDirectory>
<messageFileNames>
<!-- for xxx_yyy.properties generates a log-ref-xxx-yyy.xml file -->
<messageFileName>admin</messageFileName>
<messageFileName>backend</messageFileName>
<messageFileName>config</messageFileName>
<messageFileName>core</messageFileName>
<messageFileName>dsconfig</messageFileName>
<messageFileName>extension</messageFileName>
<messageFileName>logger</messageFileName>
<messageFileName>plugin</messageFileName>
<messageFileName>protocol</messageFileName>
<messageFileName>replication</messageFileName>
<messageFileName>schema</messageFileName>
<messageFileName>task</messageFileName>
<messageFileName>tool</messageFileName>
<messageFileName>utility</messageFileName>
<!-- Ignore following message files as we document only serious errors. -->
<!-- <messageFileName>access_control</messageFileName> -->
<!-- <messageFileName>admin_tool</messageFileName> -->
<!-- <messageFileName>quicksetup.properties</messageFileName> -->
<!-- <messageFileName>runtime_information.properties</messageFileName> -->
<!-- <messageFileName>version.properties</messageFileName> -->
</messageFileNames>
</configuration>
</execution>
<execution>
<id>generate-result-code-doc</id>
<phase>prepare-package</phase>
<goals>
<goal>generate-result-code-doc</goal>
</goals>
<configuration>
<resultCodeSource>${project.build.directory}/dependency/org/forgerock/opendj/ldap/ResultCode.java</resultCodeSource>
<xmlFile>${project.build.directory}/docbkx-sources/shared/appendix-ldap-result-codes.xml</xmlFile>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>config-ref</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/config-ref-assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
<execution>
<id>generated-doc-sources</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/generated-doc-sources-assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>