You can overwrite the checkstyle version. My configuration looks like this:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.12.1</version> <configuration> <configLocation>checkstyle.xml</configLocation> <includeTestSourceDirectory>false</includeTestSourceDirectory> <failsOnError>true</failsOnError> </configuration> <executions> <execution> <phase>verify</phase> <goals> <goal>checkstyle</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>5.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