[ https://jira.codehaus.org/browse/MCHECKSTYLE-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=283196#comment-283196 ]
Falko Modler commented on MCHECKSTYLE-165: ------------------------------------------ You should also remove this dependency exclusion: {code:title=pom.xml|borderStyle=solid} <!-- checkstyle --> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>${checkstyleVersion}</version> <exclusions> <!-- MCHECKSTYLE-156 --> <exclusion> <groupId>com.sun</groupId> <artifactId>tools</artifactId> </exclusion> </exclusions> </dependency> {code} because since 5.4, checkstyle does not depend on com.sun.tools anymore! > Upgrade to checkstyle 5.5 > ------------------------- > > Key: MCHECKSTYLE-165 > URL: https://jira.codehaus.org/browse/MCHECKSTYLE-165 > Project: Maven 2.x Checkstyle Plugin > Issue Type: Improvement > Reporter: Michael Pellaton > > Checkstyle 5.5 has bean released [1] recently. I suggest updating to that new > version to allow for Java 7 based projects to make use of the > maven-checkstyle-plugin. > [1] http://checkstyle.sourceforge.net/releasenotes.html -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira