diff options
author | Konstantin Boudnik <cos@apache.org> | 2015-07-31 00:42:05 +0300 |
---|---|---|
committer | Olaf Flebbe <of@oflebbe.de> | 2015-08-03 21:06:05 +0200 |
commit | a80cb3aa37e371861b8b0d5150358669725c2dd9 (patch) | |
tree | d6fcc54715e3633f874940d487df4e6c9324d857 /bigtop-tests/test-artifacts | |
parent | db0c8e3c85df18988f594c8f65308a28c059ebe0 (diff) |
BIGTOP-1947. Fix RAT plugin configuration to be able to RAT-validate all published artifacts
Signed-off-by: Olaf Flebbe <of@oflebbe.de>
Diffstat (limited to 'bigtop-tests/test-artifacts')
-rw-r--r-- | bigtop-tests/test-artifacts/crunch/pom.xml | 15 | ||||
-rw-r--r-- | bigtop-tests/test-artifacts/datafu/pom.xml | 15 | ||||
-rw-r--r-- | bigtop-tests/test-artifacts/flume/pom.xml | 15 | ||||
-rw-r--r-- | bigtop-tests/test-artifacts/hadoop/pom.xml | 19 | ||||
-rw-r--r-- | bigtop-tests/test-artifacts/hbase/pom.xml | 15 | ||||
-rw-r--r-- | bigtop-tests/test-artifacts/hcatalog/pom.xml | 16 | ||||
-rw-r--r-- | bigtop-tests/test-artifacts/httpfs/pom.xml | 14 | ||||
-rw-r--r-- | bigtop-tests/test-artifacts/package/pom.xml | 9 | ||||
-rw-r--r-- | bigtop-tests/test-artifacts/sqoop/pom.xml | 16 |
9 files changed, 134 insertions, 0 deletions
diff --git a/bigtop-tests/test-artifacts/crunch/pom.xml b/bigtop-tests/test-artifacts/crunch/pom.xml index 922cf91c..7ac5d457 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> diff --git a/bigtop-tests/test-artifacts/datafu/pom.xml b/bigtop-tests/test-artifacts/datafu/pom.xml index 4a150c6b..785fa545 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> diff --git a/bigtop-tests/test-artifacts/flume/pom.xml b/bigtop-tests/test-artifacts/flume/pom.xml index 1c1f270e..f98db35a 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> diff --git a/bigtop-tests/test-artifacts/hadoop/pom.xml b/bigtop-tests/test-artifacts/hadoop/pom.xml index 8c366e8c..604ef82f 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> diff --git a/bigtop-tests/test-artifacts/hbase/pom.xml b/bigtop-tests/test-artifacts/hbase/pom.xml index 5b762900..e3c5805c 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> diff --git a/bigtop-tests/test-artifacts/hcatalog/pom.xml b/bigtop-tests/test-artifacts/hcatalog/pom.xml index e5b86295..5f9000f8 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> diff --git a/bigtop-tests/test-artifacts/httpfs/pom.xml b/bigtop-tests/test-artifacts/httpfs/pom.xml index 53d4d2e9..7a79e127 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> diff --git a/bigtop-tests/test-artifacts/package/pom.xml b/bigtop-tests/test-artifacts/package/pom.xml index ed8c1b7b..0886f3ab 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> diff --git a/bigtop-tests/test-artifacts/sqoop/pom.xml b/bigtop-tests/test-artifacts/sqoop/pom.xml index 8ec3d87f..d8a977c6 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> |