Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Invalid
-
3.2.0, 3.3.0
-
None
-
None
Description
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
Attachments
Attachments
Issue Links
- is caused by
-
MNG-6058 Test dependencies should override application dependencies only during testing
- Open
- is related to
-
MNG-6058 Test dependencies should override application dependencies only during testing
- Open
- split from
-
MDEP-753 Non-test dependency reported as Non-test scoped test only dependency
- Closed