RYA-25 Apache RAT check during maven build Modified the parent POM so that the Apache RAT plugin runs by default; modified log4j properties for blueprints to put temp log in target; removed extraneous shading.
Project: http://git-wip-us.apache.org/repos/asf/incubator-rya/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-rya/commit/1eae9015 Tree: http://git-wip-us.apache.org/repos/asf/incubator-rya/tree/1eae9015 Diff: http://git-wip-us.apache.org/repos/asf/incubator-rya/diff/1eae9015 Branch: refs/heads/master Commit: 1eae9015ede1a95a881fd3bc26476a244695e030 Parents: e6be84a Author: Aaron Mihalik <[email protected]> Authored: Fri Dec 18 15:24:13 2015 -0500 Committer: Aaron Mihalik <[email protected]> Committed: Fri Dec 18 15:24:13 2015 -0500 ---------------------------------------------------------------------- .../src/test/resources/log4j.properties | 10 +++++++ pom.xml | 31 ++++++++++---------- 2 files changed, 26 insertions(+), 15 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-rya/blob/1eae9015/extras/tinkerpop.rya/src/test/resources/log4j.properties ---------------------------------------------------------------------- diff --git a/extras/tinkerpop.rya/src/test/resources/log4j.properties b/extras/tinkerpop.rya/src/test/resources/log4j.properties index 598d7b5..7142ee3 100644 --- a/extras/tinkerpop.rya/src/test/resources/log4j.properties +++ b/extras/tinkerpop.rya/src/test/resources/log4j.properties @@ -16,4 +16,14 @@ # under the License. +log4j.debug=false +#log4j.rootLogger=INFO, console +log4j.category.org.openrdf=INFO, mob +log4j.category.org.xml=INFO, mob + +log4j.appender.mob=org.apache.log4j.FileAppender +log4j.appender.mob.file=target/blueprints.log +log4j.appender.mob.append=true +log4j.appender.mob.layout=org.apache.log4j.PatternLayout +log4j.appender.mob.layout.ConversionPattern=%d [%t] %p %C{1} - %m%n http://git-wip-us.apache.org/repos/asf/incubator-rya/blob/1eae9015/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index dce799f..dcbba4c 100644 --- a/pom.xml +++ b/pom.xml @@ -608,12 +608,20 @@ under the License. </execution> </executions> </plugin> - <plugin> - <!-- Apache Release Audit Tool - reports missing license headers and other issues. --> - <!-- mvn apache-rat:rat --> - <!-- mvn apache-rat:check --> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> + </plugins> + </pluginManagement> + + <plugins> + <plugin> + <!-- Apache Release Audit Tool - reports missing license headers and other issues. --> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <executions> + <execution> + <id>check-licenses</id> + <goals> + <goal>check</goal> + </goals> <configuration> <excludes> <!-- RDF data Files --> @@ -627,15 +635,8 @@ under the License. <exclude>**/resources/META-INF/services/**</exclude> </excludes> </configuration> - </plugin> - </plugins> - </pluginManagement> - - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-shade-plugin</artifactId> - <version>2.3</version> + </execution> + </executions> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId>
