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_E2_Eventos_Back >---------
[INFO] Building MP_202510_G81_E2_Eventos_Back 0.0.1-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- sonar:4.0.0.4121:sonar (default-cli) @ MP_202510_G81_E2_Eventos_Back ---
[WARNING] 02:01:48.164 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] 02:01:48.173 Java 21.0.4 Eclipse Adoptium (64-bit)
[INFO] 02:01:48.173 Linux 6.11.0-21-generic (amd64)
[INFO] 02:01:48.347 User cache: /root/.sonar/cache
[ERROR] 02:02:18.410 SonarQube server [http://10.20.84.26:8082/sonar] can not be reached
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  31.375 s
[INFO] Finished at: 2025-04-24T02:02:18Z
[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_E2_Eventos_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