You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2016/03/02 12:54:41 UTC

[2/3] directory-fortress-realm git commit: Excluded some more third party licences from rat checks. Added the apache-release profile

Excluded some more third party licences from rat checks. Added the apache-release profile


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-realm/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-realm/commit/0f35b0f3
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-realm/tree/0f35b0f3
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-realm/diff/0f35b0f3

Branch: refs/heads/master
Commit: 0f35b0f328a9f1320f6e26279b92dc054a27682a
Parents: 3351aa7
Author: Emmanuel Lécharny <el...@symas.com>
Authored: Wed Mar 2 12:18:12 2016 +0100
Committer: Emmanuel Lécharny <el...@symas.com>
Committed: Wed Mar 2 12:18:12 2016 +0100

----------------------------------------------------------------------
 pom.xml | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-realm/blob/0f35b0f3/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 84cf05b..a0e8714 100644
--- a/pom.xml
+++ b/pom.xml
@@ -315,6 +315,10 @@
                   <!-- 3RD_PARTY_LICENSES -->
                   <exclude>distribution/src/main/release/licenses/*</exclude>
                   <exclude>src/main/release/licenses/*</exclude>
+                  <exclude>lib/LICENSE-EHCACHE-TERRACOTTA.txt</exclude>
+                  <exclude>lib/LICENSE-JGraphT.txt</exclude>
+                  <exclude>lib/LICENSE-unboundid-ldapsdk-2.1.0-se.txt</exclude>
+                  <exclude>lib/LICENSE-UnboundID-LDAPSDK.txt</exclude>
                   <!-- Missing license header in dependency reduced pom, see http://jira.codehaus.org/browse/MSHADE-48 -->
                   <exclude>**/dependency-reduced-pom.xml</exclude>
                   <!-- Generated ldif files -->
@@ -443,5 +447,38 @@
         </plugins>
       </build>
     </profile>
+
+    <profile>
+      <id>apache-release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>source-release-assembly</id>
+                <configuration>
+                  <!-- we have a dedicated distribution module -->
+                  <skipAssembly>true</skipAssembly>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+
+          <plugin>
+            <groupId>org.apache.rat</groupId>
+            <artifactId>apache-rat-plugin</artifactId>
+            <executions>
+              <execution>
+                <phase>verify</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+         </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 </project>