From 0e18f306907678491738c7e4590c32e1d81bddcc Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Wed, 15 Jan 2014 11:45:36 +0000
Subject: [PATCH] Remove DynamicConstants from opendj-config and replace it with resource based ProductInformation in opendj-server module.
---
opendj-server/pom.xml | 62 ++++++++++++++++++++++++++++++
1 files changed, 61 insertions(+), 1 deletions(-)
diff --git a/opendj-server/pom.xml b/opendj-server/pom.xml
index 281dce6..5acd4e1 100644
--- a/opendj-server/pom.xml
+++ b/opendj-server/pom.xml
@@ -35,9 +35,19 @@
<artifactId>opendj-server</artifactId>
<name>OpenDJ Server</name>
<description>
- This module includes the core functionality of the OpenDJ LDAP Directory Server.
+ OpenDJ LDAP embedded directory server.
</description>
<packaging>jar</packaging>
+ <properties>
+ <!-- Product properties -->
+ <shortProductName>OpenDJ</shortProductName>
+ <issuesFixIds></issuesFixIds>
+ <isDebugBuild>false</isDebugBuild>
+ <docReferenceHome>http://opendj.forgerock.org/</docReferenceHome>
+ <docReferenceWiki>http://opendj.forgerock.org/docs.html</docReferenceWiki>
+ <docQuickRefGuide>http://opendj.forgerock.org/doc/admin-guide/index.html</docQuickRefGuide>
+ <adminGuideUrl>http://opendj.forgerock.org/doc/admin-guide/index.html</adminGuideUrl>
+ </properties>
<dependencies>
<dependency>
<groupId>org.forgerock.opendj</groupId>
@@ -81,8 +91,58 @@
</dependency>
</dependencies>
<build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
<plugins>
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.8</version>
+ <executions>
+ <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.2</version>
+ <executions>
+ <execution>
+ <id>generate-buildnumber</id>
+ <goals>
+ <goal>create</goal>
+ </goals>
+ <configuration>
+ <useLastCommittedRevision>true</useLastCommittedRevision>
+ <buildNumberPropertyName>buildRevision</buildNumberPropertyName>
+ </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>
+ <plugin>
<groupId>org.forgerock.commons</groupId>
<artifactId>i18n-maven-plugin</artifactId>
<executions>
--
Gitblit v1.10.0