directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1070294 - /directory/shared/trunk/pom.xml
Date Sun, 13 Feb 2011 20:42:54 GMT
Author: seelmann
Date: Sun Feb 13 20:42:53 2011
New Revision: 1070294

URL: http://svn.apache.org/viewvc?rev=1070294&view=rev
Log:
o Disable source package defined in org.apache:apache:8, we have our dedicated distribution
module
o Activate RAT check

Modified:
    directory/shared/trunk/pom.xml

Modified: directory/shared/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/pom.xml?rev=1070294&r1=1070293&r2=1070294&view=diff
==============================================================================
--- directory/shared/trunk/pom.xml (original)
+++ directory/shared/trunk/pom.xml Sun Feb 13 20:42:53 2011
@@ -89,6 +89,44 @@
   </modules>
 
   <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <configuration>
+            <excludeSubProjects>false</excludeSubProjects>
+            <excludes>
+              <!-- MAVEN_DEFAULT_EXCLUDES -->
+              <exclude>**/target/**/*</exclude>
+              <exclude>**/cobertura.ser</exclude>
+              <!-- ECLIPSE_DEFAULT_EXCLUDES -->
+              <exclude>**/.classpath</exclude>
+              <exclude>**/.project</exclude>
+              <exclude>**/.settings/**/*</exclude>
+              <!-- IDEA_DEFAULT_EXCLUDES -->
+              <exclude>**/*.iml</exclude>
+              <exclude>**/*.ipr</exclude>
+              <exclude>**/*.iws</exclude>
+              <!-- MANIFEST_MF_EXCLUDES -->
+              <exclude>**/MANIFEST.MF</exclude>
+              <!-- 3RD_PARTY_LICENSES -->
+              <exclude>distribution/src/main/release/licenses/*</exclude>
+              <exclude>src/main/release/licenses/*</exclude>
+              <!-- Generated ldif files -->
+              <exclude>ldap-schema/src/main/resources/schema/**</exclude>
+              <exclude>ldap-schema/src/main/resources/schema-all.ldif</exclude>
+              <exclude>src/main/resources/schema/**</exclude>
+              <exclude>src/main/resources/schema-all.ldif</exclude>
+              <!-- Files having a Bouncy Castle license -->
+              <exclude>ldap/src/main/java/org/apache/directory/shared/asn1/der/*.java</exclude>
+              <exclude>src/main/java/org/apache/directory/shared/asn1/der/*.java</exclude>
+            </excludes>
+          </configuration>
+         </plugin>
+      </plugins>
+    </pluginManagement>
+
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -242,6 +280,7 @@
             <plugin>
               <groupId>org.apache.rat</groupId>
               <artifactId>apache-rat-plugin</artifactId>
+              <!-- must add configuration here too, it isn't inherited from <pluginConfiguration>
:-( -->
               <configuration>
                 <excludeSubProjects>false</excludeSubProjects>
                 <excludes>
@@ -258,6 +297,9 @@
                   <exclude>**/*.iws</exclude>
                   <!-- MANIFEST_MF_EXCLUDES -->
                   <exclude>**/MANIFEST.MF</exclude>
+                  <!-- 3RD_PARTY_LICENSES -->
+                  <exclude>distribution/src/main/release/licenses/*</exclude>
+                  <exclude>src/main/release/licenses/*</exclude>
                   <!-- Generated ldif files -->
                   <exclude>ldap-schema/src/main/resources/schema/**</exclude>
                   <exclude>ldap-schema/src/main/resources/schema-all.ldif</exclude>
@@ -522,4 +564,38 @@
     <url>http://svn.apache.org/viewvc/directory/shared/trunk</url>
   </scm>
 
+  <profiles>
+    <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>



Mime
View raw message