Updated Branches:
  refs/heads/1.5.x db8810dd6 -> 7250c7ec5

Add license headers to src/test/resources where possible, more fine-grained RAT 
exclusions


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

Branch: refs/heads/1.5.x
Commit: 6e979336b66bc440f6764fadc0284a64a20224e8
Parents: db8810d
Author: Andrew Bayer <[email protected]>
Authored: Mon Jun 10 11:45:58 2013 -0700
Committer: Andrew Bayer <[email protected]>
Committed: Wed Jun 12 16:45:14 2013 -0700

----------------------------------------------------------------------
 apis/byon/src/test/resources/test1.yaml         | 18 ++++++++++
 apis/byon/src/test/resources/test_location.yaml | 18 ++++++++++
 apis/byon/src/test/resources/test_with_url.yaml | 18 ++++++++++
 .../src/test/resources/logging.properties       | 37 +++++++++++++++-----
 .../jclouds-core/pom.properties                 | 21 +++++++++++
 project/pom.xml                                 | 21 +++++++----
 6 files changed, 119 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/6e979336/apis/byon/src/test/resources/test1.yaml
----------------------------------------------------------------------
diff --git a/apis/byon/src/test/resources/test1.yaml 
b/apis/byon/src/test/resources/test1.yaml
index 97761f6..f3f5209 100644
--- a/apis/byon/src/test/resources/test1.yaml
+++ b/apis/byon/src/test/resources/test1.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 nodes:
     - id: cluster-1
       name: cluster-1

http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/6e979336/apis/byon/src/test/resources/test_location.yaml
----------------------------------------------------------------------
diff --git a/apis/byon/src/test/resources/test_location.yaml 
b/apis/byon/src/test/resources/test_location.yaml
index e5c4b59..09ba45a 100644
--- a/apis/byon/src/test/resources/test_location.yaml
+++ b/apis/byon/src/test/resources/test_location.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 nodes:
     - id: cluster-1
       name: cluster-1

http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/6e979336/apis/byon/src/test/resources/test_with_url.yaml
----------------------------------------------------------------------
diff --git a/apis/byon/src/test/resources/test_with_url.yaml 
b/apis/byon/src/test/resources/test_with_url.yaml
index ad348e6..54d9047 100644
--- a/apis/byon/src/test/resources/test_with_url.yaml
+++ b/apis/byon/src/test/resources/test_with_url.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 nodes:
     - id: cluster-1
       name: cluster-1

http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/6e979336/apis/filesystem/src/test/resources/logging.properties
----------------------------------------------------------------------
diff --git a/apis/filesystem/src/test/resources/logging.properties 
b/apis/filesystem/src/test/resources/logging.properties
index f78dbde..2b76983 100644
--- a/apis/filesystem/src/test/resources/logging.properties
+++ b/apis/filesystem/src/test/resources/logging.properties
@@ -1,8 +1,29 @@
-# Set the default logging level for all loggers to WARNING
-.level = INFO
-
-handlers = java.util.logging.ConsoleHandler
-java.util.logging.ConsoleHandler.level = ALL
-java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
-org.jclouds.filesystem.FilesystemAsyncBlobStore.level=ALL
-org.jclouds.filesystem.FilesystemAsyncBlobStore.handler=java.util.logging.ConsoleHandler
+#
+#
+# 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.
+#
+#
+
+# Set the default logging level for all loggers to WARNING
+.level = INFO
+
+handlers = java.util.logging.ConsoleHandler
+java.util.logging.ConsoleHandler.level = ALL
+java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
+org.jclouds.filesystem.FilesystemAsyncBlobStore.level=ALL
+org.jclouds.filesystem.FilesystemAsyncBlobStore.handler=java.util.logging.ConsoleHandler

http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/6e979336/core/src/test/resources/META-INF/maven/org.apache.jclouds/jclouds-core/pom.properties
----------------------------------------------------------------------
diff --git 
a/core/src/test/resources/META-INF/maven/org.apache.jclouds/jclouds-core/pom.properties
 
b/core/src/test/resources/META-INF/maven/org.apache.jclouds/jclouds-core/pom.properties
index 29bd356..131ca6a 100644
--- 
a/core/src/test/resources/META-INF/maven/org.apache.jclouds/jclouds-core/pom.properties
+++ 
b/core/src/test/resources/META-INF/maven/org.apache.jclouds/jclouds-core/pom.properties
@@ -1,3 +1,24 @@
+#
+#
+# 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.
+#
+#
+
 # Dummy pom.properties file for testing
 version=0.0.0-SNAPSHOT
 groupId=org.apache.jclouds

http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/6e979336/project/pom.xml
----------------------------------------------------------------------
diff --git a/project/pom.xml b/project/pom.xml
index 8368756..842457f 100644
--- a/project/pom.xml
+++ b/project/pom.xml
@@ -352,7 +352,17 @@
         <configuration>
           <excludes>
             <!-- expectation files for unit tests -->
-            <exclude>**/src/test/resources/**</exclude>
+            <exclude>**/src/test/resources/**/*.sh</exclude>
+            <exclude>**/src/test/resources/**/*.bat</exclude>
+            <exclude>**/src/test/resources/**/*.cmd</exclude>
+            <exclude>**/src/test/resources/**/*.txt</exclude>
+            <exclude>**/src/test/resources/**/*.gz</exclude>
+            <exclude>**/src/test/resources/**/*.xml</exclude>
+            
+            <!-- META-INF/services files -->
+            <exclude>**/services/*LoggingModule</exclude>
+            <exclude>**/services/*ApiMetadata</exclude>
+            <exclude>**/services/*ProviderMetadata</exclude>
 
             <!-- prevent duplicating license -->
             <exclude>**/LICENSE.txt</exclude>
@@ -370,10 +380,9 @@
             <exclude>**/*json</exclude>
             <exclude>**/*readme</exclude>
 
-            <!-- one-line service registry files -->
-            <exclude>**/*ProviderMetadata</exclude>
-            <exclude>**/*ApiMetadata</exclude>
-            <exclude>**/*LoggingModule</exclude>
+            <!-- SSH keys -->
+            <exclude>**/test</exclude>
+            <exclude>**/test.pub</exclude>
 
             <!-- temporary files or those generated by IDE or SCM -->
             <exclude>**/target/**</exclude>
@@ -744,7 +753,7 @@
         <plugin>
           <groupId>org.apache.rat</groupId>
           <artifactId>apache-rat-plugin</artifactId>
-          <version>0.8</version>
+          <version>0.9</version>
         </plugin>
         <plugin>
           <groupId>org.codehaus.mojo</groupId>

Reply via email to