Console Output
+ mvn sonar:sonar -Dsonar.token=**** -Dsonar.host.url=http://10.20.84.26:8082/sonar
[INFO] Scanning for projects...
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
Progress (1): 1.4/21 kB
Progress (2): 1.4/21 kB | 1.4/14 kB
Progress (2): 2.8/21 kB | 1.4/14 kB
Progress (2): 2.8/21 kB | 2.8/14 kB
Progress (2): 2.8/21 kB | 4.1/14 kB
Progress (2): 2.8/21 kB | 5.5/14 kB
Progress (2): 4.1/21 kB | 5.5/14 kB
Progress (2): 4.1/21 kB | 6.9/14 kB
Progress (2): 5.5/21 kB | 6.9/14 kB
Progress (2): 5.5/21 kB | 8.3/14 kB
Progress (2): 5.5/21 kB | 9.7/14 kB
Progress (2): 6.9/21 kB | 9.7/14 kB
Progress (2): 8.3/21 kB | 9.7/14 kB
Progress (2): 9.7/21 kB | 9.7/14 kB
Progress (2): 11/21 kB | 9.7/14 kB
Progress (2): 12/21 kB | 9.7/14 kB
Progress (2): 12/21 kB | 11/14 kB
Progress (2): 12/21 kB | 12/14 kB
Progress (2): 12/21 kB | 14/14 kB
Progress (2): 12/21 kB | 14 kB
Progress (2): 14/21 kB | 14 kB
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 995 B/s)
Progress (1): 15/21 kB
Progress (1): 17/21 kB
Progress (1): 18/21 kB
Progress (1): 19/21 kB
Progress (1): 21 kB
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 kB at 1.4 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/sonar-maven-plugin/maven-metadata.xml
Progress (1): 1.4 kB
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/sonar-maven-plugin/maven-metadata.xml (1.4 kB at 229 kB/s)
[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] 14:10:17.183 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] 14:10:17.192 Java 21.0.4 Eclipse Adoptium (64-bit)
[INFO] 14:10:17.193 Linux 6.11.0-21-generic (amd64)
[INFO] 14:10:17.235 User cache: /root/.sonar/cache
[ERROR] 14:10:47.272 SonarQube server [http://10.20.84.26:8082/sonar] can not be reached
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46.640 s
[INFO] Finished at: 2025-04-21T14:10:47Z
[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