Alin Alin - 12 days ago 7
Java Question

Maven3 global dependency exclusion

It is possible using Maven3 to have a global dependency exclusion instead of per-dependency exclusion ? If yes, how ? The documentation doesn't seems to be really friendly.

Thanks.

Later edit: Yeah, it seems that they'll fix this in 3.1 version of maven. So, till then, I guess I need to stick to the verbose way to do it for each dependency.

Answer

It looks like this is not possible. There are a few open issues (MNG-3196, MNG-1977, MNG-2163) related to this