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): 3.1 kB
Progress (1): 7.7 kB
Progress (2): 7.7 kB | 4.6 kB
Progress (2): 12 kB | 4.6 kB
Progress (2): 17 kB | 4.6 kB
Progress (2): 20 kB | 4.6 kB
Progress (2): 21 kB | 4.6 kB
Progress (2): 21 kB | 9.7 kB
Progress (2): 21 kB | 14 kB
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 18 kB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 kB at 23 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 6.3 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_202610_G81_E2_Back >-------------
[INFO] Building MP_202610_G81_E2_Back 0.0.1-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- sonar:4.0.0.4121:sonar (default-cli) @ MP_202610_G81_E2_Back ---
[WARNING] 02:02:42.332 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:02:42.346 Java 21.0.4 Eclipse Adoptium (64-bit)
[INFO] 02:02:42.346 Linux 6.14.0-37-generic (amd64)
[INFO] 02:02:42.389 User cache: /root/.sonar/cache
[INFO] 02:02:43.040 Communicating with SonarQube Server 25.3.0.104237
[INFO] 02:02:43.058 Default locale: "en_US", source code encoding: "UTF-8"
[INFO] 02:02:44.031 Load global settings
[INFO] 02:02:44.118 Load global settings (done) | time=88ms
[INFO] 02:02:44.134 Server id: 243B8A4D-AZWSB3madBdjq_cKUIEO
[INFO] 02:02:44.150 Loading required plugins
[INFO] 02:02:44.150 Load plugins index
[INFO] 02:02:44.196 Load plugins index (done) | time=46ms
[INFO] 02:02:44.196 Load/download plugins
[INFO] 02:02:44.469 Load/download plugins (done) | time=273ms
[INFO] 02:02:44.808 Process project properties
[INFO] 02:02:44.823 Process project properties (done) | time=15ms
[INFO] 02:02:44.833 Project key: co.edu.udistrital.mdp:MP_202610_G81_E2_Back
[INFO] 02:02:44.833 Base dir: /home/cecaduser/workspace/MP_202610_G81_E2_Back
[INFO] 02:02:44.834 Working dir: /home/cecaduser/workspace/MP_202610_G81_E2_Back/target/sonar
[INFO] 02:02:44.841 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202610_G81_E2_Back'
[INFO] 02:02:44.856 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202610_G81_E2_Back' (done) | time=15ms
[INFO] 02:02:44.885 Load quality profiles
[INFO] 02:02:44.929 Load quality profiles (done) | time=45ms
[INFO] 02:02:44.943 Auto-configuring with CI 'Jenkins'
[INFO] 02:02:44.978 Load active rules
[INFO] 02:02:45.225 Load active rules (done) | time=247ms
[INFO] 02:02:45.232 Load analysis cache
[INFO] 02:02:45.249 Load analysis cache (1.2 kB) | time=17ms
[INFO] 02:02:45.318 Preprocessing files...
[INFO] 02:02:45.446 2 languages detected in 29 preprocessed files
[INFO] 02:02:45.446 0 files ignored because of scm ignore settings
[INFO] 02:02:45.448 Loading plugins for detected languages
[INFO] 02:02:45.449 Load/download plugins
[INFO] 02:02:45.767 Load/download plugins (done) | time=317ms
[INFO] 02:02:45.919 Load project repositories
[INFO] 02:02:46.082 Load project repositories (done) | time=163ms
[INFO] 02:02:46.125 Indexing files...
[INFO] 02:02:46.127 Project configuration:
[INFO] 02:02:46.127 Excluded sources for coverage: **/controllers/**, **/exceptions/**, **/podam/**, **/dto/**
[INFO] 02:02:46.153 29 files indexed
[INFO] 02:02:46.156 Quality profile for java: Sonar way
[INFO] 02:02:46.157 Quality profile for xml: Sonar way
[INFO] 02:02:46.157 ------------- Run sensors on module MP_202610_G81_E2_Back
[INFO] 02:02:46.227 Load metrics repository
[INFO] 02:02:46.250 Load metrics repository (done) | time=23ms
[INFO] 02:02:47.240 Sensor JavaSensor [java]
[INFO] 02:02:47.245 Configured Java source version (sonar.java.source): 21, preview features enabled (sonar.java.enablePreview): false
[INFO] 02:02:47.281 Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis.
[INFO] 02:02:47.282 Using ECJ batch to parse 28 Main java source files with batch size 104 KB.
[INFO] 02:02:47.649 Starting batch processing.
[INFO] 02:02:48.254 The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files.
[INFO] 02:02:49.509 100% analyzed
[INFO] 02:02:49.509 Batch processing: Done.
[INFO] 02:02:49.510 Did not optimize analysis for any files, performed a full analysis for all 28 files.
[INFO] 02:02:49.512 No "Test" source files to scan.
[INFO] 02:02:49.512 No "Generated" source files to scan.
[INFO] 02:02:49.512 Sensor JavaSensor [java] (done) | time=2272ms
[INFO] 02:02:49.512 Sensor SurefireSensor [java]
[INFO] 02:02:49.513 parsing [/home/cecaduser/workspace/MP_202610_G81_E2_Back/target/surefire-reports]
[INFO] 02:02:49.513 Sensor SurefireSensor [java] (done) | time=1ms
[INFO] 02:02:49.514 Sensor XML Sensor [xml]
[INFO] 02:02:49.530 1 source file to be analyzed
[INFO] 02:02:49.731 1/1 source file has been analyzed
[INFO] 02:02:49.731 Sensor XML Sensor [xml] (done) | time=217ms
[INFO] 02:02:49.731 Sensor JaCoCo XML Report Importer [jacoco]
[WARNING] 02:02:49.733 No coverage report can be found with sonar.coverage.jacoco.xmlReportPaths='/home/cecaduser/workspace/MP_202610_G81_E2_Back/../target/jacoco-report/jacoco.xml'. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
[INFO] 02:02:49.734 No report imported, no coverage information will be imported by JaCoCo XML Report Importer
[INFO] 02:02:49.734 Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms
[INFO] 02:02:49.734 Sensor Java Config Sensor [iac]
[INFO] 02:02:49.754 0 source files to be analyzed
[INFO] 02:02:49.754 0/0 source files have been analyzed
[INFO] 02:02:49.755 Sensor Java Config Sensor [iac] (done) | time=21ms
[INFO] 02:02:49.755 Sensor IaC Docker Sensor [iac]
[INFO] 02:02:49.861 0 source files to be analyzed
[INFO] 02:02:49.862 0/0 source files have been analyzed
[INFO] 02:02:49.862 Sensor IaC Docker Sensor [iac] (done) | time=107ms
[INFO] 02:02:49.862 Sensor TextAndSecretsSensor [text]
[INFO] 02:02:49.862 Available processors: 4
[INFO] 02:02:49.862 Using 4 threads for analysis.
[INFO] 02:02:50.365 Using git CLI to retrieve untracked files
[WARNING] 02:02:50.369 Analyzing only language associated files, make sure to run the analysis inside a git repository to make use of inclusions specified via "sonar.text.inclusions"
[INFO] 02:02:50.385 29 source files to be analyzed
[INFO] 02:02:50.450 29/29 source files have been analyzed
[INFO] 02:02:50.452 Sensor TextAndSecretsSensor [text] (done) | time=590ms
[INFO] 02:02:50.455 ------------- Run sensors on project
[INFO] 02:02:50.612 Sensor Zero Coverage Sensor
[INFO] 02:02:50.624 Sensor Zero Coverage Sensor (done) | time=12ms
[INFO] 02:02:50.624 Sensor Java CPD Block Indexer
[INFO] 02:02:50.670 Sensor Java CPD Block Indexer (done) | time=45ms
[INFO] 02:02:50.670 ------------- Gather SCA dependencies on project
[INFO] 02:02:50.681 SCM Publisher SCM provider for this project is: git
[INFO] 02:02:50.682 SCM Publisher 19 source files to be analyzed
[INFO] 02:02:51.172 SCM Publisher 19/19 source files have been analyzed (done) | time=489ms
[INFO] 02:02:51.181 CPD Executor 10 files had no CPD blocks
[INFO] 02:02:51.182 CPD Executor Calculating CPD for 18 files
[INFO] 02:02:51.202 CPD Executor CPD calculation finished (done) | time=12ms
[INFO] 02:02:51.211 SCM revision ID '751cd7d21471fe4ae29b419cfd55973887d0fb7d'
[INFO] 02:02:51.389 Analysis report generated in 153ms, dir size=290.1 kB
[INFO] 02:02:51.486 Analysis report compressed in 96ms, zip size=80.5 kB
[INFO] 02:02:51.582 Analysis report uploaded in 96ms
[INFO] 02:02:51.584 ANALYSIS SUCCESSFUL, you can find the results at: http://10.20.84.26:8082/sonar/dashboard?id=co.edu.udistrital.mdp%3AMP_202610_G81_E2_Back
[INFO] 02:02:51.584 Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
[INFO] 02:02:51.584 More about the report processing at http://10.20.84.26:8082/sonar/api/ce/task?id=2dcc5522-9bd6-4319-9511-3724a42c5c64
[INFO] 02:02:51.601 Analysis total time: 7.083 s
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.356 s
[INFO] Finished at: 2026-03-07T02:02:51Z
[INFO] ------------------------------------------------------------------------