You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@twill.apache.org by an...@apache.org on 2014/01/07 03:43:24 UTC

git commit: add RAT check to pom.xml, configure excludes, and add standard license where missing

Updated Branches:
  refs/heads/master fab6d9328 -> d0b75e558


add RAT check to pom.xml, configure excludes, and add standard license where missing


Project: http://git-wip-us.apache.org/repos/asf/incubator-twill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-twill/commit/d0b75e55
Tree: http://git-wip-us.apache.org/repos/asf/incubator-twill/tree/d0b75e55
Diff: http://git-wip-us.apache.org/repos/asf/incubator-twill/diff/d0b75e55

Branch: refs/heads/master
Commit: d0b75e558a36db9a18440c90882b7a0e8159d148
Parents: fab6d93
Author: anew <an...@continuuity.com>
Authored: Mon Jan 6 18:43:06 2014 -0800
Committer: anew <an...@continuuity.com>
Committed: Mon Jan 6 18:43:06 2014 -0800

----------------------------------------------------------------------
 pom.xml                                             | 15 +++++++++++++++
 twill-core/src/test/resources/logback-test.xml      | 16 ++++++++++++++++
 .../src/test/resources/logback-test.xml             | 16 ++++++++++++++++
 twill-yarn/src/main/resources/logback-template.xml  | 16 ++++++++++++++++
 twill-yarn/src/test/resources/logback-test.xml      | 16 ++++++++++++++++
 twill-zookeeper/src/test/resources/logback-test.xml | 16 ++++++++++++++++
 6 files changed, 95 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-twill/blob/d0b75e55/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index dea488a..d35ac34 100644
--- a/pom.xml
+++ b/pom.xml
@@ -281,6 +281,21 @@
                     <deployAtEnd>true</deployAtEnd>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <version>0.10</version>
+                <configuration>
+                    <excludes>
+                        <exclude>.git/**/*</exclude>
+                        <exclude>**/*.iml</exclude>
+                        <exclude>target/**/*</exclude>
+                        <exclude>**/README</exclude>
+                        <exclude>src/test/resources/header.txt</exclude>
+                    </excludes>
+                    <ignoreErrors>true</ignoreErrors>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/incubator-twill/blob/d0b75e55/twill-core/src/test/resources/logback-test.xml
----------------------------------------------------------------------
diff --git a/twill-core/src/test/resources/logback-test.xml b/twill-core/src/test/resources/logback-test.xml
index 3c36660..9a90106 100644
--- a/twill-core/src/test/resources/logback-test.xml
+++ b/twill-core/src/test/resources/logback-test.xml
@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
 
 <!-- Default logback configuration for twill library -->
 <configuration>

http://git-wip-us.apache.org/repos/asf/incubator-twill/blob/d0b75e55/twill-discovery-core/src/test/resources/logback-test.xml
----------------------------------------------------------------------
diff --git a/twill-discovery-core/src/test/resources/logback-test.xml b/twill-discovery-core/src/test/resources/logback-test.xml
index 2615cb4..4bcdb42 100644
--- a/twill-discovery-core/src/test/resources/logback-test.xml
+++ b/twill-discovery-core/src/test/resources/logback-test.xml
@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
 
 <!-- Default logback configuration for twill library -->
 <configuration>

http://git-wip-us.apache.org/repos/asf/incubator-twill/blob/d0b75e55/twill-yarn/src/main/resources/logback-template.xml
----------------------------------------------------------------------
diff --git a/twill-yarn/src/main/resources/logback-template.xml b/twill-yarn/src/main/resources/logback-template.xml
index 38cf6c8..abe17a8 100644
--- a/twill-yarn/src/main/resources/logback-template.xml
+++ b/twill-yarn/src/main/resources/logback-template.xml
@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
 
 <!-- Default logback configuration for twill library -->
 <configuration>

http://git-wip-us.apache.org/repos/asf/incubator-twill/blob/d0b75e55/twill-yarn/src/test/resources/logback-test.xml
----------------------------------------------------------------------
diff --git a/twill-yarn/src/test/resources/logback-test.xml b/twill-yarn/src/test/resources/logback-test.xml
index 2615cb4..4bcdb42 100644
--- a/twill-yarn/src/test/resources/logback-test.xml
+++ b/twill-yarn/src/test/resources/logback-test.xml
@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
 
 <!-- Default logback configuration for twill library -->
 <configuration>

http://git-wip-us.apache.org/repos/asf/incubator-twill/blob/d0b75e55/twill-zookeeper/src/test/resources/logback-test.xml
----------------------------------------------------------------------
diff --git a/twill-zookeeper/src/test/resources/logback-test.xml b/twill-zookeeper/src/test/resources/logback-test.xml
index 157df6e..90350cb 100644
--- a/twill-zookeeper/src/test/resources/logback-test.xml
+++ b/twill-zookeeper/src/test/resources/logback-test.xml
@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
 
 <!-- Default logback configuration for twill library -->
 <configuration>