I guess you mean you don't have any plugin tag in your pom.xml.
Under build/plugins declare a plugin block like this to override the
inherited version
plugin
artifactIdmaven-checkstyle-plugin/artifactId
version6.3/version
/plugin
Btw, you should be aware that always pinning the plugin
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
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
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 philipp.kr...@flashpixx.de:
Thanks I have read these instructions, but check style uses the sun_checks.xml
I have add to my build section:
pluginManagement
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-checkstyle-plugin/artifactId
version2.14/version
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?
Thanks a lot
Phil