On 1 Dec 2014, at 09:00, Peter Palaga <ppalaga(a)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>