Skip to content

Commit 85950e9

Browse files
committed
[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 8453ddf [Cheng Pan] Suppress rat-plugin deprecate warnings Authored-by: Cheng Pan <[email protected]> Signed-off-by: Cheng Pan <[email protected]>
1 parent 926a8cb commit 85950e9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

pom.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,11 +1761,9 @@
17611761
<configuration>
17621762
<excludeSubProjects>false</excludeSubProjects>
17631763
<numUnapprovedLicenses>0</numUnapprovedLicenses>
1764-
<licenseFamilies>
1765-
<licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
1766-
<familyName>Apache License 2.0</familyName>
1767-
</licenseFamily>
1768-
</licenseFamilies>
1764+
<approvedLicenses>
1765+
<id>AL2.0</id>
1766+
</approvedLicenses>
17691767
<excludesFile>.rat-excludes</excludesFile>
17701768
</configuration>
17711769
<executions>

0 commit comments

Comments
 (0)