Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Some dependencies in the uimaj project are scope compile, which would be better as scope provided, to allow downstream projects that depend on this to *not* have these dependencies added to their project.
Examples: the jar that is used only at compile time to supply annotations for Findbugs; the jars that are used at compile time for the log4j logging impl (the downstream depender may not be using log4j, and having these causes maybe wrong slf4j selection of the logging back end).
When moving log4j things to provided, this also removes them from the test classpath, which makes the tests that need log4j break. Fix this by configuring the surefire plugin to add these dependencies back just for testing (a hack, but I don't know of a better way).