JCLOUDS-28. Add rat check to POM.
Project: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs-google/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs-google/commit/670dfa74 Tree: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs-google/tree/670dfa74 Diff: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs-google/diff/670dfa74 Branch: refs/heads/master Commit: 670dfa7467a6d86fcc8c6c24360f4771b0e8bc67 Parents: 4d2fabf Author: Andrew Bayer <[email protected]> Authored: Fri May 10 16:29:30 2013 -0700 Committer: Andrew Bayer <[email protected]> Committed: Mon May 13 10:44:57 2013 -0700 ---------------------------------------------------------------------- pom.xml | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs-google/blob/670dfa74/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 0ab0037..2b2a916 100644 --- a/pom.xml +++ b/pom.xml @@ -73,6 +73,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>
