JCLOUDS-28. Add rat check to POM.
Project: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs-openstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs-openstack/commit/aa5715f6 Tree: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs-openstack/tree/aa5715f6 Diff: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs-openstack/diff/aa5715f6 Branch: refs/heads/master Commit: aa5715f63df6c167ac65787cfbc3ceba1fe22edb Parents: 960ac76 Author: Andrew Bayer <[email protected]> Authored: Fri May 10 16:22:30 2013 -0700 Committer: Andrew Bayer <[email protected]> Committed: Mon May 13 10:46:17 2013 -0700 ---------------------------------------------------------------------- pom.xml | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs-openstack/blob/aa5715f6/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 837b9f0..6deaee6 100644 --- a/pom.xml +++ b/pom.xml @@ -75,6 +75,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>
