Updated Branches: refs/heads/1.6.x 1d62132fb -> 0e2b665a5
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/042f137b Tree: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/tree/042f137b Diff: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/diff/042f137b Branch: refs/heads/1.6.x Commit: 042f137b93f35e392e79da31e9fc439393445ddf Parents: 1d62132 Author: Andrew Bayer <[email protected]> Authored: Fri May 10 15:50:18 2013 -0700 Committer: Andrew Bayer <[email protected]> Committed: Mon May 13 12:13:10 2013 -0700 ---------------------------------------------------------------------- pom.xml | 41 +++++++++++++++++++++++++++++++++++++++-- 1 files changed, 39 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/blob/042f137b/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 75b5d0a..b9caaae 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ 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> @@ -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>
