Repository: zeppelin
Updated Branches:
  refs/heads/master e4d488b3a -> 95c56f064


[ZEPPELIN-791] Build infra: move all RAT to root pom.xml

What is this PR for?
It is better have a single place where we manage project-wise RAT exclusions 
for a contributions under licenses different from Apache, then let maven 
sub-modules have them as we do now (makes things harder to track)
What type of PR is it?
[Improvement]
Todos
N/A
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-791
How should this be tested?
mvn verify -DskipTests
Screenshots (if appropriate)
Questions:
Does the licenses files need update? - No
Is there breaking changes for older versions? - No
Does this needs documentation? - No
### Questions:
* Does the licenses files need update?
* Is there breaking changes for older versions?
* Does this needs documentation?

Author: DmytroShkvyra <dshkv...@gmail.com>

Closes #2089 from DmytroShkvyra/ZEPPELIN-791-1 and squashes the following 
commits:

296662a [DmytroShkvyra] [ZEPPELIN-791] add widcard
2c27342 [DmytroShkvyra] [ZEPPELIN-791] Exclude **.test.js
398fb62 [DmytroShkvyra] [ZEPPELIN-791] Build infra: move all RAT to root pom.xml


Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/95c56f06
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/95c56f06
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/95c56f06

Branch: refs/heads/master
Commit: 95c56f0647f412315cc10a5a4dcb563a81b19dcd
Parents: e4d488b
Author: DmytroShkvyra <dshkv...@gmail.com>
Authored: Thu Mar 2 11:34:53 2017 +0200
Committer: Felix Cheung <felixche...@apache.org>
Committed: Sun Mar 5 12:42:20 2017 -0800

----------------------------------------------------------------------
 pom.xml              | 67 ++++++++++++++++++++++++++++++++++++-----------
 r/pom.xml            | 37 --------------------------
 zeppelin-web/pom.xml | 46 --------------------------------
 3 files changed, 51 insertions(+), 99 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/95c56f06/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index de27178..aef1e82 100644
--- a/pom.xml
+++ b/pom.xml
@@ -898,6 +898,39 @@
               <exclude>**/interpreter-setting.json</exclude>
               <exclude>**/constants.json</exclude>
               <exclude>scripts/**</exclude>
+              <exclude>**/**/*.log</exclude> 
+              <exclude>**/**/logs/**</exclude> 
+
+              <!-- bundled from zeppelin-web --> 
+              <exclude>**/test/karma.conf.js</exclude> 
+              <exclude>**/test/spec/**</exclude>      
+              <exclude>**/.babelrc</exclude> 
+              <exclude>**/.bowerrc</exclude> 
+              <exclude>.editorconfig</exclude> 
+              <exclude>.eslintrc</exclude> 
+              <exclude>**/.tmp/**</exclude> 
+              <exclude>**/target/**</exclude> 
+              <exclude>**/node/**</exclude> 
+              <exclude>**/node_modules/**</exclude> 
+              <exclude>**/bower_components/**</exclude> 
+              <exclude>**/dist/**</exclude> 
+              <exclude>**/.buildignore</exclude> 
+              <exclude>**/.npmignore</exclude> 
+              <exclude>**/.jshintrc</exclude> 
+              <exclude>**/yarn.lock</exclude> 
+              <exclude>**/bower.json</exclude> 
+              <exclude>**/src/fonts/Patua-One*</exclude> 
+              <exclude>**/src/fonts/patua-one*</exclude> 
+              <exclude>**/src/fonts/Roboto*</exclude> 
+              <exclude>**/src/fonts/roboto*</exclude> 
+              <exclude>**/src/fonts/fontawesome*</exclude> 
+              <exclude>**/src/fonts/font-awesome*</exclude> 
+              <exclude>**/src/styles/font-awesome*</exclude> 
+              <exclude>**/src/fonts/Simple-Line*</exclude> 
+              <exclude>**/src/fonts/simple-line*</exclude> 
+              <exclude>**/src/fonts/Source-Code-Pro*</exclude> 
+              <exclude>**/src/fonts/source-code-pro*</exclude>
+              <exclude>**/src/**/**.test.js</exclude>               
 
               <!-- from SQLLine 1.0.2, see ZEPPELIN-2135 -->
               
