Skip to content

Commit 5e5da0f

Browse files
committed
Fix RAT warnings on CI build
1 parent 70328d0 commit 5e5da0f

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

res/rat/rat-excludes.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
- Files in API documentation (javadoc) that are generated
3131

3232
- test files, such as trivial textual files containing only "OK' string,
33-
files in unusual encodings or compressed files are also excluded.
33+
files in that cannot support license headers and/or use unusual encodings
34+
and/or are compressed files are also excluded.
3435

3536
- JSON files (RFC7159) are data and cannot contain comments
3637

@@ -87,6 +88,9 @@ output/dist/webapps/docs/*/search-page.js
8788
output/dist/webapps/docs/*/tag-search-index.js
8889
output/dist/webapps/docs/*/type-search-index.js
8990

91+
output/dist/src/test/org/apache/tomcat/util/net/*.pem
92+
output/dist/src/test/org/apache/tomcat/util/net/index.db
93+
output/dist/src/test/org/apache/tomcat/util/net/jsse/*.pem
9094
output/dist/src/test/org/apache/tomcat/util/net/jsse/key-password
9195
output/dist/src/test/org/apache/tomcat/util/net/key-password
9296
output/dist/src/test/org/apache/tomcat/util/net/keystore-password
@@ -106,6 +110,9 @@ output/dist/src/test/webapp-fragments/WEB-INF/classes/*.txt
106110
output/dist/src/test/webresources/dir1/d1/d1-f1.txt
107111
output/dist/src/test/webresources/dir1/d2/d2-f1.txt
108112
output/dist/src/test/webresources/dir1/*.txt
113+
test/org/apache/tomcat/util/net/*.pem
114+
test/org/apache/tomcat/util/net/index.db
115+
test/org/apache/tomcat/util/net/jsse/*.pem
109116
test/org/apache/tomcat/util/net/jsse/key-password
110117
test/org/apache/tomcat/util/net/key-password
111118
test/org/apache/tomcat/util/net/keystore-password
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
1+
Licensed to the Apache Software Foundation (ASF) under one or more
2+
contributor license agreements. See the NOTICE file distributed with
3+
this work for additional information regarding copyright ownership.
4+
The ASF licenses this file to You under the Apache License, Version 2.0
5+
(the "License"); you may not use this file except in compliance with
6+
the License. You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
116
This is a test file for https://bz.apache.org/bugzilla/show_bug.cgi?id=69623

0 commit comments

Comments
 (0)