Skip to content

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): 4.6 kB
Progress (2): 4.6 kB | 3.1 kB
Progress (2): 9.9 kB | 3.1 kB
Progress (2): 9.9 kB | 8.0 kB
Progress (2): 9.9 kB | 11 kB 
Progress (2): 9.9 kB | 16 kB
Progress (2): 9.9 kB | 20 kB
Progress (2): 9.9 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 19 kB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 13 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 14 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_E4_DogSpa_Back >---------
[INFO] Building MP_202530_G81_E4_DogSpa_Back 0.0.1-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- sonar:4.0.0.4121:sonar (default-cli) @ MP_202530_G81_E4_DogSpa_Back ---
[WARNING] 16:35:40.065 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] 16:35:40.074 Java 21.0.4 Eclipse Adoptium (64-bit)
[INFO] 16:35:40.075 Linux 6.14.0-33-generic (amd64)
[INFO] 16:35:40.141 User cache: /root/.sonar/cache
[INFO] 16:35:40.724 Communicating with SonarQube Server 25.3.0.104237
[INFO] 16:35:40.741 Default locale: "en_US", source code encoding: "UTF-8"
[INFO] 16:35:42.874 Load global settings
[INFO] 16:35:42.957 Load global settings (done) | time=85ms
[INFO] 16:35:42.973 Server id: 243B8A4D-AZWSB3madBdjq_cKUIEO
[INFO] 16:35:42.985 Loading required plugins
[INFO] 16:35:42.986 Load plugins index
[INFO] 16:35:43.032 Load plugins index (done) | time=47ms
[INFO] 16:35:43.032 Load/download plugins
[INFO] 16:35:43.298 Load/download plugins (done) | time=265ms
[INFO] 16:35:43.636 Process project properties
[INFO] 16:35:43.650 Process project properties (done) | time=14ms
[INFO] 16:35:43.662 Project key: co.edu.udistrital.mdp:MP_202530_G81_E4_DogSpa_Back
[INFO] 16:35:43.662 Base dir: /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back
[INFO] 16:35:43.662 Working dir: /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back/target/sonar
[INFO] 16:35:43.669 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202530_G81_E4_DogSpa_Back'
[INFO] 16:35:43.698 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202530_G81_E4_DogSpa_Back' (done) | time=29ms
[INFO] 16:35:43.728 Load quality profiles
[INFO] 16:35:43.813 Load quality profiles (done) | time=85ms
[INFO] 16:35:43.826 Auto-configuring with CI 'Jenkins'
[INFO] 16:35:43.861 Load active rules
[INFO] 16:35:44.164 Load active rules (done) | time=303ms
[INFO] 16:35:44.171 Load analysis cache
[INFO] 16:35:44.184 Load analysis cache (404) | time=13ms
[INFO] 16:35:44.253 Preprocessing files...
[INFO] 16:35:44.686 2 languages detected in 79 preprocessed files
[INFO] 16:35:44.687 0 files ignored because of scm ignore settings
[INFO] 16:35:44.689 Loading plugins for detected languages
[INFO] 16:35:44.689 Load/download plugins
[INFO] 16:35:44.993 Load/download plugins (done) | time=304ms
[INFO] 16:35:45.116 Load project repositories
[INFO] 16:35:45.247 Load project repositories (done) | time=131ms
[INFO] 16:35:45.268 Indexing files...
[INFO] 16:35:45.268 Project configuration:
[INFO] 16:35:45.269   Excluded sources for coverage: **/controllers/**, **/exceptions/**, **/podam/**, **/dto/**
[INFO] 16:35:45.287 79 files indexed
[INFO] 16:35:45.288 Quality profile for java: Sonar way
[INFO] 16:35:45.288 Quality profile for xml: Sonar way
[INFO] 16:35:45.288 ------------- Run sensors on module MP_202530_G81_E4_DogSpa_Back
[INFO] 16:35:45.347 Load metrics repository
[INFO] 16:35:45.367 Load metrics repository (done) | time=20ms
[INFO] 16:35:46.309 Sensor JavaSensor [java]
[INFO] 16:35:46.316 Configured Java source version (sonar.java.source): 21, preview features enabled (sonar.java.enablePreview): false
[INFO] 16:35:46.349 Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis.
[INFO] 16:35:46.350 Using ECJ batch to parse 58 Main java source files with batch size 104 KB.
[INFO] 16:35:46.801 Starting batch processing.
[INFO] 16:35:47.358 The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files.
[INFO] 16:35:49.958 100% analyzed
[INFO] 16:35:49.958 Batch processing: Done.
[INFO] 16:35:49.959 Did not optimize analysis for any files, performed a full analysis for all 58 files.
[WARNING] 16:35:49.961 Use of preview features have been detected during analysis. Enable DEBUG mode to see them.
[INFO] 16:35:49.962 Using ECJ batch to parse 20 Test java source files with batch size 104 KB.
[INFO] 16:35:49.976 Starting batch processing.
[INFO] 16:35:51.026 100% analyzed
[INFO] 16:35:51.026 Batch processing: Done.
[INFO] 16:35:51.027 Did not optimize analysis for any files, performed a full analysis for all 20 files.
[INFO] 16:35:51.028 No "Generated" source files to scan.
[INFO] 16:35:51.028 Sensor JavaSensor [java] (done) | time=4719ms
[INFO] 16:35:51.028 Sensor SurefireSensor [java]
[INFO] 16:35:51.029 parsing [/home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back/target/surefire-reports]
[INFO] 16:35:51.131 Sensor SurefireSensor [java] (done) | time=103ms
[INFO] 16:35:51.132 Sensor XML Sensor [xml]
[INFO] 16:35:51.137 1 source file to be analyzed
[INFO] 16:35:51.404 1/1 source file has been analyzed
[INFO] 16:35:51.404 Sensor XML Sensor [xml] (done) | time=272ms
[INFO] 16:35:51.405 Sensor JaCoCo XML Report Importer [jacoco]
[WARNING] 16:35:51.407 No coverage report can be found with sonar.coverage.jacoco.xmlReportPaths='/home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_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] 16:35:51.409 Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list.
[INFO] 16:35:51.509 Sensor JaCoCo XML Report Importer [jacoco] (done) | time=104ms
[INFO] 16:35:51.509 Sensor Java Config Sensor [iac]
[INFO] 16:35:51.529 0 source files to be analyzed
[INFO] 16:35:51.529 0/0 source files have been analyzed
[INFO] 16:35:51.530 Sensor Java Config Sensor [iac] (done) | time=21ms
[INFO] 16:35:51.530 Sensor IaC Docker Sensor [iac]
[INFO] 16:35:51.607 0 source files to be analyzed
[INFO] 16:35:51.607 0/0 source files have been analyzed
[INFO] 16:35:51.607 Sensor IaC Docker Sensor [iac] (done) | time=77ms
[INFO] 16:35:51.607 Sensor TextAndSecretsSensor [text]
[INFO] 16:35:51.607 Available processors: 4
[INFO] 16:35:51.607 Using 4 threads for analysis.
[INFO] 16:35:51.982 Using git CLI to retrieve untracked files
[WARNING] 16:35:51.986 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] 16:35:52.012 79 source files to be analyzed
[INFO] 16:35:52.193 79/79 source files have been analyzed
[INFO] 16:35:52.194 Sensor TextAndSecretsSensor [text] (done) | time=587ms
[INFO] 16:35:52.198 ------------- Run sensors on project
[INFO] 16:35:52.348 Sensor Zero Coverage Sensor
[INFO] 16:35:52.349 Sensor Zero Coverage Sensor (done) | time=1ms
[INFO] 16:35:52.350 Sensor Java CPD Block Indexer
[INFO] 16:35:52.444 Sensor Java CPD Block Indexer (done) | time=94ms
[INFO] 16:35:52.444 ------------- Gather SCA dependencies on project
[INFO] 16:35:52.456 SCM Publisher SCM provider for this project is: git
[INFO] 16:35:52.457 SCM Publisher 58 source files to be analyzed
[INFO] 16:35:52.860 SCM Publisher 58/58 source files have been analyzed (done) | time=403ms
[INFO] 16:35:52.868 CPD Executor 22 files had no CPD blocks
[INFO] 16:35:52.868 CPD Executor Calculating CPD for 36 files
[INFO] 16:35:52.884 CPD Executor CPD calculation finished (done) | time=15ms
[INFO] 16:35:52.889 SCM revision ID '1e81944ab79a9bd88e7f0ab9d4a6c0e8f14364e3'
[INFO] 16:35:53.007 Analysis report generated in 106ms, dir size=709.3 kB
[INFO] 16:35:53.215 Analysis report compressed in 207ms, zip size=262.8 kB
[INFO] 16:35:53.251 Analysis report uploaded in 36ms
[INFO] 16:35:53.253 ANALYSIS SUCCESSFUL, you can find the results at: http://10.20.84.26:8082/sonar/dashboard?id=co.edu.udistrital.mdp%3AMP_202530_G81_E4_DogSpa_Back
[INFO] 16:35:53.253 Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
[INFO] 16:35:53.253 More about the report processing at http://10.20.84.26:8082/sonar/api/ce/task?id=e7d2e344-b9b3-4fdb-b5d2-000c1b1357b5
[INFO] 16:35:53.283 Analysis total time: 9.935 s
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  17.973 s
[INFO] Finished at: 2025-10-15T16:35:53Z
[INFO] ------------------------------------------------------------------------