[rhq.next] Order of elements in pom.xml files

mike thompson mithomps at redhat.com
Mon Dec 1 18:25:03 UTC 2014


> On 1 Dec 2014, at 09:00, Peter Palaga <ppalaga at redhat.com> wrote:
> 
> Hi *,
> 
> Apache has a convention [1] for $subj and there is a handy tidy-maven-plugin [2] to fix the poms.
> 
> It is often practical to have convention like this in place - esp. when searching for a particular element in a pom file.
> 
> Therefore, I'd like to propose to adopt this convention in rhq.next projects. I would not enforce it at build time for now, I'd just reorder all poms and document it at some appropriate place. WDYT?

Also with regard to standard Java, are we still using the RHQ default eclipse formatting settings or do these need to be adjusted?
Java Standard Code Format
The RHQ codebase conforms to the basic Java conventions format. The RHQ format profile was based off the built-in Eclipse "Java Conventions" format profile with the following changes:

Maximum line length is 120 characters
No tabs whatsoever
Indentation is 4 spaces, with tab indentation being 8 spaces
Default indentation for both wrapped lines and array initializers is "1" (which translates to 4 spaces)

And for IJ:
https://docs.jboss.org/author/display/RHQ/IntelliJ+IDEA+Tips <https://docs.jboss.org/author/display/RHQ/IntelliJ+IDEA+Tips>



> 
> Thanks,
> 
> Peter
> 
> [1] http://maven.apache.org/developers/conventions/code.html#POM_Code_Convention
> [2] http://mojo.codehaus.org/tidy-maven-plugin/
> _______________________________________________
> rhq-devel mailing list
> rhq-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/rhq-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/rhq-devel/attachments/20141201/cdca2a5e/attachment.html>


More information about the rhq-devel mailing list