Re: Maven 3 with newest Checkstyle 6.3

2015-02-14 Thread Vincent Latombe
The configuration you did binds an execution to the validate phase. Calling checkstyle:checkstyle won't pick up this configuration. The error you get when calling mvn validate (or any later phase) is because RedundantThrowsCheck has been removed in Checkstyle 6.2 (according to Checkstyle release n

Re: Maven 3 with newest Checkstyle 6.3

2015-02-13 Thread Philipp Kraus
Thanks I have read these instructions, but check style uses the sun_checks.xml I have add to my build section: org.apache.maven.plugins maven-checkstyle-plugin 2.14 com.puppycrawl.tools

Re: Maven 3 with newest Checkstyle 6.3

2015-02-13 Thread Vincent Latombe
Hi, apply http://maven.apache.org/plugins/maven-checkstyle-plugin/usage.html#Checking_for_Violations_as_Part_of_the_Build and http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/upgrading-checkstyle.html Vincent 2015-02-13 21:28 GMT+01:00 Philipp Kraus : > Hello, > > I'm using Mav

Maven 3 with newest Checkstyle 6.3

2015-02-13 Thread Philipp Kraus
Hello, I'm using Maven 3.2.5 and I would like to use the Checkstyle plugin in the newest version (6.3). The default installation is 5.8, so how can I add the 6.3 version of the plugin at my pom.xml and use it on the check goal at the validate phase? I don’t found the correct pom entries to do t