My setup:
Example of the error:
1
To avoid adding SonarQube specific dependencies to your project, define a profile like this:
sonarqube
org.joda
joda-convert
1.2
com.google.code.findbugs
jsr305
3.0.0
Then run your sonar analysis with a command like
mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.0.1:sonar -Psonarqube,sonarqube-dev
The sonarqube-dev profile is defined in my ~/.m2/settings.xml and it just specifies where my development environment SonarQube installation is
sonarqube-dev
http://localhost:9000/
What is achieved by all this?