maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mirko Friedenhagen <mfriedenha...@gmail.com>
Subject Re: Automatically remove version overrides from child POMs
Date Sat, 04 May 2013 06:39:44 GMT
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, Robert" <renyedi@ebay.com> wrote:

> 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 the
> versions:update-child-modules mojo would help, but it doesn't seem to do
> what I need.
>
> Thanks,
> Robert
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message