JCLOUDS-28. Add rat check to POM.
Project: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs-aws/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs-aws/commit/e9984c08 Tree: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs-aws/tree/e9984c08 Diff: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs-aws/diff/e9984c08 Branch: refs/heads/master Commit: e9984c0815ca95c08e79db5cc488bb499bd140da Parents: bb0d8bf Author: Andrew Bayer <[email protected]> Authored: Fri May 10 16:27:17 2013 -0700 Committer: Andrew Bayer <[email protected]> Committed: Mon May 13 10:38:57 2013 -0700 ---------------------------------------------------------------------- pom.xml | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs-aws/blob/e9984c08/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 72b95ac..04308e4 100644 --- a/pom.xml +++ b/pom.xml @@ -77,6 +77,43 @@ <build> <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.8</version> + <inherited>false</inherited> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + <configuration> + <excludes> + <exclude>**/BUILD.txt</exclude> + <exclude>**/CHANGES.txt</exclude> + <exclude>**/NOTICE-src.txt</exclude> + <exclude>**/README.md</exclude> + <exclude>.git/**</exclude> + <exclude>**/.gitignore</exclude> + <exclude>**/*.json</exclude> + <exclude>**/*.log*</exclude> + <exclude>**/TODO</exclude> + <exclude>.mailmap</exclude> + <exclude>.idea/**</exclude> + <exclude>**/*.iml</exclude> + <exclude>**/.project</exclude> + <exclude>**/.classpath</exclude> + <exclude>**/.settings/**</exclude> + <exclude>**/.checkstyle</exclude> + <exclude>**/target/**</exclude> + <exclude>.repository/**</exclude> + <!-- binary --> + </excludes> + </configuration> + </plugin> <plugin> <groupId>com.mycila.maven-license-plugin</groupId> <artifactId>maven-license-plugin</artifactId>
