I am implementing sonar in my existing maven project.I am getting this error :
unable to find mojo sonar (or one of its component) in the plugin org.sonarsource.scanner.maven:sonar-maven-plugin
Following are my configs:
Maven version:2.2.1
Java version:1.6
sonar-maven-plugin version:3.0.2
sonarcube version:6.4
sonar java version: 4.10.0.10260
I have updated:
pom.xml
settings.xml
sonar-project.properties
to mentioned my intended java version in it.
Upgrade to Java 7 and Maven 3, and this should work.