This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm trying to add a jar in [test] scope to a certain project. The problem is, that this jar has a dependency to another jar in [compile], while my goal is to restrict the whole dependency tree from that jar to [test]
Is there a way to do so? I've tried explicitly adding the other dependency in [test] scope, but it didn't seem to work. I see the following: [test] (not updated from compile)