On Sun, Dec 27, 2009 at 10:11 AM, Martin Gainty <[email protected]> wrote:
> Benedictus
>
> what criteria would be used for <re>ordering your pom.xml
> ?
>
> Martin

Hopefully information already out on the Internet. The "Quick
Reference" [1] of Maven's POM might be a good guide.

As for me, I like to hand-write and read POM files. I also like the
*idea* of M2Eclipse's POM editor, but there is no predictable order to
where it adds elements. Anyone who works hard at keeping a POM cleanly
structured is going to find consternation with the tool. This could be
alleviated if there was a "preferred" way to order elements. Think of
this like the "code clean up" tool found in Eclipse IDE -- so no
matter who or what is editing the POM, cleaning up afterwards will put
it in a nicely ordered form.

[1] http://maven.apache.org/pom.html

Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to