From 2d95b78212f43184e55fa6d66102940ff9480cbd Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Mon, 09 Mar 2015 10:45:05 +0000
Subject: [PATCH] OPENDJ-1772: Add legal-notices folder in rpm doc

---
 opendj-sdk/opendj-server-legacy/pom.xml |   26 +++++---------------------
 1 files changed, 5 insertions(+), 21 deletions(-)

diff --git a/opendj-sdk/opendj-server-legacy/pom.xml b/opendj-sdk/opendj-server-legacy/pom.xml
index 4bc1644..3671bd2 100644
--- a/opendj-sdk/opendj-server-legacy/pom.xml
+++ b/opendj-sdk/opendj-server-legacy/pom.xml
@@ -1591,32 +1591,16 @@
                   <sources>
                     <source>
                       <location>${project.build.directory}/package/${lowerCaseProductName}</location>
-                      <excludes>
-                        <exclude>**/template/**</exclude>
-                        <exclude>**/legals/**</exclude>
-                        <exclude>**/snmp/**</exclude>
-                        <exclude>**/legal-notices/**</exclude>
-                      </excludes>
                       <includes>
                         <include>**/*.doc</include>
                         <include>**/*.txt</include>
                         <include>**/*example-plugin*</include>
                       </includes>
-                    </source>
-                  </sources>
-                </mapping>
-
-                <!-- Add legal notices documentation sources under doc main folder -->
-                <mapping>
-                  <documentation>true</documentation>
-                  <directory>/usr/share/doc/${lowerCaseProductName}-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}</directory>
-                  <sources>
-                    <source>
-                      <location>${project.build.directory}/package/${lowerCaseProductName}/legal-notices</location>
-                      <includes>
-                        <include>**/*.doc</include>
-                        <include>**/*.txt</include>
-                      </includes>
+                      <excludes>
+                        <exclude>**/template/**</exclude>
+                        <exclude>**/legals/**</exclude>
+                        <exclude>**/snmp/**</exclude>
+                      </excludes>
                     </source>
                   </sources>
                 </mapping>

--
Gitblit v1.10.0