This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new 2665efdf5 OPENMEETINGS-2844: Migrate to RAT 0.18 configuration (#317)
2665efdf5 is described below

commit 2665efdf5294556cf165dac4685200f64906fe5e
Author: P. Ottlinger <[email protected]>
AuthorDate: Wed Oct 14 12:15:15 2026 +0200

    OPENMEETINGS-2844: Migrate to RAT 0.18 configuration (#317)
    
    * Migrate to RAT 0.18 configuration options
    
    * Format RAT config
---
 .rat-config.xml | 24 ++++++++++++++++++++++++
 pom.xml         | 58 ++++++++++++---------------------------------------------
 2 files changed, 36 insertions(+), 46 deletions(-)

diff --git a/.rat-config.xml b/.rat-config.xml
new file mode 100644
index 000000000..e50690df9
--- /dev/null
+++ b/.rat-config.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rat-config>
+  <!-- Explicitly forbid Alibaba license to catch non-compliant headers during 
our migration from Alibaba to ASF.
+         We must add this check because an Alibaba license header may contain 
Apache text and be wrongly marked as approved. -->
+  <families>
+    <family id="OM_MIT" name="MIT"/>
+    <family id="OM_CC_BY_4" name="CC BY 4.0"/>
+    <family id="PD" name="Public Domain"/>
+  </families>
+  <licenses>
+    <license id="OM_MIT" family="OM_MIT" name="Alibaba Group Holding Ltd">
+      <any>
+        <text>licensed under the MIT</text>
+        <text>Licensed MIT</text>
+      </any>
+    </license>
+    <license id="OM_CC_BY_4" family="OM_CC_BY_4" name="CC BY 4.0 License">
+      <text>CC BY 4.0 License</text>
+    </license>
+    <license id="PD" family="PD" name="Public Domain">
+      <text>Licensed Public Domain</text>
+    </license>
+  </licenses>
+</rat-config>
diff --git a/pom.xml b/pom.xml
index 362567fb6..58d526467 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1126,6 +1126,7 @@
                                <artifactId>apache-rat-plugin</artifactId>
                                <configuration>
                                        <skip>${om.quick.build}</skip>
+                                        
<config>${maven.multiModuleProjectDirectory}/.rat-config.xml</config>
                                </configuration>
                                <executions>
                                        <execution>
@@ -1439,53 +1440,18 @@
                                        <groupId>org.apache.rat</groupId>
                                        
<artifactId>apache-rat-plugin</artifactId>
                                        <configuration>
-                                               <licenses>
-                                                       <license>
-                                                               
<family>OM_MIT</family>
-                                                               <any>
-                                                                       
<text>licensed under the MIT</text>
-                                                                       
<text>Licensed MIT</text>
-                                                               </any>
-                                                       </license>
-                                                       <license>
-                                                               
<family>OM_CC_BY_4</family>
-                                                               <any>
-                                                                       
<text>CC BY 4.0 License</text>
-                                                               </any>
-                                                       </license>
-                                                       <license>
-                                                               
<family>PD</family>
-                                                               <any>
-                                                                       
<text>Licensed Public Domain</text>
-                                                               </any>
-                                                       </license>
-                                               </licenses>
-                                               <families>
-                                                       <family>
-                                                               <id>OM_MIT</id>
-                                                               <name>MIT</name>
-                                                       </family>
-                                                       <family>
-                                                               
<id>OM_CC_BY_4</id>
-                                                               <name>CC BY 
4.0</name>
-                                                       </family>
-                                                       <family>
-                                                               <id>PD</id>
-                                                               <name>Public 
Domain</name>
-                                                       </family>
-                                               </families>
                                                <inputExcludes>
-                                                       
<inputExclude>**/*.mp3</inputExclude>
-                                                       
<inputExclude>**/*.pdf</inputExclude>
-                                                       
<inputExclude>**/localhost.jks</inputExclude>
-                                                       
<inputExclude>**/node_modules/**</inputExclude>
-                                                       
<inputExclude>**/package-lock.json</inputExclude>
-                                                       
<inputExclude>**/target/**</inputExclude>
-                                                       
<inputExclude>**/.project</inputExclude>
-                                                       
<inputExclude>**/.classpath</inputExclude>
-                                                       
<inputExclude>**/.settings/**</inputExclude>
-                                                       
<inputExclude>.gitattributes</inputExclude>
-                                                       
<inputExclude>/apache-maven-*/bin/m2.conf</inputExclude> <!-- for dependabot -->
+                                                       
<exclude>**/*.mp3</exclude>
+                                                       
<exclude>**/*.pdf</exclude>
+                                                       
<exclude>**/localhost.jks</exclude>
+                                                       
<exclude>**/node_modules/**</exclude>
+                                                       
<exclude>**/package-lock.json</exclude>
+                                                       
<exclude>**/target/**</exclude>
+                                                       
<exclude>**/.project</exclude>
+                                                       
<exclude>**/.classpath</exclude>
+                                                       
<exclude>**/.settings/**</exclude>
+                                                       
<exclude>.gitattributes</exclude>
+                                                       
<exclude>/apache-maven-*/bin/m2.conf</exclude> <!-- for dependabot -->
                                                </inputExcludes>
                                                <verbose>true</verbose>
                                        </configuration>

Reply via email to