You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by po...@apache.org on 2025/10/17 22:29:19 UTC
(creadur-rat) 04/05: RAT-501: adapt configuration to new 0.17style and include problematic files
This is an automated email from the ASF dual-hosted git repository.
pottlinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git
commit b421d0894f46ad6317d9f4af63a7f1680fcc886b
Author: P. Ottlinger <po...@apache.org>
AuthorDate: Sat Oct 18 00:21:59 2025 +0200
RAT-501: adapt configuration to new 0.17style and include problematic files
---
apache-rat-core/pom.xml | 10 ++++++++--
.../src/main/resources/org/apache/rat/default.xml | 16 ++++++++++++++++
.../resources/org/apache/rat/example-configuration.xml | 16 ++++++++++++++++
3 files changed, 40 insertions(+), 2 deletions(-)
diff --git a/apache-rat-core/pom.xml b/apache-rat-core/pom.xml
index b39201e3..9430eecc 100644
--- a/apache-rat-core/pom.xml
+++ b/apache-rat-core/pom.xml
@@ -43,7 +43,13 @@
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
- <excludes>
+ <inputExcludes>
+ <!-- remove if RAT-501 is fixed -->
+ <exclude>**/default.xml</exclude>
+ <exclude>**/example-configuration.xml</exclude>
+ <exclude>**/ReporterOptionsProvider.java</exclude>
+ <exclude>**/GPLLicenseTest.java</exclude>
+ <!-- /remove if RAT-501 is fixed -->
<!-- Generated by Eclipse, and not distributed, so ignorable. -->
<exclude>bin/**/*</exclude>
<exclude>.externalToolBuilders/**/*</exclude>
@@ -52,7 +58,7 @@
<exclude>src/it/resources/ReportTest/**</exclude>
<!-- this has an Apache-1.0 license which is not recognized -->
<excludes>**/org/apache/rat/config/exclusion/plexus/SelectorUtils.java</excludes>
- </excludes>
+ </inputExcludes>
</configuration>
</plugin>
</plugins>
diff --git a/apache-rat-core/src/main/resources/org/apache/rat/default.xml b/apache-rat-core/src/main/resources/org/apache/rat/default.xml
index 4d2efa1c..419f6539 100644
--- a/apache-rat-core/src/main/resources/org/apache/rat/default.xml
+++ b/apache-rat-core/src/main/resources/org/apache/rat/default.xml
@@ -1,4 +1,20 @@
<?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.
+-->
<rat-config>
<families>
<family id="AL" name="Apache License" />
diff --git a/apache-rat-core/src/main/resources/org/apache/rat/example-configuration.xml b/apache-rat-core/src/main/resources/org/apache/rat/example-configuration.xml
index 07eea0f4..5b4238ed 100644
--- a/apache-rat-core/src/main/resources/org/apache/rat/example-configuration.xml
+++ b/apache-rat-core/src/main/resources/org/apache/rat/example-configuration.xml
@@ -1,4 +1,20 @@
<?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.
+-->
<!-- This is a configuration example to show how to configure and integrate various license family definitions -->
<rat-config>
<!--