Updated Branches: refs/heads/master c874ad2fb -> 8a1a423c4
JCLOUDS-28. Add rat check to POM. Project: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/commit/61017af9 Tree: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/tree/61017af9 Diff: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/diff/61017af9 Branch: refs/heads/master Commit: 61017af9246732205c853053b6631f06230f36bb Parents: c874ad2 Author: Andrew Bayer <[email protected]> Authored: Fri May 10 15:50:18 2013 -0700 Committer: Andrew Bayer <[email protected]> Committed: Mon May 13 10:27:41 2013 -0700 ---------------------------------------------------------------------- pom.xml | 53 +++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 45 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/blob/61017af9/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index a0f0a62..71f0530 100644 --- a/pom.xml +++ b/pom.xml @@ -18,15 +18,15 @@ specific language governing permissions and limitations under the License. ---> + --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.jclouds.chef</groupId> - <artifactId>chef-parent</artifactId> - <version>1.7.0-SNAPSHOT</version> - <relativePath>project/pom.xml</relativePath> - </parent> + <parent> + <groupId>org.jclouds.chef</groupId> + <artifactId>chef-parent</artifactId> + <version>1.7.0-SNAPSHOT</version> + <relativePath>project/pom.xml</relativePath> + </parent> <artifactId>chef-project</artifactId> <name>JClouds Chef :: Project POM</name> <description>JClouds Chef top level project pom for builds</description> @@ -42,6 +42,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> <version>1.9.0</version> @@ -51,7 +88,7 @@ <aggregate>true</aggregate> <header>project/src/etc/header.txt</header> <mapping> - Â Â <clj>SEMICOLON_STYLE</clj> + <clj>SEMICOLON_STYLE</clj> </mapping> <excludes> <exclude>**/src/**/resources/**</exclude>
