Re: Apache Maven - Checkstyle Plugin - Java 8

2014-11-03 Thread Mark Derricutt
On 4 Nov 2014, at 2:59, Joachim Van der Auwera wrote:

> You can overwrite the checkstyle version. My configuration looks like this:

Unfortunately this doesn't work with the latest checkstyle version _if_ you use 
inline configuration, and the DTD version has changed and no longer matches, so 
you end up with broken behaviour.

-- 
Mark Derricutt
http://www.theoryinpractice.net
http://plus.google.com/+MarkDerricutt
http://twitter.com/talios
http://facebook.com/mderricutt


signature.asc
Description: OpenPGP digital signature


Re: Apache Maven - Checkstyle Plugin - Java 8

2014-11-03 Thread Joachim Van der Auwera

You can overwrite the checkstyle version. My configuration looks like this:


org.apache.maven.plugins
maven-checkstyle-plugin
2.12.1

checkstyle.xml
false
true



verify

checkstyle





com.puppycrawl.tools
checkstyle
5.9





Kind regards,
Joachim

On 2014-11-03 11:39, Alexander Wessel wrote:

Hi guys,

I like to use the Apache Maven Checkstyle-Plugin with Java 8 but unfortunately 
it uses Checkstyle 5.7 that doesn't support Java 8. Checkstyle itself support 
Java 8 since version 5.9. Is there a plan to migrate the Checkstyle-Plugin to 
this version or can I migrate myself?

Thanks for any advice.

Best regards
Alexander




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Apache Maven - Checkstyle Plugin - Java 8

2014-11-03 Thread Alexander Wessel
Hi guys,

I like to use the Apache Maven Checkstyle-Plugin with Java 8 but unfortunately 
it uses Checkstyle 5.7 that doesn't support Java 8. Checkstyle itself support 
Java 8 since version 5.9. Is there a plan to migrate the Checkstyle-Plugin to 
this version or can I migrate myself?

Thanks for any advice.

Best regards
Alexander