If I could highlight the main standards according to maven, these would be
the ones:

1. Apache ASF License Header for all Files

2. Indent with SPACES and not tabs
    4 Spaces Java
    2 Spaces XMLs and other files

3. Line width of 120 columns

4. New Line Brace ( I would say -1 on this)

5. Descriptive Javadocs ( +1 on this.Our code should be well documented if
not anything else)

Cheers,
Akash A



2011/10/22 Akash Ashok <[email protected]>

> Along with the formatted for eclipse here's a link which defines the coding
> standards
>
> http://maven.apache.org/developers/conventions/code.html
>
> It would be nice if we could come to a consensus on the standards soon so
> that we dnt run into too much of maintenance issues.
>
> I would like to hear what every1 has to say about it.
>
> Cheers,
> Akash A
>
> 2011/10/21 Raffaele P. Guidi <[email protected]>
>
> Yes, nice feature. It's a team saver ;)
>>
>> On Thu, Oct 20, 2011 at 9:40 PM, Maurizio Cucchiara
>> <[email protected]>wrote:
>>
>> > Personally I don't like the maven code style, but I have to admit that
>> > I like the idea behind a ready-to-go-style.
>> >
>> >
>> > Twitter     :http://www.twitter.com/m_cucchiara
>> > G+          :https://plus.google.com/107903711540963855921
>> > Linkedin    :http://www.linkedin.com/in/mauriziocucchiara
>> >
>> > Maurizio Cucchiara
>> >
>> >
>> >
>> > 2011/10/20 Olivier Lamy <[email protected]>:
>> > > Yup check provided files here
>> > > http://maven.apache.org/developers/committer-environment.html
>> > > Files exists for idea and eclipse.
>> > >
>> > >
>> > > 2011/10/20 Raffaele P. Guidi <[email protected]>:
>> > >> I heard something like automated IDE setup of this? Is it possible?
>> > >>
>> > >> On Thursday, October 20, 2011, Akash Ashok <[email protected]>
>> > wrote:
>> > >>> +1 on spaces and -1 on tabs. :)  I'd personally prefer 2, but 4 also
>> > >> sounds
>> > >>> good.
>> > >>>
>> > >>> Cheers,
>> > >>> Akash A
>> > >>>
>> > >>> On Thu, Oct 20, 2011 at 7:26 PM, Ioannis Canellos <
>> [email protected]>
>> > >> wrote:
>> > >>>
>> > >>>> I don't like tabs either.
>> > >>>> I would also like to suggest using 4 spaces ident. I think its the
>> > most
>> > >>>> common ident and will help a lot of us changing our settings all
>> the
>> > >> time.
>> > >>>>
>> > >>>> On 20 Οκτ 2011, at 4:52 μ.μ., Olivier Lamy wrote:
>> > >>>>
>> > >>>> > Agree something to be defined.
>> > >>>> > Perso I don't like tabs :-)
>> > >>>> >
>> > >>>> > I can propose the maven codestyle if you agree.
>> > >>>> > All files for ide are here
>> > >>>> > http://maven.apache.org/developers/committer-environment.html
>> > >>>> >
>> > >>>> > And a checktyle file is embeded in the maven checktyle plugin.
>> > >>>> >
>> > >>>> > As you want folks
>> > >>>> >
>> > >>>> > 2011/10/20 Akash Ashok <[email protected]>:
>> > >>>> >> I see that we use tabs at someplaces and spaces someplace else
>> for
>> > >>>> >> indentation. Do we have a coding guideline in place ?
>> > >>>> >> If not may be we need to get one in place and have a consistent
>> > >>>> formatting
>> > >>>> >> across the entire codebase,
>> > >>>> >>
>> > >>>> >> Cheers,
>> > >>>> >> Akash A
>> > >>>> >>
>> > >>>> >
>> > >>>> >
>> > >>>> >
>> > >>>> > --
>> > >>>> > Olivier Lamy
>> > >>>> > Talend : http://talend.com
>> > >>>> > http://twitter.com/olamy | http://linkedin.com/in/olamy
>> > >>>>
>> > >>>>
>> > >>>
>> > >>
>> > >
>> > >
>> > >
>> > > --
>> > > Olivier Lamy
>> > > Talend : http://talend.com
>> > > http://twitter.com/olamy | http://linkedin.com/in/olamy
>> > >
>> >
>>
>
>

Reply via email to