Repository: jena Updated Branches: refs/heads/master 17a2537bb -> 6252acede
Work towards enabling automatic RAT checks This commit enables the Apache RAT (Release Audit Tool) plugin to be run as part of each build which will help spot any potential licensing issues as early as possible. Currently this will cause the builds to fail hence why this is in a branch while I work to figure out all the appropriate excludes and/or addition of missing license headers Project: http://git-wip-us.apache.org/repos/asf/jena/repo Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/d8d07497 Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/d8d07497 Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/d8d07497 Branch: refs/heads/master Commit: d8d07497e835d5016d61a72b7d2a78c03805f6af Parents: d53e982 Author: Rob Vesse <[email protected]> Authored: Mon Oct 13 09:57:15 2014 +0100 Committer: Rob Vesse <[email protected]> Committed: Mon Oct 13 09:57:15 2014 +0100 ---------------------------------------------------------------------- jena-parent/pom.xml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jena/blob/d8d07497/jena-parent/pom.xml ---------------------------------------------------------------------- diff --git a/jena-parent/pom.xml b/jena-parent/pom.xml index 16aead3..15b06e2 100644 --- a/jena-parent/pom.xml +++ b/jena-parent/pom.xml @@ -309,6 +309,35 @@ </execution> </executions> </plugin> + + <!-- Run the RAT Plugin --> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.11</version> + <executions> + <execution> + <id>rat-checks</id> + <phase>verify</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + <configuration> + <excludeSubProjects>true</excludeSubProjects> + <excludes> + <exclude>**/DEPENDENCIES</exclude> + <exclude>**/*.txt</exclude> + <!--<exclude>**/*.md</exclude> + <exclude>**/*.json</exclude> + <exclude>**/*.parquet</exclude> + <exclude>**/META-INF/services/java.sql.Driver</exclude> + <exclude>**/git.properties</exclude> + <exclude>**/target/rat.txt</exclude>--> + </excludes> + </configuration> + </plugin> </plugins> <!-- Plugin version list: http://maven.apache.org/plugins/index.html -->
