-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upgrade to checkstyle 8.0 #117
Comments
updated
not affected.
updated
not affected. |
http://checkstyle.sourceforge.net/releasenotes.html#Release_8.0 ,
upgrade version at https://github.com/checkstyle/sonar-checkstyle/edit/master/pom.xml#L88
Migration notes:
If EmptyBlock Check was used with
option='stmt'
, after update plugin there will be an error like:[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-cli) on project checkstyle-sonar-plugin-parent: Can not execute Checkstyle: cannot initialize module TreeWalker - Cannot set property 'option' to 'stmt' in module EmptyBlock: InvocationTargetException: unable to parse stmt: No enum constant com.puppycrawl.tools.checkstyle.checks.blocks.BlockOption.STMT -> [Help 1]
To fix problem set
option=statement
The text was updated successfully, but these errors were encountered: