This is an automated email from the ASF dual-hosted git repository.

mrutkowski pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-openwhisk-release.git


The following commit(s) were added to refs/heads/master by this push:
     new 6c892f2  update rat pom.xml and doc to exclude some files in openwhisk 
repo (#126)
6c892f2 is described below

commit 6c892f2b00c838a4bb44b0a4d1bd95e487e43a03
Author: Ying Chun Guo <[email protected]>
AuthorDate: Tue Apr 24 23:31:07 2018 +0800

    update rat pom.xml and doc to exclude some files in openwhisk repo (#126)
---
 docs/license_compliance.md | 13 +++++++++++--
 tools/lib/pom.xml          | 20 ++++++++++++++++++++
 2 files changed, 31 insertions(+), 2 deletions(-)

diff --git a/docs/license_compliance.md b/docs/license_compliance.md
index f464da6..7e982aa 100644
--- a/docs/license_compliance.md
+++ b/docs/license_compliance.md
@@ -52,9 +52,18 @@ In OpenWhisk project, we decided to apply short form of 
header to minified OpenW
 | Template files (`*.j2`) | Excluded | - | Not much creativity |
 | Json files (`*.json`) | Excluded | - | Json files don't support comments 
officially |
 | `i18n_resources.go` | Excluded | - | Not much creativity. The file is auto 
created. Not able to add header |
-| `application.conf` | Excluded | - | Not much creativity. See a sample 
[here](https://github.com/apache/incubator-openwhisk-runtime-nodejs/blob/master/tests/src/test/resources/application.conf)
 |
+| `*.conf` | Excluded | - | Configuration file. Not much creativity. See a 
sample 
[here](https://github.com/apache/incubator-openwhisk-runtime-nodejs/blob/master/tests/src/test/resources/application.conf)
 |
+| `*.env` | Excluded | - | Configuration file. Not much creativity. See a 
sample 
[here](https://github.com/apache/incubator-openwhisk/blob/master/ansible/environments/distributed/files/openstack/openstack.env)
 |
+| `*.cfg` | Excluded | - | Configuration file. Not much creativity. See a 
sample 
[here](https://github.com/apache/incubator-openwhisk/blob/master/ansible/ansible.cfg)
 |
+| `*.ini` | Excluded | - | Configuration file. Not much creativity. See a 
sample 
[here](https://github.com/apache/incubator-openwhisk/blob/master/ansible/files/package-versions.ini)
 |
+| `*.properties` | Excluded | - | Configuration file. Not much creativity. See 
a sample 
[here](https://github.com/apache/incubator-openwhisk/blob/master/tools/eclipse/scala.properties)
 |
+| `post.lua` | Excluded | - | Configuration file. Not much creativity. See a 
sample 
[here](https://github.com/apache/incubator-openwhisk/blob/master/performance/wrk_tests/post.lua)
 |
+| `java.xml`,`logback.xml` | Excluded | - | Configuration file in XML format. 
Not much creativity. See a sample 
[here](https://github.com/apache/incubator-openwhisk/blob/master/tools/eclipse/java.xml)
 |
 | `group_vars/all` | Excluded | - | Not much creativity. See a sample 
[here](https://github.com/apache/incubator-openwhisk-runtime-nodejs/blob/master/ansible/environments/local/group_vars/all)
 |
 | `hosts` | Excluded | - | Not much creativity. See a sample 
[here](https://github.com/apache/incubator-openwhisk-runtime-nodejs/blob/master/ansible/environments/local/hosts)
 |
+| `dockerhub.groovy` | Excluded | - | Not much creativity. See a sample 
[here](https://github.com/apache/incubator-openwhisk/blob/master/tools/jenkins/apache/dockerhub.groovy)
 |
+| `openwhisk/actionRuntimes/*/Dockerfile` | Excluded | - | Very simple docker 
file without creativity. See a sample 
[here](https://github.com/apache/incubator-openwhisk/blob/master/actionRuntimes/python2Action/Dockerfile)
 |
+| `openwhisk/sdk/docker/Dockerfile` | Excluded | - | Very simple docker file 
without creativity. See a sample 
[here](https://github.com/apache/incubator-openwhisk/blob/master/sdk/docker/Dockerfile)
 |
 
 ## Tools and scripts
 
@@ -63,7 +72,7 @@ In OpenWhisk project, we decided to apply short form of 
header to minified OpenW
 ```
 cd $OPENWHISK_SOURCE_DIR
 cp $SCRIPTDIR/lib/pom.xml ./
-mvn clean apache-rat:check 
+mvn clean apache-rat:check
 ```
 Below script snippet is used to check LICENSE file and NOTICE file in every 
repository.
 ```
diff --git a/tools/lib/pom.xml b/tools/lib/pom.xml
index 71621ba..c978e97 100644
--- a/tools/lib/pom.xml
+++ b/tools/lib/pom.xml
@@ -66,6 +66,26 @@
             <exclude>**/i18n_resources.go</exclude>
             <!-- NOTICE files -->
             <exclude>**/NOTICE.md</exclude>
+            <!-- LICENSE files -->
+            <exclude>**/licenses/**</exclude>
+            <!-- LICENSE files -->
+            <exclude>**/CREDITS.txt</exclude>
+            <!-- configuration files -->
+            <exclude>**/group_vars/all</exclude>
+            <exclude>**/**.conf</exclude>
+            <exclude>**/**.env</exclude>
+            <exclude>**/**.cfg</exclude>
+            <exclude>**/**.ini</exclude>
+            <exclude>**/**.properties</exclude>
+            <exclude>**/post.lua</exclude>
+            <exclude>**/java.xml</exclude>
+            <exclude>**/logback.xml</exclude>
+            <exclude>**/post.lua</exclude>
+            <exclude>**/hosts</exclude>
+            <exclude>**/dockerhub.groovy</exclude>
+            <!-- None creative docker files -->
+            <exclude>openwhisk/actionRuntimes/**/Dockerfile</exclude>
+            <exclude>openwhisk/sdk/docker/Dockerfile</exclude>
             <!-- Test data / src files -->
             <!-- <exclude>*/tests/dat/**</exclude> -->
             <!-- <exclude>*/tests/src/**</exclude> -->

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to