You can overwrite the checkstyle version. My configuration looks like this:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-checkstyle-plugin/artifactId
version2.12.1/version
configuration
configLocationcheckstyle.xml/configLocation
includeTestSourceDirectoryfalse/includeTestSourceDirectory
failsOnErrortrue/failsOnError
/configuration
executions
execution
phaseverify/phase
goals
goalcheckstyle/goal
/goals
/execution
/executions
dependencies
dependency
groupIdcom.puppycrawl.tools/groupId
artifactIdcheckstyle/artifactId
version5.9/version
/dependency
/dependencies
/plugin
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