Skip to content

Console Output

+ mvn sonar:sonar -Dsonar.token=**** -Dsonar.host.url=http://10.20.84.26:8082/sonar
[INFO] Scanning for projects...
[WARNING] The artifact org.codehaus.mojo:sonar-maven-plugin:jar:4.0.0.4121 has been relocated to org.sonarsource.scanner.maven:sonar-maven-plugin:jar:4.0.0.4121: SonarQube plugin was moved to SonarSource organisation
[INFO] 
[INFO] -------< co.edu.udistrital.mdp:MP_202510_G81_E3_Caminatas_Back >--------
[INFO] Building MP_202510_G81_E3_Caminatas_Back 0.0.1-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- sonar:4.0.0.4121:sonar (default-cli) @ MP_202510_G81_E3_Caminatas_Back ---
[WARNING] 00:47:39.958 Using an unspecified version instead of an explicit plugin version may introduce breaking analysis changes at an unwanted time. It is highly recommended to use an explicit version, e.g. 'org.sonarsource.scanner.maven:sonar-maven-plugin:4.0.0.4121'.
[INFO] 00:47:39.968 Java 21.0.4 Eclipse Adoptium (64-bit)
[INFO] 00:47:39.968 Linux 6.11.0-26-generic (amd64)
[INFO] 00:47:40.167 User cache: /root/.sonar/cache
[ERROR] 00:48:10.242 SonarQube server [http://10.20.84.26:8082/sonar] can not be reached
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  31.395 s
[INFO] Finished at: 2025-06-09T00:48:10Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:4.0.0.4121:sonar (default-cli) on project MP_202510_G81_E3_Caminatas_Back: Unable to execute SonarScanner analysis: Fail to get bootstrap index from server: Connect timed out -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException