Enforce Apache licensing requirements in Apex Core using apache-rat-plugin.
Project: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/commit/78cef72d Tree: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/tree/78cef72d Diff: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/diff/78cef72d Branch: refs/heads/feature-module Commit: 78cef72dc17c5e8262b3750536b979f4f05b3fc0 Parents: bf72215 Author: Chris Nauroth <[email protected]> Authored: Thu Sep 24 14:57:24 2015 -0700 Committer: Chris Nauroth <[email protected]> Committed: Thu Sep 24 14:57:24 2015 -0700 ---------------------------------------------------------------------- pom.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/78cef72d/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index eafd558..03c014a 100644 --- a/pom.xml +++ b/pom.xml @@ -158,6 +158,21 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <exclude>.gitattributes</exclude> + <exclude>.gitignore</exclude> + <exclude>.git/**</exclude> + <exclude>.idea/**</exclude> + <exclude>**/src/test/resources/**/MANIFEST.MF</exclude> + <exclude>**/src/test/resources/**/*.json</exclude> + <exclude>**/src/test/resources/**/*.txt</exclude> + </excludes> + </configuration> + </plugin> </plugins> <pluginManagement> <plugins> @@ -268,6 +283,11 @@ <configLocation>apex_checks.xml</configLocation> </configuration> </plugin> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.11</version> + </plugin> </plugins> </pluginManagement> <extensions>
