This is an automated email from the ASF dual-hosted git repository.
claude pushed a commit to branch feature/restructure
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git
The following commit(s) were added to refs/heads/feature/restructure by this
push:
new 889e1386 added spotbugs-include.xml
889e1386 is described below
commit 889e1386b8cd71fc8e80c677e083a5dcc1579d0e
Author: Claude Warren <[email protected]>
AuthorDate: Mon Dec 22 23:27:22 2025 +0000
added spotbugs-include.xml
---
apache-rat-cli/pom.xml | 9 ++++-----
apache-rat-cli/spotbugs-ignore.xml | 36 ++++++++++++++++++++++++++++++++++++
apache-rat-cli/spotbugs-include.xml | 22 ++++++++++++++++++++++
apache-rat-core/spotbugs-include.xml | 22 ++++++++++++++++++++++
4 files changed, 84 insertions(+), 5 deletions(-)
diff --git a/apache-rat-cli/pom.xml b/apache-rat-cli/pom.xml
index 9a68608e..529c8995 100644
--- a/apache-rat-cli/pom.xml
+++ b/apache-rat-cli/pom.xml
@@ -78,11 +78,10 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
-
<configuration>
-<!-- <excludes>-->
-<!-- <exclude>META-INF/maven</exclude>-->
-<!-- </excludes>-->
+ <excludes>
+ <exclude>META-INF/maven</exclude>
+ </excludes>
<archive>
<manifestEntries>
<Main-Class>org.apache.rat.cli.Report</Main-Class>
@@ -145,7 +144,7 @@
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<configuration>
- <excludeFilterFile>spotbugs-ignore.xml</excludeFilterFile>
+ <includeFilterFile>spotbugs-include.xml</includeFilterFile>
</configuration>
</plugin>
</plugins>
diff --git a/apache-rat-cli/spotbugs-ignore.xml
b/apache-rat-cli/spotbugs-ignore.xml
new file mode 100644
index 00000000..a2ea5729
--- /dev/null
+++ b/apache-rat-cli/spotbugs-ignore.xml
@@ -0,0 +1,36 @@
+<?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.
+-->
+<FindBugsFilter>
+ <Match>
+ <!--
+ Convenience constructors that allow setting a charset are not available in
Java8 for PrintStream.
+ -->
+ <Class name="org.apache.rat.cli.Report"/>
+ <Bug pattern="DM_DEFAULT_ENCODING"/>
+ </Match>
+
+
+ <Match>
+ <Bug pattern='PATH_TRAVERSAL_IN'/>
+ </Match>
+
+ <Match>
+ <Bug pattern='EI_EXPOSE_REP'/>
+ </Match>
+
+</FindBugsFilter>
diff --git a/apache-rat-cli/spotbugs-include.xml
b/apache-rat-cli/spotbugs-include.xml
new file mode 100644
index 00000000..0289c5a6
--- /dev/null
+++ b/apache-rat-cli/spotbugs-include.xml
@@ -0,0 +1,22 @@
+<?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.
+-->
+<FindBugsFilter>
+ <Match>
+ <Package name="org.apache.rat.cli" />
+ </Match>
+</FindBugsFilter>
diff --git a/apache-rat-core/spotbugs-include.xml
b/apache-rat-core/spotbugs-include.xml
new file mode 100644
index 00000000..14186ec6
--- /dev/null
+++ b/apache-rat-core/spotbugs-include.xml
@@ -0,0 +1,22 @@
+<?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.
+-->
+<FindBugsFilter>
+ <Match>
+ <Package name="~org.apache.rat" />
+ </Match>
+</FindBugsFilter>