You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@artemis.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2026/09/24 16:48:00 UTC
[jira] [Created] (ARTEMIS-6270) Downgrade Apache rat plugin version
Justin Bertram created ARTEMIS-6270:
---------------------------------------
Summary: Downgrade Apache rat plugin version
Key: ARTEMIS-6270
URL: https://issues.apache.org/jira/browse/ARTEMIS-6270
Project: Artemis
Issue Type: Task
Reporter: Justin Bertram
Assignee: Justin Bertram
The recent upgrade of {{apache-parent}} from {{39}} to {{40}} (see ARTEMIS-X) brought a corresponding upgrade of {{org.apache.rat:apache-rat-plugin}} from {{0.16.1}} to {{0.18}}.
Unfortunately this version of {{apache-rat-plugin}} appears to have problems with concurrent builds (e.g. via {{mvnd}} or using {{-T1C}}). Sometimes it will fail with an error like:
{noformat}
Counter(s) UNAPPROVED exceeded minimum or maximum values. See RAT report in: '/path/to/rat.txt'.{noformat}
However, when inspecting that file there will be no files listed with unapproved licenses or the file listed came from the {{target}} directory (which it should not be inspecting). Here are some other failures I've seen:
{noformat}
Execution default-cli of goal org.apache.rat:apache-rat-plugin:0.18:check failed.: ConcurrentModificationException{noformat}
{noformat}
Execution default of goal org.apache.rat:apache-rat-plugin:0.18:check failed: Cannot invoke "org.apache.rat.config.exclusion.fileProcessors.AbstractFileProcessorBuilder$LevelBuilder.asMatcherSet()" because the return value of "java.util.SortedMap.get(Object)" is null{noformat}
{noformat}
Failed to execute goal org.apache.rat:apache-rat-plugin:0.18:check (default) on project artemis-cdi-client: java.lang.NullPointerException: Cannot invoke "org.apache.rat.license.LicenseSetFactory$LicenseFilter.ordinal()" because "filter" is null{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@artemis.apache.org
For additional commands, e-mail: issues-help@artemis.apache.org