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:45:28 UTC

[1/2] git commit: [TWILL-17] add RAT check to pom.xml, configure excludes, and add standard license where missing

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


[TWILL-17] 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/9aca11c1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-twill/tree/9aca11c1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-twill/diff/9aca11c1

Branch: refs/heads/master
Commit: 9aca11c1dbe1c51d45a64a14920b516e72d6d660
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:44:54 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/9aca11c1/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/9aca11c1/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/9aca11c1/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/9aca11c1/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/9aca11c1/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/9aca11c1/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>


[2/2] git commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-twill

Posted by an...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-twill


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

Branch: refs/heads/master
Commit: ee442915fc9f1ef06714ac63a25bd2bfb4312c9d
Parents: 9aca11c d0b75e5
Author: anew <an...@continuuity.com>
Authored: Mon Jan 6 18:45:14 2014 -0800
Committer: anew <an...@continuuity.com>
Committed: Mon Jan 6 18:45:14 2014 -0800

----------------------------------------------------------------------

----------------------------------------------------------------------