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

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


The following commit(s) were added to refs/heads/master by this push:
     new 85950e9b9c [KYUUBI #7260] Suppress rat-plugin deprecate warnings
85950e9b9c is described below

commit 85950e9b9c9d5e426adc13189e71057c42b1a9e2
Author: Cheng Pan <[email protected]>
AuthorDate: Tue Nov 25 14:32:57 2025 +0800

    [KYUUBI #7260] Suppress rat-plugin deprecate warnings
    
    ### Why are the changes needed?
    
    ```
    [INFO] --- apache-rat:0.16.1:check (default)  kyuubi-parent ---
    [WARNING]  Parameter 'licenseFamilies' is deprecated: No reason given
    ```
    
    ### How was this patch tested?
    
    Pass GHA, and manually checked that the warnings have gone away.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #7260 from pan3793/rat-warning.
    
    Closes #7260
    
    8453ddfca [Cheng Pan] Suppress rat-plugin deprecate warnings
    
    Authored-by: Cheng Pan <[email protected]>
    Signed-off-by: Cheng Pan <[email protected]>
---
 pom.xml | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/pom.xml b/pom.xml
index 4b95d198e6..a61363a9ca 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1761,11 +1761,9 @@
                     <configuration>
                         <excludeSubProjects>false</excludeSubProjects>
                         <numUnapprovedLicenses>0</numUnapprovedLicenses>
-                        <licenseFamilies>
-                            <licenseFamily 
implementation="org.apache.rat.license.SimpleLicenseFamily">
-                                <familyName>Apache License 2.0</familyName>
-                            </licenseFamily>
-                        </licenseFamilies>
+                        <approvedLicenses>
+                            <id>AL2.0</id>
+                        </approvedLicenses>
                         <excludesFile>.rat-excludes</excludesFile>
                     </configuration>
                     <executions>

Reply via email to