Here is my first headache wrote down on paper, or rather on keyboard, and it’s related to Maven !

In context of a project composed of many modules, writing unit tests for each module is required. Unit tests also mean dependencies in test scope, like junit, mockito, and so. In this post, you will find a trap to avoid, and an solution to manage your test dependencies better in context of a maven project.

I’ve managed to simplify the case that gaves me this headache for a easier presentation. You will find related sources on GitHub.

Lire la suite de