You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by bd...@apache.org on 2025/12/18 23:24:51 UTC
(directory-scimple) 01/01: Apache Rat license scanning is not threadsafe
This is an automated email from the ASF dual-hosted git repository.
bdemers pushed a commit to branch rat-threadsafe
in repository https://gitbox.apache.org/repos/asf/directory-scimple.git
commit 0cea764b62e9c66fd7ad14683d96df0428a28092
Author: Brian Demers <bd...@apache.org>
AuthorDate: Thu Dec 18 18:24:04 2025 -0500
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 acac4dde..6373d735 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 c92306e4..027c1f5f 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 80bb1c8c..ec6d17e8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -643,6 +643,9 @@
<artifactId>apache-rat-plugin</artifactId>
<version>0.17</version>
<configuration>
+ <inputExcludeStd>ECLIPSE</inputExcludeStd>
+ <inputExcludeStd>IDEA</inputExcludeStd>
+ <inputExcludeStd>MAC</inputExcludeStd>
<excludes>
<exclude>**/*.md</exclude>
<exclude>**/*.json</exclude>