[hibernate-dev] Checkstyle: enforced!

Sanne Grinovero sanne at hibernate.org
Thu Apr 18 11:27:27 EDT 2013


On 18 April 2013 16:13, Gunnar Morling <gunnar at hibernate.org> wrote:
> Yeah, I was just about to suggest that :)

Good idea, but isn't it true that if your IDE is correctly setup it
doesn't matter?
I'm not sure about IDEA, but Eclipse detects the checkstyle rules and
shows violations right away.


> 2013/4/18 Hardy Ferentschik <hardy at hibernate.org>
>>
>>
>> On 18 Jan 2013, at 4:48 PM, Sanne Grinovero <sanne at hibernate.org> wrote:
>>
>> > Hi all,
>> >
>> > yesterday we merged checkstyle integration in Hibernate OGM: it's
>> > going to fail the compile phase if there are violations (!).
>>
>> +1 Joining the ranks of Validator and Search :-)

To clarify, the set of rules defined in OGM are significantly stricter
than what we had in Search initially.

Cheers,
Sanne

>>
>> Btw, in HV Gunnar convinced me to attache the checkstyle plugin to the
>> verify phase.
>> This way you can hack away w/o caring too much about a coding style since
>> the compile
>> will work. However, a full 'mvn install' will fail.
>>
>> --Hardy
>>
>>
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
>


More information about the hibernate-dev mailing list