From 4e7cdf4d9033cc5e967b427a76000453d7f15180 Mon Sep 17 00:00:00 2001
From: Bruno Lavit <bruno.lavit@forgerock.com>
Date: Thu, 20 Oct 2016 07:25:57 +0000
Subject: [PATCH] RELENG-70 - New mechanism to get the ForgeRock binary license using ForgeRock parent 2.0.10

---
 opendj-ldap-toolkit/src/main/assembly/descriptor.xml |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/opendj-ldap-toolkit/src/main/assembly/descriptor.xml b/opendj-ldap-toolkit/src/main/assembly/descriptor.xml
index ab4fdff..2394d51 100644
--- a/opendj-ldap-toolkit/src/main/assembly/descriptor.xml
+++ b/opendj-ldap-toolkit/src/main/assembly/descriptor.xml
@@ -43,6 +43,17 @@
             </includes>
         </fileSet>
 
+        <!-- Get the ForgeRock binary license (if exists) -->
+        <fileSet>
+            <directory>${project.build.directory}/legal-notices</directory>
+            <outputDirectory>legal-notices</outputDirectory>
+            <directoryMode>0755</directoryMode>
+            <fileMode>0644</fileMode>
+            <includes>
+                <include>*.txt</include>
+            </includes>
+        </fileSet>
+
         <!-- Include CDDLv1_0.txt -->
         <fileSet>
             <directory>${basedir}/../legal-notices</directory>

--
Gitblit v1.10.0