mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Gaetan Boismal
09.45.2015 66906a3b88186486f7e16d9569d66ed4a35e3aa8
OPENDJ-1772: Add legal-notices folder in rpm doc
1 files modified
26 ■■■■ changed files
opendj-server-legacy/pom.xml 26 ●●●● patch | view | raw | blame | history
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>