Repository: incubator-pirk Updated Branches: refs/heads/master b59bd0192 -> c727b61af
PIRK-9 -- Adding Apache Rat checks as part of project POM verify - closes apache/incubator-pirk#6 Project: http://git-wip-us.apache.org/repos/asf/incubator-pirk/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-pirk/commit/c727b61a Tree: http://git-wip-us.apache.org/repos/asf/incubator-pirk/tree/c727b61a Diff: http://git-wip-us.apache.org/repos/asf/incubator-pirk/diff/c727b61a Branch: refs/heads/master Commit: c727b61afd631164c5b809eb6a6ec08cf070809d Parents: b59bd01 Author: tellison <[email protected]> Authored: Mon Jul 18 14:52:25 2016 -0400 Committer: eawilliams <[email protected]> Committed: Mon Jul 18 14:52:25 2016 -0400 ---------------------------------------------------------------------- pom-with-benchmarks.xml | 18 ++++++++++++++ pom.xml | 57 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-pirk/blob/c727b61a/pom-with-benchmarks.xml ---------------------------------------------------------------------- diff --git a/pom-with-benchmarks.xml b/pom-with-benchmarks.xml index 8355b77..053898e 100644 --- a/pom-with-benchmarks.xml +++ b/pom-with-benchmarks.xml @@ -1,3 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ Licensed to the Apache Software Foundation (ASF) under one or more + ~ contributor license agreements. See the NOTICE file distributed with + ~ this work for additional information regarding copyright ownership. + ~ The ASF licenses this file to You under the Apache License, Version 2.0 + ~ (the "License"); you may not use this file except in compliance with + ~ the License. You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the 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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> http://git-wip-us.apache.org/repos/asf/incubator-pirk/blob/c727b61a/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 638247c..25a2a9c 100644 --- a/pom.xml +++ b/pom.xml @@ -1,3 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ Licensed to the Apache Software Foundation (ASF) under one or more + ~ contributor license agreements. See the NOTICE file distributed with + ~ this work for additional information regarding copyright ownership. + ~ The ASF licenses this file to You under the Apache License, Version 2.0 + ~ (the "License"); you may not use this file except in compliance with + ~ the License. You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the 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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> @@ -235,6 +253,26 @@ </executions> </plugin> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.11</version> + <configuration> + <excludes> + <exclude>eclipse-pirk-codestyle.xml</exclude> + <exclude>logs/**</exclude> + <exclude>docs/package-list</exclude> + </excludes> + </configuration> + <executions> + <execution> + <phase>validate</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> <pluginManagement> @@ -267,6 +305,25 @@ <ignore></ignore> </action> </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> + <groupId> + org.apache.rat + </groupId> + <artifactId> + apache-rat-plugin + </artifactId> + <versionRange> + [0.11,) + </versionRange> + <goals> + <goal>check</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore></ignore> + </action> + </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration>
