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.2 kB
Progress (2): 3.2 kB | 4.0 kB
Progress (2): 7.1 kB | 4.0 kB
Progress (2): 7.1 kB | 9.5 kB
Progress (2): 8.3 kB | 9.5 kB
Progress (2): 8.3 kB | 13 kB
Progress (2): 8.3 kB | 14 kB
Progress (2): 12 kB | 14 kB
Progress (2): 14 kB | 14 kB
Progress (2): 18 kB | 14 kB
Progress (2): 20 kB | 14 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 14 kB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 kB at 21 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 9.4 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_E3_MyWish_Back >---------
[INFO] Building MP_202530_G81_E3_MyWish_Back 0.0.1-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- sonar:4.0.0.4121:sonar (default-cli) @ MP_202530_G81_E3_MyWish_Back ---
[WARNING] 00:16:47.042 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:16:47.051 Java 21.0.4 Eclipse Adoptium (64-bit)
[INFO] 00:16:47.051 Linux 6.14.0-29-generic (amd64)
[INFO] 00:16:47.086 User cache: /root/.sonar/cache
[INFO] 00:16:47.665 Communicating with SonarQube Server 25.3.0.104237
[INFO] 00:16:47.682 Default locale: "en_US", source code encoding: "UTF-8"
[INFO] 00:16:48.496 Load global settings
[INFO] 00:16:48.580 Load global settings (done) | time=85ms
[INFO] 00:16:48.595 Server id: 243B8A4D-AZWSB3madBdjq_cKUIEO
[INFO] 00:16:48.608 Loading required plugins
[INFO] 00:16:48.609 Load plugins index
[INFO] 00:16:48.654 Load plugins index (done) | time=45ms
[INFO] 00:16:48.654 Load/download plugins
[INFO] 00:16:48.909 Load/download plugins (done) | time=255ms
[INFO] 00:16:49.251 Process project properties
[INFO] 00:16:49.266 Process project properties (done) | time=15ms
[INFO] 00:16:49.278 Project key: co.edu.udistrital.mdp:MP_202530_G81_E3_MyWish_Back
[INFO] 00:16:49.278 Base dir: /home/cecaduser/workspace/MP_202530_G81_E3_MyWish_Back
[INFO] 00:16:49.278 Working dir: /home/cecaduser/workspace/MP_202530_G81_E3_MyWish_Back/target/sonar
[INFO] 00:16:49.286 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202530_G81_E3_MyWish_Back'
[INFO] 00:16:49.301 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202530_G81_E3_MyWish_Back' (done) | time=15ms
[INFO] 00:16:49.335 Load quality profiles
[INFO] 00:16:49.396 Load quality profiles (done) | time=61ms
[INFO] 00:16:49.410 Auto-configuring with CI 'Jenkins'
[INFO] 00:16:49.446 Load active rules
[INFO] 00:16:49.746 Load active rules (done) | time=300ms
[INFO] 00:16:49.753 Load analysis cache
[INFO] 00:16:49.773 Load analysis cache (811 bytes) | time=20ms
[INFO] 00:16:49.840 Preprocessing files...
[INFO] 00:16:49.956 2 languages detected in 11 preprocessed files
[INFO] 00:16:49.956 0 files ignored because of scm ignore settings
[INFO] 00:16:49.959 Loading plugins for detected languages
[INFO] 00:16:49.959 Load/download plugins
[INFO] 00:16:50.263 Load/download plugins (done) | time=304ms
[INFO] 00:16:50.394 Load project repositories
[INFO] 00:16:50.507 Load project repositories (done) | time=114ms
[INFO] 00:16:50.526 Indexing files...
[INFO] 00:16:50.526 Project configuration:
[INFO] 00:16:50.526 Excluded sources for coverage: **/controllers/**, **/exceptions/**, **/podam/**, **/dto/**
[INFO] 00:16:50.536 11 files indexed
[INFO] 00:16:50.537 Quality profile for java: Sonar way
[INFO] 00:16:50.537 Quality profile for xml: Sonar way
[INFO] 00:16:50.537 ------------- Run sensors on module MP_202530_G81_E3_MyWish_Back
[INFO] 00:16:50.594 Load metrics repository
[INFO] 00:16:50.611 Load metrics repository (done) | time=17ms
[INFO] 00:16:51.412 Sensor JavaSensor [java]
[INFO] 00:16:51.416 Configured Java source version (sonar.java.source): 21, preview features enabled (sonar.java.enablePreview): false
[INFO] 00:16:51.448 Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis.
[INFO] 00:16:51.450 Using ECJ batch to parse 10 Main java source files with batch size 104 KB.
[INFO] 00:16:51.752 Starting batch processing.
[INFO] 00:16:52.265 The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files.
[INFO] 00:16:53.128 100% analyzed
[INFO] 00:16:53.129 Batch processing: Done.
[INFO] 00:16:53.130 Did not optimize analysis for any files, performed a full analysis for all 10 files.
[INFO] 00:16:53.131 No "Test" source files to scan.
[INFO] 00:16:53.131 No "Generated" source files to scan.
[INFO] 00:16:53.132 Sensor JavaSensor [java] (done) | time=1720ms
[INFO] 00:16:53.132 Sensor SurefireSensor [java]
[INFO] 00:16:53.133 parsing [/home/cecaduser/workspace/MP_202530_G81_E3_MyWish_Back/target/surefire-reports]
[INFO] 00:16:53.133 Sensor SurefireSensor [java] (done) | time=1ms
[INFO] 00:16:53.134 Sensor XML Sensor [xml]
[INFO] 00:16:53.141 1 source file to be analyzed
[INFO] 00:16:53.297 1/1 source file has been analyzed
[INFO] 00:16:53.298 Sensor XML Sensor [xml] (done) | time=164ms
[INFO] 00:16:53.298 Sensor JaCoCo XML Report Importer [jacoco]
[WARNING] 00:16:53.300 No coverage report can be found with sonar.coverage.jacoco.xmlReportPaths='/home/cecaduser/workspace/MP_202530_G81_E3_MyWish_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] 00:16:53.300 No report imported, no coverage information will be imported by JaCoCo XML Report Importer
[INFO] 00:16:53.301 Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms
[INFO] 00:16:53.301 Sensor Java Config Sensor [iac]
[INFO] 00:16:53.319 0 source files to be analyzed
[INFO] 00:16:53.319 0/0 source files have been analyzed
[INFO] 00:16:53.320 Sensor Java Config Sensor [iac] (done) | time=19ms
[INFO] 00:16:53.320 Sensor IaC Docker Sensor [iac]
[INFO] 00:16:53.407 0 source files to be analyzed
[INFO] 00:16:53.407 0/0 source files have been analyzed
[INFO] 00:16:53.408 Sensor IaC Docker Sensor [iac] (done) | time=88ms
[INFO] 00:16:53.408 Sensor TextAndSecretsSensor [text]
[INFO] 00:16:53.408 Available processors: 4
[INFO] 00:16:53.408 Using 4 threads for analysis.
[INFO] 00:16:53.787 Using git CLI to retrieve untracked files
[WARNING] 00:16:53.793 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] 00:16:53.844 11 source files to be analyzed
[INFO] 00:16:53.880 11/11 source files have been analyzed
[INFO] 00:16:53.881 Sensor TextAndSecretsSensor [text] (done) | time=473ms
[INFO] 00:16:53.884 ------------- Run sensors on project
[INFO] 00:16:54.033 Sensor Zero Coverage Sensor
[INFO] 00:16:54.039 Sensor Zero Coverage Sensor (done) | time=6ms
[INFO] 00:16:54.040 Sensor Java CPD Block Indexer
[INFO] 00:16:54.059 Sensor Java CPD Block Indexer (done) | time=19ms
[INFO] 00:16:54.059 ------------- Gather SCA dependencies on project
[INFO] 00:16:54.072 CPD Executor 4 files had no CPD blocks
[INFO] 00:16:54.072 CPD Executor Calculating CPD for 6 files
[INFO] 00:16:54.078 CPD Executor CPD calculation finished (done) | time=6ms
[INFO] 00:16:54.083 SCM revision ID '0fbe9c679ab2c4365f370a9e7347014c8afdf542'
[INFO] 00:16:54.167 Analysis report generated in 82ms, dir size=262.6 kB
[INFO] 00:16:54.202 Analysis report compressed in 34ms, zip size=47.0 kB
[INFO] 00:16:54.240 Analysis report uploaded in 38ms
[INFO] 00:16:54.242 ANALYSIS SUCCESSFUL, you can find the results at: http://10.20.84.26:8082/sonar/dashboard?id=co.edu.udistrital.mdp%3AMP_202530_G81_E3_MyWish_Back
[INFO] 00:16:54.242 Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
[INFO] 00:16:54.242 More about the report processing at http://10.20.84.26:8082/sonar/api/ce/task?id=d4a95a1c-9ba0-47d6-ada2-7e20aef57a98
[INFO] 00:16:54.252 Analysis total time: 5.288 s
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.892 s
[INFO] Finished at: 2025-10-01T00:16:54Z
[INFO] ------------------------------------------------------------------------