Description
the latest com.puppycrawl.tools.checkstyle have dependency like
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.5.0</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
but on Mac OSX, there's no tools.jar, it should be ${java.home}/../Classes/classes.jar instead, we need add a profile for mac to replace the path tomake the build pass.