Review current RAT failures
Add headers to files that should have them. Exclude additional test files that don't have headers.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1809929 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/res/rat/rat-excludes.txt b/res/rat/rat-excludes.txt
index 86ebd8c..3b03742 100644
--- a/res/rat/rat-excludes.txt
+++ b/res/rat/rat-excludes.txt
@@ -79,7 +79,11 @@
output/dist/src/test/webapp/bug49nnn/bug49464-utf-8-bom.txt
output/dist/src/test/webapp/bug49nnn/bug49464-utf-8.txt
output/dist/src/test/webapp/bug53257/*.txt
+output/dist/src/test/webapp/bug53257/foo bar/foobar.txt
output/dist/src/test/webapp-fragments/WEB-INF/classes/*.txt
+output/dist/src/test/webresources/dir1/d1/d1-f1.txt
+output/dist/src/test/webresources/dir1/d2/d2-f1.txt
+output/dist/src/test/webresources/dir1/*.txt
test/webapp/index.html.br
test/webapp/bug49nnn/bug49464-cp1252.txt
test/webapp/bug49nnn/bug49464-ibm850.txt
@@ -87,7 +91,11 @@
test/webapp/bug49nnn/bug49464-utf-8-bom.txt
test/webapp/bug49nnn/bug49464-utf-8.txt
test/webapp/bug53257/*.txt
+test/webapp/bug53257/foo bar/foobar.txt
test/webapp-fragments/WEB-INF/classes/*.txt
+test/webresources/dir1/d1/d1-f1.txt
+test/webresources/dir1/d2/d2-f1.txt
+test/webresources/dir1/*.txt
**/*.json
diff --git a/test/META-INF/services/javax.servlet.ServletContainerInitializer b/test/META-INF/services/javax.servlet.ServletContainerInitializer
index a24853a..6cb967c 100644
--- a/test/META-INF/services/javax.servlet.ServletContainerInitializer
+++ b/test/META-INF/services/javax.servlet.ServletContainerInitializer
@@ -1,2 +1,17 @@
+# 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.
+
# SCIs that should be added when running tests
org.apache.jasper.servlet.JasperInitializer
\ No newline at end of file
diff --git a/test/webapp/index.html b/test/webapp/index.html
index 2bf0cef..392fa41 100644
--- a/test/webapp/index.html
+++ b/test/webapp/index.html
@@ -1,3 +1,19 @@
+<!--
+ 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.
+-->
<html>
<head>
<title>Index page</title>