Reputation: 3442
I am trying to run a maven build for sonarqube:
mvn clean install sonar:sonar -Dsonar.host.url=http://ourserver.lan:9000 -Dsonar.jdbc.url=jdbc:h2:tcp://ourserver.lan:9092/sonar -Dsonar.jdbc.username=admin -Dsonar.jdbc.password=xxx
But I am getting the error:
Sonar server can not be reached. Please check the parameter 'sonar.host.url': http://ourserver.lan:9000
The server itself is reachable, I get to the main page of sonarqube if I enter the URL in the browser.
What I configured:
Am I missing anything?
Upvotes: 1
Views: 2065
Reputation: 1426
SonarQube 5.1 is not compatible with Maven 2.
http://docs.sonarqube.org/display/SONARQUBE51/Installing+and+Configuring+Maven
Upvotes: 2