Hi Ron, Am 28.10.2011 23:39, schrieb Ron Wheeler: > Doesn't your IDE let you know when there is a conflict in the > transitive dependencies? Depends on your IDE. E. g. IntelliJ IDEA by default does not. > I believe that Eclipse STS does that for us. Never used Eclipse STS, can't judge. > Much simpler than using a plug-in, finds it earlier in the process and > avoids adding more stuff to your POM. While it's certainly nice if version clashes are found early in the process, but your suggested solution assumes everyone working on the project uses one particular IDE, which might not always be the case.
When using the enforcer plugin, you can reliably prevent version clashes on your CI server as part of a normal CI build. During normal development mode, I tend to fire a remote run on our CI server every 5 to 20 minutes. This is sufficiently "early" in the process for me. If your POM gets "too long", think about pulling common parts into a common parent POM and inherit plugin configuration into your actual projects, so your actual module POMs only contain the configuration bits which are actually specific to your module. I tend to get along with only coordinates, SCM and some dependencies in my module POMs. Although the POMs remain written in XML and you might still find XML verbose, this step can remove a significant amount of noise from your POMs. Best regards Ansgar --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
