« 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 Benjamin Bentmann :: Rate this Message:

Reply to Author | View in Thread

Vincent Siveton schrieb:

> I propose to improve [1] to add a code style for our pom files.

+1 for some convention (which is documented as such).

> I see the following in this order.

Considering other POMs like parent POMs and Mojo, your proposal should
finally cover all POM elements (e.g. <packaging>, <url>, <licenses>,
<developers> etc.).

Whatever we agree upon, we might want to update the Maven Model
Reference [0], too. I guess that was the ordering Dennis has chosen.

If not already written down, the indentation style (2 spaces) should be
mentioned, too.

> <project>
>   ...
> </project>

I find your proposed ordering more intuitive than the current Model Ref.


Benjamin


[0] http://maven.apache.org/ref/current/maven-model/maven.html

---------------------------------------------------------------------
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)