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

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


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

commit 69eb530780fb71caee61bccea6178d21ac084a2a
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]>
    (cherry picked from commit 85950e9b9c9d5e426adc13189e71057c42b1a9e2)
    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 25d1e212db..e183730a94 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1758,11 +1758,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