Re: Comparing dependency trees

2011-02-27 Thread Baptiste MATHUS
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 

> 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  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: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
> >
>



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


Re: Comparing dependency trees

2011-02-25 Thread Paul Grove
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  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: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: Comparing dependency trees

2011-02-24 Thread Wayne Fay
> 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: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Comparing dependency trees

2011-02-24 Thread Paul Grove
Is there a way of comparing the dependency tree of 2 version of the same POM
and printing out the differences?