Eric Lefevre-Ardant on Java & Agile

April 1, 2008

Sonar and Maven

Filed under: java, maven, sonar — Eric Lefevre-Ardant @ 2:24 pm

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

1 Comment »

  1. [...] have only mentioned once Sonar in the past on this blog. I should do that more often, as it is truly a great tool. If you read French, please check out my [...]

    Pingback by ericlefevre » Sonar and Hudson — July 25, 2008 @ 5:37 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress