Re: Automatically remove version overrides from child POMs

2013-05-04 Thread Nick Stolwijk
Hello Robert, The analyze dependency management goal of the dependency plugin[1] can fail the build if there are any dependency management overrides. You can run that with a CI server on al of your builds and discuss the results with the teams. [1] https://maven.apache.org/plugins/maven-dependenc

Re: Automatically remove version overrides from child POMs

2013-05-03 Thread Mirko Friedenhagen
Hello Robert, you could use the enforcer-plugin to enforce specific versions, then at least you have an easy way to identify those projects. We exclude all versions of spring and then include the latest version again, e.g. Regards Mirko -- Sent from my mobile On May 4, 2013 12:54 AM, "Enyedi, Ro

Automatically remove version overrides from child POMs

2013-05-03 Thread Enyedi, Robert
Hi, We're using a parent POM which manages the versions of tens of dependencies. I occasionally encounter modules within my group that override some of those managed versions. Assuming the overrides are not legit, is there an automatic way to remove them from the child POMs? I was hoping that