Repository: bigtop Updated Branches: refs/heads/master db0c8e3c8 -> a80cb3aa3
BIGTOP-1947. Fix RAT plugin configuration to be able to RAT-validate all published artifacts Signed-off-by: Olaf Flebbe <o...@oflebbe.de> Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/a80cb3aa Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/a80cb3aa Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/a80cb3aa Branch: refs/heads/master Commit: a80cb3aa37e371861b8b0d5150358669725c2dd9 Parents: db0c8e3 Author: Konstantin Boudnik <c...@apache.org> Authored: Fri Jul 31 00:42:05 2015 +0300 Committer: Olaf Flebbe <o...@oflebbe.de> Committed: Mon Aug 3 21:06:05 2015 +0200 ---------------------------------------------------------------------- bigtop-tests/test-artifacts/crunch/pom.xml | 15 +++++++++++++++ bigtop-tests/test-artifacts/datafu/pom.xml | 15 +++++++++++++++ bigtop-tests/test-artifacts/flume/pom.xml | 15 +++++++++++++++ bigtop-tests/test-artifacts/hadoop/pom.xml | 19 +++++++++++++++++++ bigtop-tests/test-artifacts/hbase/pom.xml | 15 +++++++++++++++ bigtop-tests/test-artifacts/hcatalog/pom.xml | 16 ++++++++++++++++ bigtop-tests/test-artifacts/httpfs/pom.xml | 14 ++++++++++++++ bigtop-tests/test-artifacts/package/pom.xml | 9 +++++++++ bigtop-tests/test-artifacts/sqoop/pom.xml | 16 ++++++++++++++++ pom.xml | 18 +++++++++++++++++- 10 files changed, 151 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/a80cb3aa/bigtop-tests/test-artifacts/crunch/pom.xml ---------------------------------------------------------------------- diff --git a/bigtop-tests/test-artifacts/crunch/pom.xml b/bigtop-tests/test-artifacts/crunch/pom.xml index 922cf91..7ac5d45 100644 --- a/bigtop-tests/test-artifacts/crunch/pom.xml +++ b/bigtop-tests/test-artifacts/crunch/pom.xml @@ -29,4 +29,19 @@ <artifactId>crunch-smoke</artifactId> <version>1.1.0-SNAPSHOT</version> <name>crunchsmoke</name> + + <build> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <exclude>**/resources/crunch-examples/**</exclude> + </excludes> + </configuration> + </plugin> + </plugins> + </build> + </project> http://git-wip-us.apache.org/repos/asf/bigtop/blob/a80cb3aa/bigtop-tests/test-artifacts/datafu/pom.xml ---------------------------------------------------------------------- diff --git a/bigtop-tests/test-artifacts/datafu/pom.xml b/bigtop-tests/test-artifacts/datafu/pom.xml index 4a150c6..785fa54 100644 --- a/bigtop-tests/test-artifacts/datafu/pom.xml +++ b/bigtop-tests/test-artifacts/datafu/pom.xml @@ -61,4 +61,19 @@ <version>6.3</version> </dependency> </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <exclude>**/resources/datafu/**/*.pig</exclude> + </excludes> + </configuration> + </plugin> + </plugins> + </build> + </project> http://git-wip-us.apache.org/repos/asf/bigtop/blob/a80cb3aa/bigtop-tests/test-artifacts/flume/pom.xml ---------------------------------------------------------------------- diff --git a/bigtop-tests/test-artifacts/flume/pom.xml b/bigtop-tests/test-artifacts/flume/pom.xml index 1c1f270..f98db35 100644 --- a/bigtop-tests/test-artifacts/flume/pom.xml +++ b/bigtop-tests/test-artifacts/flume/pom.xml @@ -36,4 +36,19 @@ <artifactId>hadoop-common</artifactId> </dependency> </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <exclude>**/resources/events.txt</exclude> + </excludes> + </configuration> + </plugin> + </plugins> + </build> + </project> http://git-wip-us.apache.org/repos/asf/bigtop/blob/a80cb3aa/bigtop-tests/test-artifacts/hadoop/pom.xml ---------------------------------------------------------------------- diff --git a/bigtop-tests/test-artifacts/hadoop/pom.xml b/bigtop-tests/test-artifacts/hadoop/pom.xml index 8c366e8..604ef82 100644 --- a/bigtop-tests/test-artifacts/hadoop/pom.xml +++ b/bigtop-tests/test-artifacts/hadoop/pom.xml @@ -52,4 +52,23 @@ </dependency> </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <exclude>**/clitest_data/**</exclude> + <exclude>**/ints/file*.txt</exclude> + <exclude>**/text/file*.txt</exclude> + <exclude>**/resources/input.txt</exclude> + <exclude>**/resources/examples/text/*.txt</exclude> + <exclude>**/resources/part-00001.snappy</exclude> + </excludes> + </configuration> + </plugin> + </plugins> + </build> + </project> http://git-wip-us.apache.org/repos/asf/bigtop/blob/a80cb3aa/bigtop-tests/test-artifacts/hbase/pom.xml ---------------------------------------------------------------------- diff --git a/bigtop-tests/test-artifacts/hbase/pom.xml b/bigtop-tests/test-artifacts/hbase/pom.xml index 5b76290..e3c5805 100644 --- a/bigtop-tests/test-artifacts/hbase/pom.xml +++ b/bigtop-tests/test-artifacts/hbase/pom.xml @@ -58,4 +58,19 @@ <type>test-jar</type> </dependency> </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <exclude>**/resources/movies.*</exclude> + </excludes> + </configuration> + </plugin> + </plugins> + </build> + </project> http://git-wip-us.apache.org/repos/asf/bigtop/blob/a80cb3aa/bigtop-tests/test-artifacts/hcatalog/pom.xml ---------------------------------------------------------------------- diff --git a/bigtop-tests/test-artifacts/hcatalog/pom.xml b/bigtop-tests/test-artifacts/hcatalog/pom.xml index e5b8629..5f9000f 100644 --- a/bigtop-tests/test-artifacts/hcatalog/pom.xml +++ b/bigtop-tests/test-artifacts/hcatalog/pom.xml @@ -29,4 +29,20 @@ <artifactId>hcatalog-smoke</artifactId> <version>1.1.0-SNAPSHOT</version> <name>hcatalogsmoke</name> + + <build> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <exclude>**/resources/data/*</exclude> + <exclude>**/resources/*.expected</exclude> + </excludes> + </configuration> + </plugin> + </plugins> + </build> + </project> http://git-wip-us.apache.org/repos/asf/bigtop/blob/a80cb3aa/bigtop-tests/test-artifacts/httpfs/pom.xml ---------------------------------------------------------------------- diff --git a/bigtop-tests/test-artifacts/httpfs/pom.xml b/bigtop-tests/test-artifacts/httpfs/pom.xml index 53d4d2e..7a79e12 100644 --- a/bigtop-tests/test-artifacts/httpfs/pom.xml +++ b/bigtop-tests/test-artifacts/httpfs/pom.xml @@ -32,4 +32,18 @@ <version>1.1.0-SNAPSHOT</version> <name>httpfssmokes</name> + <build> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <exclude>**/resources/text-files/helloworld.txt</exclude> + </excludes> + </configuration> + </plugin> + </plugins> + </build> + </project> http://git-wip-us.apache.org/repos/asf/bigtop/blob/a80cb3aa/bigtop-tests/test-artifacts/package/pom.xml ---------------------------------------------------------------------- diff --git a/bigtop-tests/test-artifacts/package/pom.xml b/bigtop-tests/test-artifacts/package/pom.xml index ed8c1b7..0886f3a 100644 --- a/bigtop-tests/test-artifacts/package/pom.xml +++ b/bigtop-tests/test-artifacts/package/pom.xml @@ -50,6 +50,15 @@ <build> <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <exclude>**/main/resources/**/*.xml</exclude> + </excludes> + </configuration> + </plugin> <plugin> <groupId>org.codehaus.groovy.maven</groupId> <artifactId>gmaven-plugin</artifactId> http://git-wip-us.apache.org/repos/asf/bigtop/blob/a80cb3aa/bigtop-tests/test-artifacts/sqoop/pom.xml ---------------------------------------------------------------------- diff --git a/bigtop-tests/test-artifacts/sqoop/pom.xml b/bigtop-tests/test-artifacts/sqoop/pom.xml index 8ec3d87..d8a977c 100644 --- a/bigtop-tests/test-artifacts/sqoop/pom.xml +++ b/bigtop-tests/test-artifacts/sqoop/pom.xml @@ -40,4 +40,20 @@ </dependency> </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <exclude>**/resources/**/*.hxt</exclude> + <exclude>**/resources/**/*.txt</exclude> + <exclude>**/resources/**/*.out</exclude> + </excludes> + </configuration> + </plugin> + </plugins> + </build> + </project> http://git-wip-us.apache.org/repos/asf/bigtop/blob/a80cb3aa/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index c0c22fe..368a90c 100644 --- a/pom.xml +++ b/pom.xml @@ -299,11 +299,25 @@ <exclude>**/.gitignore</exclude> <!-- Test data with rigid structure and/or binary --> <exclude>bigtop-tests/test-artifacts/**/resources/**</exclude> + <exclude>bigtop-tests/smoke-tests/tachyon/datafile</exclude> + <exclude>bigtop-tests/smoke-tests/hive/passwd.ql</exclude> + <exclude>bigtop-tests/smoke-tests/kite/sandwiches.csv</exclude> + <exclude>**/target/**</exclude> + <exclude>**/build/**</exclude> + <exclude>**/.gradle/**</exclude> + <exclude>**/*.iml</exclude> + <exclude>.gradle</exclude> + <exclude>buildSrc/build/**</exclude> + <exclude>bigtop-bigpetstore/bigpetstore-data-generator/**/input_data/**</exclude> + <exclude>bigtop-deploy/puppet/**/*.yaml</exclude> + <exclude>bigtop-deploy/puppet/config/*/id_hdfsuser*</exclude> <!-- Debian package files that have a rigid structure (* matches package name) --> <exclude>bigtop-packages/src/deb/*/*.dirs</exclude> <exclude>bigtop-packages/src/deb/*/dirs</exclude> <exclude>bigtop-packages/src/deb/*/*.install</exclude> <exclude>bigtop-packages/src/deb/*/*.include</exclude> + <exclude>bigtop-packages/src/deb/**/include-binaries</exclude> + <exclude>bigtop-packages/src/deb/**/format</exclude> <exclude>bigtop-packages/src/deb/*/*.manpages</exclude> <exclude>bigtop-packages/src/deb/*/*.docs</exclude> <exclude>bigtop-packages/src/deb/*/docs</exclude> @@ -311,13 +325,15 @@ <exclude>bigtop-packages/src/deb/*/source/format</exclude> <exclude>bigtop-packages/src/deb/*/*.lintian-overrides</exclude> <exclude>bigtop-packages/src/deb/*/shlibs.local</exclude> + <exclude>bigtop-packages/src/**/*.diff</exclude> + <exclude>bigtop-packages/src/common/*/*.json</exclude> + <exclude>bigtop-packages/src/common/**/*.default</exclude> <exclude>bigtop-repos/apt/distributions</exclude> <!-- Miscelaneous individual files --> <exclude>src/site/resources/bigtop.rdf</exclude> <exclude>src/site/resources/images/bigtop-logo.ai</exclude> <!--Excluding a file with FreeBSD Documentation License--> <exclude>src/site/resources/css/freebsd_docbook.css</exclude> - <exclude>bigtop-packages/src/common/*/*.json</exclude> <exclude>test/MANIFEST.txt</exclude> <exclude> bigtop-deploy/puppet/modules/hadoop/templates/taskcontroller.cfg