<exclude>**/src/main/java/org/apache/zeppelin/jdbc/SqlCompleter.java</exclude>
@@ -947,22 +980,24 @@
               <exclude>**/package.json</exclude>
 
               <!-- compiled R packages (binaries) -->
-              <exclude>R/lib/**</exclude>
-              <exclude>r/lib/**</exclude>
-
-              <!--R-related files with alternative licenses-->
-              <exclude>r/R/rzeppelin/R/globals.R</exclude>
-              <exclude>r/R/rzeppelin/R/common.R</exclude>
-              <exclude>r/R/rzeppelin/R/protocol.R</exclude>
-              <exclude>r/R/rzeppelin/R/rServer.R</exclude>
-              <exclude>r/R/rzeppelin/R/scalaInterpreter.R</exclude>
-              <exclude>r/R/rzeppelin/R/zzz.R</exclude>
-              <exclude>r/src/main/scala/scala/Console.scala</exclude>
-              
<exclude>r/src/main/scala/org/apache/zeppelin/rinterpreter/rscala/Package.scala</exclude>
-              
<exclude>r/src/main/scala/org/apache/zeppelin/rinterpreter/rscala/RClient.scala</exclude>
-              <!--The following files are mechanical-->
-              <exclude>r/R/rzeppelin/DESCRIPTION</exclude>
-              <exclude>r/R/rzeppelin/NAMESPACE</exclude>
+              <exclude>**/R/lib/**</exclude> 
+              <exclude>**/r/lib/**</exclude> 
+ 
+               <!--R-related files with alternative licenses--> 
+
+              <exclude>**/R/rzeppelin/R/globals.R</exclude> 
+              <exclude>**/R/rzeppelin/R/common.R</exclude> 
+              <exclude>**/R/rzeppelin/R/protocol.R</exclude> 
+              <exclude>**/R/rzeppelin/R/rServer.R</exclude> 
+              <exclude>**/R/rzeppelin/R/scalaInterpreter.R</exclude> 
+              <exclude>**/R/rzeppelin/R/zzz.R</exclude> 
+              <exclude>**/src/main/scala/scala/Console.scala</exclude> 
+              
<exclude>**/src/main/scala/org/apache/zeppelin/rinterpreter/rscala/Package.scala</exclude>
 
+              
<exclude>**/src/main/scala/org/apache/zeppelin/rinterpreter/rscala/RClient.scala</exclude>
 
+ 
+               <!--The following files are mechanical--> 
+              <exclude>**/R/rzeppelin/DESCRIPTION</exclude> 
+              <exclude>**/R/rzeppelin/NAMESPACE</exclude> 
             </excludes>
           </configuration>
 

http://git-wip-us.apache.org/repos/asf/zeppelin/blob/95c56f06/r/pom.xml
----------------------------------------------------------------------
diff --git a/r/pom.xml b/r/pom.xml
index 6fbebcd..4c1b218 100644
--- a/r/pom.xml
+++ b/r/pom.xml
@@ -190,43 +190,6 @@
 
   <build>
     <plugins>
