I might have misheard this bit, as the sound quality wasn't so good, but I thought I heard one of the posse say that one of the problems with Maven is that it might quietly (and dangerously) pull in two different versions of the same transitive dependency. In that case let me point that person to the Maven enforcer plugin, which for me is a must-have on any Maven build. You can enforce any number of useful things, e.g. no snapshot dependencies, or a specific range of JDK versions, but the one that addresses the above complaint is the "DependencyConvergence" rule, which does what it says on the tin, i.e. fail the build if multiple versions of a single artifact are called for (the solution being to exclude the unwanted ones). See here for more info:
http://maven.apache.org/plugins/maven-enforcer-plugin/ http://maven.apache.org/enforcer/enforcer-rules/dependencyConvergence.html Hope this helps someone! Andrew -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
