Github user srowen commented on the issue:
https://github.com/apache/spark/pull/16303
This may work in practice, but it doesn't sound like the right change. The
scalatest dependency is correctly non-test because it is used by the tags that
this module exposes from its non-test code.
One solution is to make spark-tags itself provided, because it won't matter
if the annotations are present at runtime, as far as I can tell. It's not
really provided, but, doesn't matter.
Another is to move the test-oriented tags to src/test/scala, and have tests
depend on its test-jar artifact.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]