You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@twill.apache.org by ch...@apache.org on 2014/04/22 08:06:20 UTC
[23/50] [abbrv] git commit: Enable RAT check for the apache-release
profile. Also make RAT checks failure fails the build.
Enable RAT check for the apache-release profile. Also make RAT checks failure fails the build.
Project: http://git-wip-us.apache.org/repos/asf/incubator-twill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-twill/commit/64a01403
Tree: http://git-wip-us.apache.org/repos/asf/incubator-twill/tree/64a01403
Diff: http://git-wip-us.apache.org/repos/asf/incubator-twill/diff/64a01403
Branch: refs/heads/site
Commit: 64a01403bd0dcf2811494a87a648acc3f3e0cfbd
Parents: 5e89ec2
Author: Terence Yim <te...@continuuity.com>
Authored: Mon Feb 10 14:02:00 2014 -0800
Committer: Terence Yim <te...@continuuity.com>
Committed: Mon Feb 10 14:02:00 2014 -0800
----------------------------------------------------------------------
pom.xml | 41 ++++++++++++++++++++++++++---------------
1 file changed, 26 insertions(+), 15 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-twill/blob/64a01403/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 1d0a816..b1c4bfe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -244,6 +244,20 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.10</version>
+ <configuration>
+ <excludes>
+ <exclude>.git/**/*</exclude>
+ <exclude>**/*.iml</exclude>
+ <exclude>target/**/*</exclude>
+ <exclude>**/README</exclude>
+ <exclude>src/test/resources/header.txt</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -314,21 +328,6 @@
<deployAtEnd>true</deployAtEnd>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <version>0.10</version>
- <configuration>
- <excludes>
- <exclude>.git/**/*</exclude>
- <exclude>**/*.iml</exclude>
- <exclude>target/**/*</exclude>
- <exclude>**/README</exclude>
- <exclude>src/test/resources/header.txt</exclude>
- </excludes>
- <ignoreErrors>true</ignoreErrors>
- </configuration>
- </plugin>
</plugins>
</build>
@@ -348,6 +347,18 @@
</formats>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</profile>