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/14 kB
Progress (2): 1.4/14 kB | 1.4/21 kB
Progress (2): 1.4/14 kB | 2.8/21 kB
Progress (2): 1.4/14 kB | 4.1/21 kB
Progress (2): 2.8/14 kB | 4.1/21 kB
Progress (2): 4.1/14 kB | 4.1/21 kB
Progress (2): 5.5/14 kB | 4.1/21 kB
Progress (2): 6.9/14 kB | 4.1/21 kB
Progress (2): 6.9/14 kB | 5.5/21 kB
Progress (2): 8.3/14 kB | 5.5/21 kB
Progress (2): 8.3/14 kB | 6.9/21 kB
Progress (2): 8.3/14 kB | 8.3/21 kB
Progress (2): 8.3/14 kB | 9.7/21 kB
Progress (2): 8.3/14 kB | 11/21 kB
Progress (2): 8.3/14 kB | 12/21 kB
Progress (2): 8.3/14 kB | 14/21 kB
Progress (2): 8.3/14 kB | 15/21 kB
Progress (2): 8.3/14 kB | 17/21 kB
Progress (2): 8.3/14 kB | 18/21 kB
Progress (2): 9.7/14 kB | 18/21 kB
Progress (2): 9.7/14 kB | 19/21 kB
Progress (2): 11/14 kB | 19/21 kB
Progress (2): 11/14 kB | 21 kB
Progress (2): 12/14 kB | 21 kB
Progress (2): 14/14 kB | 21 kB
Progress (2): 14 kB | 21 kB
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 kB at 27 kB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 18 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 40 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_202530_G81_E1_SuperFood_Back >--------
[INFO] Building MP_202530_G81_E1_SuperFood_Back 0.0.1-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- sonar:4.0.0.4121:sonar (default-cli) @ MP_202530_G81_E1_SuperFood_Back ---
[WARNING] 15:17:57.143 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] 15:17:57.157 Java 21.0.4 Eclipse Adoptium (64-bit)
[INFO] 15:17:57.158 Linux 6.14.0-29-generic (amd64)
[INFO] 15:17:57.195 User cache: /root/.sonar/cache
[INFO] 15:17:57.872 Communicating with SonarQube Server 25.3.0.104237
[INFO] 15:17:57.890 Default locale: "en_US", source code encoding: "UTF-8"
[INFO] 15:17:59.393 Load global settings
[INFO] 15:17:59.557 Load global settings (done) | time=166ms
[INFO] 15:17:59.577 Server id: 243B8A4D-AZWSB3madBdjq_cKUIEO
[INFO] 15:17:59.605 Loading required plugins
[INFO] 15:17:59.605 Load plugins index
[INFO] 15:17:59.659 Load plugins index (done) | time=54ms
[INFO] 15:17:59.663 Load/download plugins
[INFO] 15:18:00.038 Load/download plugins (done) | time=375ms
[INFO] 15:18:00.449 Process project properties
[INFO] 15:18:00.465 Process project properties (done) | time=16ms
[INFO] 15:18:00.477 Project key: co.edu.udistrital.mdp:MP_202530_G81_E1_SuperFood_Back
[INFO] 15:18:00.477 Base dir: /home/cecaduser/workspace/MP_202530_G81_E1_SuperFood_Back
[INFO] 15:18:00.477 Working dir: /home/cecaduser/workspace/MP_202530_G81_E1_SuperFood_Back/target/sonar
[INFO] 15:18:00.485 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202530_G81_E1_SuperFood_Back'
[INFO] 15:18:00.506 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202530_G81_E1_SuperFood_Back' (done) | time=21ms
[INFO] 15:18:00.539 Load quality profiles
[INFO] 15:18:00.603 Load quality profiles (done) | time=64ms
[INFO] 15:18:00.618 Auto-configuring with CI 'Jenkins'
[INFO] 15:18:00.659 Load active rules
[INFO] 15:18:01.087 Load active rules (done) | time=428ms
[INFO] 15:18:01.102 Load analysis cache
[INFO] 15:18:01.127 Load analysis cache (1.5 kB) | time=25ms
[INFO] 15:18:01.275 Preprocessing files...
[INFO] 15:18:01.551 2 languages detected in 26 preprocessed files
[INFO] 15:18:01.551 0 files ignored because of scm ignore settings
[INFO] 15:18:01.555 Loading plugins for detected languages
[INFO] 15:18:01.555 Load/download plugins
[INFO] 15:18:01.894 Load/download plugins (done) | time=339ms
[INFO] 15:18:02.039 Load project repositories
[INFO] 15:18:02.167 Load project repositories (done) | time=128ms
[INFO] 15:18:02.189 Indexing files...
[INFO] 15:18:02.189 Project configuration:
[INFO] 15:18:02.190 Excluded sources for coverage: **/controllers/**, **/exceptions/**, **/podam/**, **/dto/**
[INFO] 15:18:02.202 26 files indexed
[INFO] 15:18:02.204 Quality profile for java: Sonar way
[INFO] 15:18:02.204 Quality profile for xml: Sonar way
[INFO] 15:18:02.204 ------------- Run sensors on module MP_202530_G81_E1_SuperFood_Back
[INFO] 15:18:02.266 Load metrics repository
[INFO] 15:18:02.284 Load metrics repository (done) | time=18ms
[INFO] 15:18:03.143 Sensor JavaSensor [java]
[INFO] 15:18:03.149 Configured Java source version (sonar.java.source): 21, preview features enabled (sonar.java.enablePreview): false
[INFO] 15:18:03.195 Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis.
[INFO] 15:18:03.197 Using ECJ batch to parse 25 Main java source files with batch size 104 KB.
[INFO] 15:18:03.555 Starting batch processing.
[INFO] 15:18:04.094 The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files.
[INFO] 15:18:05.885 100% analyzed
[INFO] 15:18:05.885 Batch processing: Done.
[INFO] 15:18:05.887 Did not optimize analysis for any files, performed a full analysis for all 25 files.
[INFO] 15:18:05.889 No "Test" source files to scan.
[INFO] 15:18:05.889 No "Generated" source files to scan.
[INFO] 15:18:05.889 Sensor JavaSensor [java] (done) | time=2746ms
[INFO] 15:18:05.889 Sensor SurefireSensor [java]
[INFO] 15:18:05.890 parsing [/home/cecaduser/workspace/MP_202530_G81_E1_SuperFood_Back/target/surefire-reports]
[INFO] 15:18:05.891 Sensor SurefireSensor [java] (done) | time=2ms
[INFO] 15:18:05.891 Sensor XML Sensor [xml]
[INFO] 15:18:05.898 1 source file to be analyzed
[INFO] 15:18:06.208 1/1 source file has been analyzed
[INFO] 15:18:06.208 Sensor XML Sensor [xml] (done) | time=317ms
[INFO] 15:18:06.209 Sensor JaCoCo XML Report Importer [jacoco]
[WARNING] 15:18:06.211 No coverage report can be found with sonar.coverage.jacoco.xmlReportPaths='/home/cecaduser/workspace/MP_202530_G81_E1_SuperFood_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] 15:18:06.212 No report imported, no coverage information will be imported by JaCoCo XML Report Importer
[INFO] 15:18:06.212 Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms
[INFO] 15:18:06.213 Sensor Java Config Sensor [iac]
[INFO] 15:18:06.262 0 source files to be analyzed
[INFO] 15:18:06.262 0/0 source files have been analyzed
[INFO] 15:18:06.263 Sensor Java Config Sensor [iac] (done) | time=50ms
[INFO] 15:18:06.263 Sensor IaC Docker Sensor [iac]
[INFO] 15:18:06.372 0 source files to be analyzed
[INFO] 15:18:06.372 0/0 source files have been analyzed
[INFO] 15:18:06.372 Sensor IaC Docker Sensor [iac] (done) | time=109ms
[INFO] 15:18:06.372 Sensor TextAndSecretsSensor [text]
[INFO] 15:18:06.373 Available processors: 4
[INFO] 15:18:06.373 Using 4 threads for analysis.
[INFO] 15:18:07.071 Using git CLI to retrieve untracked files
[WARNING] 15:18:07.083 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] 15:18:07.125 26 source files to be analyzed
[INFO] 15:18:07.250 26/26 source files have been analyzed
[INFO] 15:18:07.251 Sensor TextAndSecretsSensor [text] (done) | time=879ms
[INFO] 15:18:07.255 ------------- Run sensors on project
[INFO] 15:18:07.457 Sensor Zero Coverage Sensor
[INFO] 15:18:07.475 Sensor Zero Coverage Sensor (done) | time=18ms
[INFO] 15:18:07.475 Sensor Java CPD Block Indexer
[INFO] 15:18:07.521 Sensor Java CPD Block Indexer (done) | time=46ms
[INFO] 15:18:07.522 ------------- Gather SCA dependencies on project
[INFO] 15:18:07.580 CPD Executor 19 files had no CPD blocks
[INFO] 15:18:07.581 CPD Executor Calculating CPD for 6 files
[INFO] 15:18:07.591 CPD Executor CPD calculation finished (done) | time=10ms
[INFO] 15:18:07.600 SCM revision ID '5816d8c6b7e9a0e2b73456b06104ab700c9dd150'
[INFO] 15:18:07.775 Analysis report generated in 172ms, dir size=274.5 kB
[INFO] 15:18:07.857 Analysis report compressed in 80ms, zip size=68.6 kB
[INFO] 15:18:07.899 Analysis report uploaded in 39ms
[INFO] 15:18:07.901 ANALYSIS SUCCESSFUL, you can find the results at: http://10.20.84.26:8082/sonar/dashboard?id=co.edu.udistrital.mdp%3AMP_202530_G81_E1_SuperFood_Back
[INFO] 15:18:07.901 Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
[INFO] 15:18:07.901 More about the report processing at http://10.20.84.26:8082/sonar/api/ce/task?id=0d8be583-0818-4c8b-a0fb-24412981266a
[INFO] 15:18:07.932 Analysis total time: 7.841 s
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.413 s
[INFO] Finished at: 2025-09-29T15:18:07Z
[INFO] ------------------------------------------------------------------------