Slawomir Jaranowski opened MDEP-791 and commented
When we use some dependency in test classes which is not used in production code but is required as transitive dependency for other used in production code - such dependency should not be included in {}Non-test scoped{}.
Example:
- test code use
ObjectCodec from jackson-core
- production code use only
ObjectMapper from jackson-databind
- production code don't use any classes from
jackson-core
jackson-core is needed by jackson-databind and must by in compile scope so should not be reported as Non-test scoped
Affects: 3.2.0, 3.3.0
Attachments:
Issue Links:
- MDEP-753 Non-test dependency reported as Non-test scoped test only dependency
("split from")
- MNG-6058 Test dependencies should override application dependencies only during testing
("is caused by")
- MNG-6058 Test dependencies should override application dependencies only during testing
15 votes, 26 watchers
Slawomir Jaranowski opened MDEP-791 and commented
When we use some dependency in test classes which is not used in production code but is required as transitive dependency for other used in production code - such dependency should not be included in {}
Non-test scoped{}.Example:
ObjectCodecfromjackson-coreObjectMapperfromjackson-databindjackson-corejackson-coreis needed byjackson-databindand must by in compile scope so should not be reported asNon-test scopedAffects: 3.2.0, 3.3.0
Attachments:
Issue Links:
("split from")
("is caused by")
15 votes, 26 watchers