Fail a Maven build when conflicting or unused dependencies

May 10, 2012

Currently teaching my Maven course, and a couple of questions have come up about how to fail a build when a pom either has conflicting dependencies, or has (through a smidge too much copy-n-paste) even just unused dependencies. Good questions both. For the first of these, dependency conflicts, we can use the enforcer plugin. Add

Read the original post:
Fail a Maven build when conflicting or unused dependencies

Previous post:

Next post: