Thanks Stephen,

It appears to use spaces for the indentation of the moved block start tag - 
whereas the rest of the block (and the close) are left with tabs.
But otherwise just the ticket :-)

/James 


> -----Original Message-----
> From: Stephen Connolly [mailto:[email protected]]
> Sent: 13 July 2012 14:56
> To: Maven Users List
> Subject: Re: pom formatter?
> 
> 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 <[email protected]> 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 [email protected] 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
> >
> >
> ****************************************************************
> ******
> > ****************
> >

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

Reply via email to