From 0cea764b62e9c66fd7ad14683d96df0428a28092 Mon Sep 17 00:00:00 2001 From: Brian Demers Date: Thu, 18 Dec 2025 18:24:04 -0500 Subject: [PATCH] Apache Rat license scanning is not threadsafe It's unclear where the problem is, but running the build with one thread fixes issue --- .githooks/pre-push | 2 +- .github/workflows/rat.yml | 2 +- pom.xml | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.githooks/pre-push b/.githooks/pre-push index acac4dde4..6373d7357 100755 --- a/.githooks/pre-push +++ b/.githooks/pre-push @@ -22,4 +22,4 @@ # Runs License header checks with Apache Rat # ---------------------------------------------------------------------------- -./mvnw apache-rat:check +./mvnw apache-rat:check -T1 diff --git a/.github/workflows/rat.yml b/.github/workflows/rat.yml index c92306e49..027c1f5fc 100644 --- a/.github/workflows/rat.yml +++ b/.github/workflows/rat.yml @@ -29,7 +29,7 @@ jobs: with: name: "Apache Rat - Check" jobs_path: "rat / maven" - mvn: apache-rat:check + mvn: apache-rat:check -T1 java-version: 17 java-distribution: 'zulu' secrets: inherit diff --git a/pom.xml b/pom.xml index 80bb1c8ca..ec6d17e8c 100644 --- a/pom.xml +++ b/pom.xml @@ -643,6 +643,9 @@ apache-rat-plugin 0.17 + ECLIPSE + IDEA + MAC **/*.md **/*.json