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

xiangfu0 pushed a commit to branch xiangfu0/pin-apache-rat-0.16.1
in repository https://gitbox.apache.org/repos/asf/pinot.git

commit 3157d6e53c9727b96b9ea183b4b1cd64bb6b98e3
Author: Xiang Fu <[email protected]>
AuthorDate: Wed Sep 23 15:22:54 2026 -0700

    Pin apache-rat-plugin to 0.16.1 to fix flaky parallel builds
    
    Apache parent 40 (#19633) bumped apache-rat-plugin from 0.16.1 to 0.18.
    RAT 0.17/0.18 mark the check goal threadSafe but share mutable state
    across executions (RAT-553, RAT-573, both fixed only in the unreleased
    1.0.0). Under `-T 16` this intermittently fails CI builds with
    ConcurrentModificationException / AlreadySelectedException, and can
    silently drop a module's excludes, producing false UNAPPROVED counts.
    
    Override version.apache-rat-plugin in the root pom until RAT 1.0.0 ships.
---
 pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/pom.xml b/pom.xml
index dd20c6f1584..73976ed73cc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -170,6 +170,14 @@
     -->
     <jacoco.exec.suffix></jacoco.exec.suffix>
 
+    <!--
+      Pin Apache RAT to 0.16.1 (Apache parent 40 defaults to 0.18). RAT 
0.17/0.18 declare the check goal thread-safe
+      but share mutable state across executions (RAT-553, RAT-573; fixed in 
1.0.0), which intermittently fails
+      parallel builds (-T) with ConcurrentModificationException or 
AlreadySelectedException. Revisit once RAT 1.0.0 is
+      released.
+    -->
+    <version.apache-rat-plugin>0.16.1</version.apache-rat-plugin>
+
     <!-- Checkstyle violation prop.-->
     <checkstyle.violation.severity>warning</checkstyle.violation.severity>
     <checkstyle.fail.on.violation>true</checkstyle.fail.on.violation>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to