Working with Java 7 and Maven quality assurance plugins (Code coverage, Checkstyle, Findbugs and PMD) on Sonar
At present, only the default maven-findbugs-plugin will work on Java 7. But with a little tweaking, we can get all the rest of the widely used maven quality assurance(QA) plugins working!
The only open source and free code coverage tool working on Java 7, is named JaCoCo.
In the pom file below, i have set all the QA plugins to the maven phase "pre-site" and will work with Sonar.
To run all the maven QA plugins at ones, use the command:
0 reacties:
Post a Comment