Yup, maybe this is an idea for a new goal like dependency:compare.

Currently, the only solution I know is the one Wayne described.

Cheers

2011/2/25 Paul Grove <[email protected]>

> Wayne,
>
> Thanks for the response, diff is one solution but still to manual for my
> liking. We are using WAR overlays as a sort of deployment description of
> our
> application as we have lots of components that can be changed for each
> deployment for different customers based around a core product. What I want
> to do is when we do a new deployment for an existing deployment we can
> produce some report showing what dependencies have changed version, what
> have been removed and what has been added.
>
> Seems like an extension to the dependency plugin to me?
>
> Paul
>
> On 25 February 2011 04:17, Wayne Fay <[email protected]> wrote:
>
> > > Is there a way of comparing the dependency tree of 2 version of the
> same
> > POM
> > > and printing out the differences?
> >
> > Other than something like this (below), I don't know of any way to do
> this.
> >
> > mvn dependency:tree > 1.txt
> > mvn dependency:tree -f pom-old.xml > 2.txt
> > diff 1.txt 2.txt
> >
> > Wayne
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>



-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Reply via email to