-      <plugin>
-        <groupId>org.apache.rat</groupId>
-        <artifactId>apache-rat-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>lib/**</exclude>
-            <exclude>**/r/lib/**</exclude>
-            <!--The following files are subject to the BSD-license or variants,
-            as shown in the file headers-->
-            <exclude>**/R/rzeppelin/R/globals.R</exclude>
-            <exclude>**/R/rzeppelin/R/common.R</exclude>
-            <exclude>**/R/rzeppelin/R/protocol.R</exclude>
-            <exclude>**/R/rzeppelin/R/rServer.R</exclude>
-            <exclude>**/R/rzeppelin/R/scalaInterpreter.R</exclude>
-            <exclude>**/R/rzeppelin/R/zzz.R</exclude>
-            <exclude>**/scala/Console.scala</exclude>
-            <exclude>**/zeppelin/rinterpreter/rscala/Package.scala</exclude>
-            <exclude>**/zeppelin/rinterpreter/rscala/RClient.scala</exclude>
-            <!--End of files subject to BSD-license.-->
-            <exclude>**/.idea/</exclude>
-            <!--The following files are mechanical-->
-            <exclude>**/R/rzeppelin/DESCRIPTION</exclude>
-            <exclude>**/R/rzeppelin/NAMESPACE</exclude>
-            <!--End of mechanical R files-->
-            <exclude>**/*.iml</exclude>
-            <exclude>.gitignore</exclude>
-            <exclude>**/.settings/*</exclude>
-            <exclude>**/.classpath</exclude>
-            <exclude>**/.project</exclude>
-            <exclude>**/target/**</exclude>
-            <exclude>**/derby.log</exclude>
-            <exclude>**/metastore_db/</exclude>
-            <exclude>**/README.md</exclude>
-            <exclude>**/dependency-reduced-pom.xml</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
 
       <plugin>
         <artifactId>maven-enforcer-plugin</artifactId>

http://git-wip-us.apache.org/repos/asf/zeppelin/blob/95c56f06/zeppelin-web/pom.xml
----------------------------------------------------------------------
diff --git a/zeppelin-web/pom.xml b/zeppelin-web/pom.xml
index d5bbb8d..8c114dd1 100644
--- a/zeppelin-web/pom.xml
+++ b/zeppelin-web/pom.xml
@@ -59,52 +59,6 @@
       </plugin>
 
       <plugin>
-        <groupId>org.apache.rat</groupId>
-        <artifactId>apache-rat-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>**/.idea/</exclude>
-            <exclude>**/*.iml</exclude>
-            <exclude>.git/</exclude>
-            <exclude>.gitignore</exclude>
-            <exclude>.babelrc</exclude>
-            <exclude>.bowerrc</exclude>
-            <exclude>.editorconfig</exclude>
-            <exclude>.jscsrc</exclude>
-            <exclude>.eslintrc</exclude>
-            <exclude>.tmp/**</exclude>
-            <exclude>**/.settings/*</exclude>
-            <exclude>**/.classpath</exclude>
-            <exclude>**/.project</exclude>
-            <exclude>**/target/**</exclude>
-            <exclude>node/**</exclude>
-            <exclude>node_modules/**</exclude>
-            <exclude>bower_components/**</exclude>
-            <exclude>src/**/*.test.js</exclude>
-            <exclude>reports/**</exclude>
-            <exclude>dist/**</exclude>
-            <exclude>src/.buildignore</exclude>
-            <exclude>src/fonts/fontawesome*</exclude>
-            <exclude>src/fonts/font-awesome*</exclude>
-            <exclude>src/styles/font-awesome*</exclude>
-            <exclude>src/fonts/Simple-Line*</exclude>
-            <exclude>src/fonts/simple-line*</exclude>
-            <exclude>src/fonts/Patua-One*</exclude>
-            <exclude>src/fonts/patua-one*</exclude>
-            <exclude>src/fonts/Roboto*</exclude>
-            <exclude>src/fonts/roboto*</exclude>
-            <exclude>src/fonts/Source-Code-Pro*</exclude>
-            <exclude>src/fonts/source-code-pro*</exclude>
-            <exclude>bower.json</exclude>
-            <exclude>**/package.json</exclude>
-            <exclude>**/.npmignore</exclude>
-            <exclude>yarn.lock</exclude>
-            <exclude>*.md</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
-
-      <plugin>
         <groupId>com.github.eirslett</groupId>
         <artifactId>frontend-maven-plugin</artifactId>
         <version>${plugin.frontned.version}</version>

Reply via email to