Sonar and Maven

Fact to know: though it does not say so in the documentation, Sonar requires a fairly recent version of Maven. Version 2.0.4 failed, but 2.0.8 worked.

Also, do not forget to force update of all dependencies, especially plugins.

So, when running the Sonar plugin, add -U and -cpu:

mvn org.codehaus.sonar:sonar-maven-plugin:1.2:sonar -U -cpu

About Eric Lefevre-Ardant

Independent technical consultant.
This entry was posted in java, maven, sonar. Bookmark the permalink.

1 Response to Sonar and Maven

  1. Pingback: ericlefevre » Sonar and Hudson

Leave a Reply

Your email address will not be published.