This post originated from an RSS feed registered with Java Buzz
by Dan Haywood.
Original Post: Fail a Maven build when conflicting or unused dependencies
Feed Title: Domain Driven Design using Naked Objects
Feed URL: http://danhaywood.com/feed/
Feed Description: Naked Objects is an open source Java framework making it easy to develop domain-driven applications. This blog provides hints and tips to help you get the most out of Naked Objects and its sister projects, extending and supplementing the ideas in Dan's pragprog book of the same name.
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 [...]