« Return to Thread: [Proposal] Pom Code Style (WAS svn commit: r670264 - /maven/plugins/trunk/maven-site-plugin/pom.xml)

Re: [Proposal] Pom Code Style (WAS svn commit: r670264 - /maven/plugins/trunk/maven-site-plugin/pom.xml)

by Paul Gier :: Rate this Message:

Reply to Author | View in Thread

I originally just wrote some code because I wanted to put the dependencies in my
pom in alphabetical order and/or grouped by scope.  Then I was thinking that
there could be a general pom plugin to do things like sort the dependencies or
reformat etc [1].  I didn't realize that there was already a pom plugin in the
sandbox.  I'll take a look and maybe I can just add my mojo.

Anyway, I definitely like the idea of a pom plugin to do "pom:reformat" or
"pom:reorder" and maybe I can add a parameter about sorting the dependencies.

[1]http://jira.codehaus.org/browse/MOJO-928

Benjamin Bentmann wrote:

> Jesse McConnell wrote:
>
>> pom:reformat would be pretty nice
>
> +1, cool idea. Might we worth to distinguish the use cases "reorder" and
> "reformat", i.e. separate indentation stuff from element ordering.
>
> BTW, Paul had once started a Pom Plugin [0], maybe there is something to
> reuse/merge.
>
>
> Benjamin
>
>
> [0] http://jira.codehaus.org/browse/MOJO-928
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

 « Return to Thread: [Proposal] Pom Code Style (WAS svn commit: r670264 - /maven/plugins/trunk/maven-site-plugin/pom.xml)