I have a piece of code that is an adapter to other solutions (eg: A, B, C). User choose which solution (only one) they will use (via this adapter) in their project. Obviously, I still need to compile my code with A, B, C dependencies. But I don't want to have compile
dependency neither on A, B, C - if user, for example, chooses solution A he does not need to include B or C.
Should I declare A,B,C dependency in my POM as:
provided
provided
, butoptional
- just remove them from POM
In other words: does provided
means that users MUST provide implementation in their runtime?
Thanx!
EDIT: similar to this question