From 5141d85258d5b0fa075efd0b57999d9cbcfd5940 Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Thu, 25 Jun 2015 14:20:52 +0000
Subject: [PATCH] OPENDJ-2173 Add license files in rpm package

---
 opendj-sdk/opendj-server-legacy/pom.xml |   41 -----------------------------------------
 1 files changed, 0 insertions(+), 41 deletions(-)

diff --git a/opendj-sdk/opendj-server-legacy/pom.xml b/opendj-sdk/opendj-server-legacy/pom.xml
index d40827f..d672838 100644
--- a/opendj-sdk/opendj-server-legacy/pom.xml
+++ b/opendj-sdk/opendj-server-legacy/pom.xml
@@ -2375,27 +2375,6 @@
                   </sources>
                 </mapping>
 
-                <!-- Add documentation sources -->
-                <mapping>
-                  <documentation>true</documentation>
-                  <directory>/usr/share/doc/${lowerCaseProductName}-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}</directory>
-                  <sources>
-                    <source>
-                      <location>${project.build.directory}/package/${lowerCaseProductName}</location>
-                      <includes>
-                        <include>**/*.doc</include>
-                        <include>**/*.txt</include>
-                        <include>**/*example-plugin*</include>
-                      </includes>
-                      <excludes>
-                        <exclude>**/template/**</exclude>
-                        <exclude>**/legals/**</exclude>
-                        <exclude>**/snmp/**</exclude>
-                      </excludes>
-                    </source>
-                  </sources>
-                </mapping>
-
                 <!-- Add executable scripts and libraries -->
                 <mapping>
                   <directory>${rpm.prefix}</directory>
@@ -2452,31 +2431,11 @@
                         <exclude>**/README</exclude>
                         <exclude>**/*.app/**</exclude>
                         <exclude>**/*.app</exclude>
-                        <exclude>**/legal-notices</exclude>
-                        <exclude>**/*.doc</exclude>
-                        <exclude>**/*.txt</exclude>
-                        <exclude>**/*example-plugin*</exclude>
                       </excludes>
                     </source>
                   </sources>
                 </mapping>
 
-                <!-- Add files excluded in documentation mapping -->
-                <mapping>
-                  <directory>${rpm.prefix}</directory>
-                  <sources>
-                    <source>
-                      <location>${project.build.directory}/package/${lowerCaseProductName}</location>
-                      <includes>
-                        <include>**/legals/**/*.doc</include>
-                        <include>**/legals/**/*.txt</include>
-                        <include>**/snmp/**/*.doc</include>
-                        <include>**/snmp/**/*.txt</include>
-                      </includes>
-                    </source>
-                  </sources>
-                </mapping>
-
                 <!-- Add template dir -->
                 <mapping>
                   <directory>${rpm.prefix}/template</directory>

--
Gitblit v1.10.0