mirror of https://github.com/apache/jclouds.git
Add license headers to src/test/resources where possible, more fine-grained RAT exclusions
This commit is contained in:
parent
5c18b6a1b4
commit
a02218e212
|
@ -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:
|
nodes:
|
||||||
- id: cluster-1
|
- id: cluster-1
|
||||||
name: cluster-1
|
name: cluster-1
|
||||||
|
|
|
@ -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:
|
nodes:
|
||||||
- id: cluster-1
|
- id: cluster-1
|
||||||
name: cluster-1
|
name: cluster-1
|
||||||
|
|
|
@ -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:
|
nodes:
|
||||||
- id: cluster-1
|
- id: cluster-1
|
||||||
name: cluster-1
|
name: cluster-1
|
||||||
|
|
|
@ -1,8 +1,29 @@
|
||||||
# Set the default logging level for all loggers to WARNING
|
#
|
||||||
.level = INFO
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
handlers = java.util.logging.ConsoleHandler
|
# or more contributor license agreements. See the NOTICE file
|
||||||
java.util.logging.ConsoleHandler.level = ALL
|
# distributed with this work for additional information
|
||||||
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
org.jclouds.filesystem.FilesystemAsyncBlobStore.level=ALL
|
# to you under the Apache License, Version 2.0 (the
|
||||||
org.jclouds.filesystem.FilesystemAsyncBlobStore.handler=java.util.logging.ConsoleHandler
|
# "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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
||||||
|
-->
|
||||||
|
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
|
@ -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
|
# Dummy pom.properties file for testing
|
||||||
version=0.0.0-SNAPSHOT
|
version=0.0.0-SNAPSHOT
|
||||||
groupId=org.apache.jclouds
|
groupId=org.apache.jclouds
|
||||||
|
|
|
@ -367,7 +367,17 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<excludes>
|
<excludes>
|
||||||
<!-- expectation files for unit tests -->
|
<!-- 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 -->
|
<!-- prevent duplicating license -->
|
||||||
<exclude>**/LICENSE.txt</exclude>
|
<exclude>**/LICENSE.txt</exclude>
|
||||||
|
@ -385,10 +395,9 @@
|
||||||
<exclude>**/*json</exclude>
|
<exclude>**/*json</exclude>
|
||||||
<exclude>**/*readme</exclude>
|
<exclude>**/*readme</exclude>
|
||||||
|
|
||||||
<!-- one-line service registry files -->
|
<!-- SSH keys -->
|
||||||
<exclude>**/*ProviderMetadata</exclude>
|
<exclude>**/test</exclude>
|
||||||
<exclude>**/*ApiMetadata</exclude>
|
<exclude>**/test.pub</exclude>
|
||||||
<exclude>**/*LoggingModule</exclude>
|
|
||||||
|
|
||||||
<!-- temporary files or those generated by IDE or SCM -->
|
<!-- temporary files or those generated by IDE or SCM -->
|
||||||
<exclude>**/target/**</exclude>
|
<exclude>**/target/**</exclude>
|
||||||
|
@ -778,7 +787,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.rat</groupId>
|
<groupId>org.apache.rat</groupId>
|
||||||
<artifactId>apache-rat-plugin</artifactId>
|
<artifactId>apache-rat-plugin</artifactId>
|
||||||
<version>0.8</version>
|
<version>0.9</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
|
Loading…
Reference in New Issue