Robbie Gemmell created ARTEMIS-3655:
---------------------------------------
Summary: isolate the ErrorProne dependencies to the profiles that
use them
Key: ARTEMIS-3655
URL: https://issues.apache.org/jira/browse/ARTEMIS-3655
Project: ActiveMQ Artemis
Issue Type: Improvement
Affects Versions: 2.20.0
Reporter: Robbie Gemmell
Fix For: 2.21.0
The build optionally uses ErrorProne during compilation to catch certain
issues. The ErrorProne dependency was added as a provided dep to various
modules, rather than to the compiler config, as doing so would require
consolidation all annotation processing there. However this means that
ErrorProne and its number of dependencies inc Guava are present on the path of
most modules during the build/tests even when ErrorProne compilation isnt being
used.
This change isolates the dependency to the errorprone profiles, defined only in
the parent pom and inherited by the rest of the modules, thus simplifying the
config, enabling it in places it was not being enabled before, and ensuring the
deps are only present when the compiler is actually being instructed to use
them.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)