Console Output
+ mvn sonar:sonar -Dsonar.token=**** -Dsonar.host.url=http://10.20.84.26:8082/sonar
[INFO] Scanning for projects...
[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_E1_AdopcionMascotas_Back >----
[INFO] Building MP_202510_G81_E1_AdopcionMascotas_Back 0.0.1-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- sonar:4.0.0.4121:sonar (default-cli) @ MP_202510_G81_E1_AdopcionMascotas_Back ---
[WARNING] 20:23:35.517 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] 20:23:35.525 Java 21.0.4 Eclipse Adoptium (64-bit)
[INFO] 20:23:35.525 Linux 6.11.0-21-generic (amd64)
[INFO] 20:23:35.706 User cache: /root/.sonar/cache
[INFO] 20:23:36.238 Communicating with SonarQube Server 25.3.0.104237
[INFO] 20:23:36.256 Default locale: "en_US", source code encoding: "UTF-8"
[INFO] 20:23:37.101 Load global settings
[INFO] 20:23:37.183 Load global settings (done) | time=84ms
[INFO] 20:23:37.198 Server id: 243B8A4D-AZWSB3madBdjq_cKUIEO
[INFO] 20:23:37.211 Loading required plugins
[INFO] 20:23:37.211 Load plugins index
[INFO] 20:23:37.267 Load plugins index (done) | time=56ms
[INFO] 20:23:37.267 Load/download plugins
[INFO] 20:23:37.538 Load/download plugins (done) | time=271ms
[INFO] 20:23:37.864 Process project properties
[INFO] 20:23:37.878 Process project properties (done) | time=14ms
[INFO] 20:23:37.900 Project key: co.edu.udistrital.mdp:MP_202510_G81_E1_AdopcionMascotas_Back
[INFO] 20:23:37.900 Base dir: /home/cecaduser/workspace/MP_202510_G81_E1_AdopcionMascotas_Back
[INFO] 20:23:37.900 Working dir: /home/cecaduser/workspace/MP_202510_G81_E1_AdopcionMascotas_Back/target/sonar
[INFO] 20:23:37.908 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202510_G81_E1_AdopcionMascotas_Back'
[INFO] 20:23:37.927 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202510_G81_E1_AdopcionMascotas_Back' (done) | time=19ms
[INFO] 20:23:37.956 Load quality profiles
[INFO] 20:23:38.014 Load quality profiles (done) | time=58ms
[INFO] 20:23:38.028 Auto-configuring with CI 'Jenkins'
[INFO] 20:23:38.066 Load active rules
[INFO] 20:23:38.331 Load active rules (done) | time=265ms
[INFO] 20:23:38.338 Load analysis cache
[INFO] 20:23:38.357 Load analysis cache (3.1 kB) | time=19ms
[INFO] 20:23:38.425 Preprocessing files...
[INFO] 20:23:38.586 2 languages detected in 57 preprocessed files
[INFO] 20:23:38.586 0 files ignored because of scm ignore settings
[INFO] 20:23:38.589 Loading plugins for detected languages
[INFO] 20:23:38.589 Load/download plugins
[INFO] 20:23:38.858 Load/download plugins (done) | time=269ms
[INFO] 20:23:38.968 Load project repositories
[INFO] 20:23:39.081 Load project repositories (done) | time=113ms
[INFO] 20:23:39.099 Indexing files...
[INFO] 20:23:39.100 Project configuration:
[INFO] 20:23:39.100 Excluded sources for coverage: **/controllers/**, **/exceptions/**, **/podam/**, **/dto/**
[INFO] 20:23:39.114 57 files indexed
[INFO] 20:23:39.115 Quality profile for java: Sonar way
[INFO] 20:23:39.115 Quality profile for xml: Sonar way
[INFO] 20:23:39.116 ------------- Run sensors on module MP_202510_G81_E1_AdopcionMascotas_Back
[INFO] 20:23:39.186 Load metrics repository
[INFO] 20:23:39.204 Load metrics repository (done) | time=18ms
[INFO] 20:23:40.005 Sensor JavaSensor [java]
[INFO] 20:23:40.009 Configured Java source version (sonar.java.source): 21, preview features enabled (sonar.java.enablePreview): false
[INFO] 20:23:40.036 Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis.
[INFO] 20:23:40.038 Using ECJ batch to parse 56 Main java source files with batch size 104 KB.
[INFO] 20:23:40.355 Starting batch processing.
[INFO] 20:23:40.873 The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files.
[INFO] 20:23:42.136 100% analyzed
[INFO] 20:23:42.136 Batch processing: Done.
[INFO] 20:23:42.138 Did not optimize analysis for any files, performed a full analysis for all 56 files.
[INFO] 20:23:42.139 No "Test" source files to scan.
[INFO] 20:23:42.140 No "Generated" source files to scan.
[INFO] 20:23:42.140 Sensor JavaSensor [java] (done) | time=2135ms
[INFO] 20:23:42.140 Sensor SurefireSensor [java]
[INFO] 20:23:42.140 parsing [/home/cecaduser/workspace/MP_202510_G81_E1_AdopcionMascotas_Back/target/surefire-reports]
[INFO] 20:23:42.141 Sensor SurefireSensor [java] (done) | time=1ms
[INFO] 20:23:42.141 Sensor XML Sensor [xml]
[INFO] 20:23:42.149 1 source file to be analyzed
[INFO] 20:23:42.312 1/1 source file has been analyzed
[INFO] 20:23:42.313 Sensor XML Sensor [xml] (done) | time=172ms
[INFO] 20:23:42.313 Sensor JaCoCo XML Report Importer [jacoco]
[WARNING] 20:23:42.315 No coverage report can be found with sonar.coverage.jacoco.xmlReportPaths='/home/cecaduser/workspace/MP_202510_G81_E1_AdopcionMascotas_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] 20:23:42.315 No report imported, no coverage information will be imported by JaCoCo XML Report Importer
[INFO] 20:23:42.315 Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
[INFO] 20:23:42.316 Sensor Java Config Sensor [iac]
[INFO] 20:23:42.334 0 source files to be analyzed
[INFO] 20:23:42.335 0/0 source files have been analyzed
[INFO] 20:23:42.336 Sensor Java Config Sensor [iac] (done) | time=20ms
[INFO] 20:23:42.337 Sensor IaC Docker Sensor [iac]
[INFO] 20:23:42.414 0 source files to be analyzed
[INFO] 20:23:42.415 0/0 source files have been analyzed
[INFO] 20:23:42.415 Sensor IaC Docker Sensor [iac] (done) | time=78ms
[INFO] 20:23:42.415 Sensor TextAndSecretsSensor [text]
[INFO] 20:23:42.415 Available processors: 4
[INFO] 20:23:42.415 Using 4 threads for analysis.
[INFO] 20:23:42.793 Using git CLI to retrieve untracked files
[WARNING] 20:23:42.797 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] 20:23:42.811 57 source files to be analyzed
[INFO] 20:23:42.886 57/57 source files have been analyzed
[INFO] 20:23:42.888 Sensor TextAndSecretsSensor [text] (done) | time=473ms
[INFO] 20:23:42.891 ------------- Run sensors on project
[INFO] 20:23:43.029 Sensor Zero Coverage Sensor
[INFO] 20:23:43.039 Sensor Zero Coverage Sensor (done) | time=10ms
[INFO] 20:23:43.039 Sensor Java CPD Block Indexer
[INFO] 20:23:43.074 Sensor Java CPD Block Indexer (done) | time=35ms
[INFO] 20:23:43.075 ------------- Gather SCA dependencies on project
[INFO] 20:23:43.090 CPD Executor 37 files had no CPD blocks
[INFO] 20:23:43.090 CPD Executor Calculating CPD for 19 files
[INFO] 20:23:43.100 CPD Executor CPD calculation finished (done) | time=8ms
[INFO] 20:23:43.104 SCM revision ID 'e126a32d7bd6ba6762f36ae8bf6df1e95b1643e3'
[INFO] 20:23:43.198 Analysis report generated in 86ms, dir size=317.6 kB
[INFO] 20:23:43.332 Analysis report compressed in 132ms, zip size=121.1 kB
[INFO] 20:23:43.359 Analysis report uploaded in 27ms
[INFO] 20:23:43.361 ANALYSIS SUCCESSFUL, you can find the results at: http://10.20.84.26:8082/sonar/dashboard?id=co.edu.udistrital.mdp%3AMP_202510_G81_E1_AdopcionMascotas_Back
[INFO] 20:23:43.361 Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
[INFO] 20:23:43.361 More about the report processing at http://10.20.84.26:8082/sonar/api/ce/task?id=288dc593-388d-4917-9d0c-73028c2478be
[INFO] 20:23:43.383 Analysis total time: 5.795 s
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.998 s
[INFO] Finished at: 2025-04-27T20:23:43Z
[INFO] ------------------------------------------------------------------------