Am new to SONAR.. and my task is to analyze a Maven project.
I followed all the steps as mentioned on the SONARQube website http://docs.codehaus.org/display/SONAR/Analyzing+with+Maven
everything! But when I try to run their sample example. Am getting this error..
[INFO] Building Simple Java Maven Project
[INFO] task-segment: [sonar:sonar] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [sonar:sonar {execution: default-cli}]
[INFO] Sonar host: http://localhost:9000
[INFO] Sonar version: 4.1
[INFO] Execute: org.codehaus.sonar:sonar-maven-plugin:4.1:sonar
Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/codehaus/sonar/so
nar-maven-plugin/4.1/sonar-maven-plugin-4.1.pom
[INFO] Unable to find resource 'org.codehaus.sonar:sonar-maven-plugin:pom:4.1' i
n repository central (http://repo1.maven.org/maven2)
Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/codehaus/sonar/so
nar-maven-plugin/4.1/sonar-maven-plugin-4.1.pom
[INFO] Unable to find resource 'org.codehaus.sonar:sonar-maven-plugin:pom:4.1' i
n repository central (http://repo1.maven.org/maven2/)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Can not execute Sonar
Embedded error: Unable to build project for plugin 'org.codehaus.sonar:sonar-mav
en-plugin': POM 'org.codehaus.sonar:sonar-maven-plugin' not found in repository:
Unable to download the artifact from any repository
org.codehaus.sonar:sonar-maven-plugin:pom:4.1
from the specified remote repositories:
ibiblio.org (http://mirrors.ibiblio.org/pub/mirrors/maven2)
for project org.codehaus.sonar:sonar-maven-plugin
Am not sure what is wrong.. have searched.. still no result.