cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r948517 - /cxf/trunk/pom.xml
Date Wed, 26 May 2010 18:14:47 GMT
Author: dkulp
Date: Wed May 26 18:14:47 2010
New Revision: 948517

URL: http://svn.apache.org/viewvc?rev=948517&view=rev
Log:
Add a "rat" profile to start diagnosing some of that stuff

Modified:
    cxf/trunk/pom.xml

Modified: cxf/trunk/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/pom.xml?rev=948517&r1=948516&r2=948517&view=diff
==============================================================================
--- cxf/trunk/pom.xml (original)
+++ cxf/trunk/pom.xml Wed May 26 18:14:47 2010
@@ -174,6 +174,27 @@
             </modules>
         </profile>
         <profile>
+            <!-- default profile enables checkstyle and Xlint stuff -->
+            <id>rat</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.rat</groupId>
+                        <artifactId>apache-rat-plugin</artifactId>
+                        <inherited>false</inherited>
+                        <executions>
+                          <execution>
+                            <phase>verify</phase>
+                            <goals>
+                              <goal>check</goal>
+                            </goals>
+                          </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        <profile>
             <id>setup.eclipse</id>
             <properties>
                 <eclipse.workspace.dir>${basedir}/../workspace</eclipse.workspace.dir>
@@ -572,6 +593,28 @@
                         </dependency>
                     </dependencies>
                 </plugin>
+                <plugin>
+                  <groupId>org.apache.rat</groupId>
+                  <artifactId>apache-rat-plugin</artifactId>
+                  <version>0.6</version>
+                  <configuration>
+                      <numUnapprovedLicenses>350</numUnapprovedLicenses>
+                      <excludeSubProjects>false</excludeSubProjects>
+                      <excludes>
+                          <exclude>.git/**</exclude>
+                          <exclude>.gitignore</exclude>
+                          <exclude>velocity.log</exclude>
+                          <exclude>**/target/**</exclude>
+                          <exclude>distribution/**</exclude>
+                          <exclude>**/jaxb.index</exclude>
+                          <exclude>**/META-INF/MANIFEST</exclude>
+                          <exclude>**/src/test/**/*.txt</exclude>
+                          <exclude>**/.classpath</exclude>
+                          <exclude>**/.settings/**/*</exclude>
+                          <exclude>**/.project</exclude>
+                      </excludes>
+                  </configuration>
+                </plugin>
             </plugins>
         </pluginManagement>
     </build>



Mime
View raw message