tidy-maven-plugin @ mojo (only a snapshot release) will apply the canonical pom ordering but does not handle indenting (in fact it tries to keep all the indenting the same
On 13 July 2012 14:49, Nord, James <jn...@nds.com> wrote: > Hi all, > > I'm wondering if anyone knows of a command line formatter for pom files? > > Not just converting tabs/spaces and line lengths but sorting out the > ordering of elements (model comes before parent which comes before > dependencies etc) (whilst also at the same time maintaining comments!). > > Does anyone know if such a beast exists? > > /James > > > ________________________________ > > > > ************************************************************************************** > This message is confidential and intended only for the addressee. If you > have received this message in error, please immediately notify the > postmas...@nds.com and delete it from your system as well as any copies. > The content of e-mails as well as traffic data may be monitored by NDS for > employment and security purposes. To protect the environment please do not > print this e-mail unless necessary. > > NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 > 4EX, United Kingdom. A company registered in England and Wales. Registered > no. 3080780. VAT no. GB 603 8808 40-00 > > ************************************************************************************** >