From 1fb5a8e05418c6ed442e445ff922b0a29cffd1aa Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Mon, 20 Feb 2012 14:32:35 +0000
Subject: [PATCH] Finally figure out Maven voodoo to get opendmk property passed to release:perform

---
 opends/pom.xml |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/opends/pom.xml b/opends/pom.xml
index 0776cc9..75ea88c 100644
--- a/opends/pom.xml
+++ b/opends/pom.xml
@@ -169,6 +169,16 @@
           </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>

--
Gitblit v1.10.0