Revisiting dependency management with Maven

By | December 27, 2013

A time ago, I wrote about dependency management with maven and about the problem with compile time dependencies. This problem can be solved fairly simple after reading a new comment of the MNG-2589 that states that if we declare all dependencies in the dependency management part as runtime they will default to runtime when they becomes transitive dependencies. So this will achieve the goal that I stated in my previous post on the subject.

A simple example that demonstrates this can be found on github.

Leave a Reply

Your email address will not be published. Required fields are marked *