Today, we have test-jars that are used as libraries for testing. That is not what "test jar" means, and dependency management actually does not work correctly for this. It is OK to depend on a test jar in order to run the tests therein, and not really OK to depend on one for another reason.
This ticket is a bucket ticket for fixes to this situation.
Imported from Jira BEAM-3573. Original Jira may contain additional context.
Reported by: kenn.