Repository: incubator-systemml Updated Branches: refs/heads/master f5f033777 -> ef60e959c
Enable support for RAT Enable support for RAT in order to automate the checks for legal check. This can be run as mvn -Prat and results are available under target/rat.txt Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/1bb1a41e Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/1bb1a41e Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/1bb1a41e Branch: refs/heads/master Commit: 1bb1a41e4def01cfc823dae847f53f2e90cd48fb Parents: f5f0337 Author: Luciano Resende <[email protected]> Authored: Tue Dec 8 18:22:57 2015 -0800 Committer: Luciano Resende <[email protected]> Committed: Tue Dec 8 20:59:53 2015 -0800 ---------------------------------------------------------------------- pom.xml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/1bb1a41e/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 9b9b460..ff5060d 100644 --- a/pom.xml +++ b/pom.xml @@ -406,6 +406,46 @@ </profile> <profile> + <id>rat</id> + <build> + <defaultGoal>clean org.apache.rat:apache-rat-plugin:check</defaultGoal> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.11</version> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + <configuration> + <excludes> + <exclude>.gitignore</exclude> + <exclude>.repository/</exclude> + <exclude>.idea/</exclude> + <exclude>.git</exclude> + <exclude>.settings</exclude> + <exclude>.classpath</exclude> + <exclude>.project</exclude> + <exclude>docs</exclude> + <exclude>**/*.csv</exclude> + <exclude>**/*.json</exclude> + <exclude>**/*.mtx</exclude> + <exclude>**/*.mtd</exclude> + <exclude>**/target/**</exclude> + <exclude>**/README.md</exclude> + </excludes> + </configuration> + </plugin> + </plugins> + </build> + </profile> + + <profile> <!-- Profile to create binary distributions. Execute with `mvn clean package -P distribution` --> <id>distribution</id>
