Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.0.2
-
None
-
None
-
None
-
Maven 2.0.2
Description
Suppose I have artifacts A, B, C and D.
In artifact D you initially have:
D --provided-> B ---compile--> A
where B has a compile dependency on A.
This allows you to compile code agains A.
If you they add:
D --test-> C ---compile--> A
where C also has a compile dependency on A, then A all of the sudden becomes 'test visible' and you can no longer compile against it.
Attachments
Issue Links
- duplicates
-
MNG-2686 POM dependency scope auto-downgrades from provided to test
- Closed