Re: Maven 2.x and 3 build comparisons

2009-02-12 Thread Christian Edward Gruber
Might not the "help:effective-pom" plugin/goal be used to validate some of these automatically? Especially if there remains a canonical form for the pom. As long as this (or another) plugin can get logically equivalent, you can use xquery or xpath statements to validate that what appears

Re: Maven 2.x and 3 build comparisons

2009-02-12 Thread Stephen Connolly
Or, if you have a windows box, use WinMerge with the 7zip add-in It will allow easy comparison of war, jar and ear files... and you can dive down to see if the class files are the same (even if the date stamps are different) -Stephen 2009/2/12 Jason van Zyl : > > On 12-Feb-09, at 8:49 AM, Paul B

Re: Maven 2.x and 3 build comparisons

2009-02-12 Thread Jason van Zyl
On 12-Feb-09, at 8:49 AM, Paul Benedict wrote: Oleg, thank you for volunteering. j/k My only concern is that building a project successfully does not guarantee backwards compatibility. Things like property resolution, etc. need to either be eye balled or loaded into an application to show it w

Re: Maven 2.x and 3 build comparisons

2009-02-12 Thread Paul Benedict
Oleg, thank you for volunteering. j/k My only concern is that building a project successfully does not guarantee backwards compatibility. Things like property resolution, etc. need to either be eye balled or loaded into an application to show it works or bombs. Binaries, sure, maybe that's overki

Re: Maven 2.x and 3 build comparisons

2009-02-11 Thread Jason van Zyl
On 11-Feb-09, at 10:28 PM, Oleg Gusakov wrote: I have a tool that compares resolved dependency lists between Mercury and Maven2, not binaries. Will not be hard to modify to add binary comparison. There you go, Oleg will check them for you :-) Paul Benedict wrote: Does any tool exist t

Re: Maven 2.x and 3 build comparisons

2009-02-11 Thread Oleg Gusakov
I have a tool that compares resolved dependency lists between Mercury and Maven2, not binaries. Will not be hard to modify to add binary comparison. Paul Benedict wrote: Does any tool exist that can build a project in Maven 2 and Maven 3 and then compare the binaries to see if they are equal?

Re: Maven 2.x and 3 build comparisons

2009-02-11 Thread Jason van Zyl
I don't think I'll be making any byte for byte exactly guarantees but as we progress I am going to try and ensure backward compatibility insofar as behavior. Plugins will work the same apart from plugins that use components from maven-artifact. We'll be using Mercury for that and for any pl

Maven 2.x and 3 build comparisons

2009-02-11 Thread Paul Benedict
Does any tool exist that can build a project in Maven 2 and Maven 3 and then compare the binaries to see if they are equal? Assuming v3 is fully backwards compatible with v2, I hope there would be only superficial differences. Paul -