Put in projects for which you want checkstyle to be disabled for:
<project> ... <properties> ... <checkstyle.skip>true</checkstyle.skip> ... </properties> ... </project>
Checkstyle will still work, but will do no-op ...
That is, if you do not redefine the default binding parameter maven-checkstyle-plugin skip , in this case you can achieve the same effect using in a specific project
<project> ... <build> ... <plugins> ... <plugin> <artifactId>maven-checkstyle-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> ... </plugins> ... </build> ... </project>
If you, of course, have not redefined the skip parameter in execution ... but if you know what it is, you also know the solution and will not ask this question :-)
Stephen Connolly Nov 17 '12 at 20:58 2012-11-17 20:58
source share