directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From plusplusjia...@apache.org
Subject [39/46] directory-kerby git commit: Exclude .checkstyle files from RAT check. Activate RAT check during release build.
Date Wed, 09 Sep 2015 01:37:00 GMT
Exclude .checkstyle files from RAT check. Activate RAT check during release build.


Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/1ba12044
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/1ba12044
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/1ba12044

Branch: refs/heads/pkinit-support
Commit: 1ba12044d6ba4d17e1f1b5c85065fabf5cb4077f
Parents: 782cc0d
Author: Stefan Seelmann <mail@stefan-seelmann.de>
Authored: Tue Aug 25 21:08:43 2015 +0200
Committer: Stefan Seelmann <mail@stefan-seelmann.de>
Committed: Tue Aug 25 21:15:12 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/1ba12044/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 60a9013..274ee8b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -155,6 +155,8 @@
               <exclude>**/.pmd</exclude>
               <!-- PMD Ruleset files -->
               <exclude>**/.pmdruleset.xml</exclude>
+              <!-- Checkstyle files -->
+              <exclude>**/.checkstyle</exclude>
               <!-- BIN files -->
               <exclude>**/bin/**/*</exclude>
             </excludes>
@@ -353,6 +355,28 @@
         <checkstyle.suppressions.location>${basedir}/src/checkstyle/suppressions.xml</checkstyle.suppressions.location>
       </properties>
     </profile>
+
+    <!-- Override of the 'apache-release' profile, used to launch the Apache RAT plugin
-->
+    <profile>
+      <id>apache-release</id>
+      <build>
+        <plugins>
+          <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>
 
   <repositories>


Mime
View raw message