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] 07:46:29.241 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] 07:46:29.250 Java 21.0.4 Eclipse Adoptium (64-bit)
[INFO] 07:46:29.250 Linux 6.11.0-21-generic (amd64)
[INFO] 07:46:29.423 User cache: /root/.sonar/cache
[INFO] 07:46:30.004 Communicating with SonarQube Server 25.3.0.104237
[INFO] 07:46:30.021 Default locale: "en_US", source code encoding: "UTF-8"
[INFO] 07:46:30.862 Load global settings
[INFO] 07:46:30.946 Load global settings (done) | time=86ms
[INFO] 07:46:30.962 Server id: 243B8A4D-AZWSB3madBdjq_cKUIEO
[INFO] 07:46:30.975 Loading required plugins
[INFO] 07:46:30.976 Load plugins index
[INFO] 07:46:31.032 Load plugins index (done) | time=56ms
[INFO] 07:46:31.032 Load/download plugins
[INFO] 07:46:31.272 Load/download plugins (done) | time=240ms
[INFO] 07:46:31.597 Process project properties
[INFO] 07:46:31.619 Process project properties (done) | time=22ms
[INFO] 07:46:31.630 Project key: co.edu.udistrital.mdp:MP_202510_G81_E1_AdopcionMascotas_Back
[INFO] 07:46:31.630 Base dir: /home/cecaduser/workspace/MP_202510_G81_E1_AdopcionMascotas_Back
[INFO] 07:46:31.630 Working dir: /home/cecaduser/workspace/MP_202510_G81_E1_AdopcionMascotas_Back/target/sonar
[INFO] 07:46:31.637 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202510_G81_E1_AdopcionMascotas_Back'
[INFO] 07:46:31.653 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202510_G81_E1_AdopcionMascotas_Back' (done) | time=16ms
[INFO] 07:46:31.682 Load quality profiles
[INFO] 07:46:31.739 Load quality profiles (done) | time=57ms
[INFO] 07:46:31.753 Auto-configuring with CI 'Jenkins'
[INFO] 07:46:31.788 Load active rules
[INFO] 07:46:32.037 Load active rules (done) | time=249ms
[INFO] 07:46:32.044 Load analysis cache
[INFO] 07:46:32.063 Load analysis cache (3.1 kB) | time=19ms
[INFO] 07:46:32.130 Preprocessing files...
[INFO] 07:46:32.287 2 languages detected in 57 preprocessed files
[INFO] 07:46:32.288 0 files ignored because of scm ignore settings
[INFO] 07:46:32.290 Loading plugins for detected languages
[INFO] 07:46:32.290 Load/download plugins
[INFO] 07:46:32.547 Load/download plugins (done) | time=257ms
[INFO] 07:46:32.659 Load project repositories
[INFO] 07:46:32.767 Load project repositories (done) | time=108ms
[INFO] 07:46:32.795 Indexing files...
[INFO] 07:46:32.795 Project configuration:
[INFO] 07:46:32.796 Excluded sources for coverage: **/controllers/**, **/exceptions/**, **/podam/**, **/dto/**
[INFO] 07:46:32.810 57 files indexed
[INFO] 07:46:32.811 Quality profile for java: Sonar way
[INFO] 07:46:32.811 Quality profile for xml: Sonar way
[INFO] 07:46:32.811 ------------- Run sensors on module MP_202510_G81_E1_AdopcionMascotas_Back
[INFO] 07:46:32.867 Load metrics repository
[INFO] 07:46:32.884 Load metrics repository (done) | time=17ms
[INFO] 07:46:33.674 Sensor JavaSensor [java]
[INFO] 07:46:33.678 Configured Java source version (sonar.java.source): 21, preview features enabled (sonar.java.enablePreview): false
[INFO] 07:46:33.705 Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis.
[INFO] 07:46:33.707 Using ECJ batch to parse 56 Main java source files with batch size 104 KB.
[INFO] 07:46:34.049 Starting batch processing.
[INFO] 07:46:34.577 The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files.
[INFO] 07:46:35.836 100% analyzed
[INFO] 07:46:35.837 Batch processing: Done.
[INFO] 07:46:35.838 Did not optimize analysis for any files, performed a full analysis for all 56 files.
[INFO] 07:46:35.839 No "Test" source files to scan.
[INFO] 07:46:35.840 No "Generated" source files to scan.
[INFO] 07:46:35.840 Sensor JavaSensor [java] (done) | time=2166ms
[INFO] 07:46:35.840 Sensor SurefireSensor [java]
[INFO] 07:46:35.840 parsing [/home/cecaduser/workspace/MP_202510_G81_E1_AdopcionMascotas_Back/target/surefire-reports]
[INFO] 07:46:35.841 Sensor SurefireSensor [java] (done) | time=1ms
[INFO] 07:46:35.841 Sensor XML Sensor [xml]
[INFO] 07:46:35.848 1 source file to be analyzed
[INFO] 07:46:36.010 1/1 source file has been analyzed
[INFO] 07:46:36.011 Sensor XML Sensor [xml] (done) | time=169ms
[INFO] 07:46:36.011 Sensor JaCoCo XML Report Importer [jacoco]
[WARNING] 07:46:36.013 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] 07:46:36.013 No report imported, no coverage information will be imported by JaCoCo XML Report Importer
[INFO] 07:46:36.013 Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms
[INFO] 07:46:36.014 Sensor Java Config Sensor [iac]
[INFO] 07:46:36.032 0 source files to be analyzed
[INFO] 07:46:36.033 0/0 source files have been analyzed
[INFO] 07:46:36.033 Sensor Java Config Sensor [iac] (done) | time=20ms
[INFO] 07:46:36.033 Sensor IaC Docker Sensor [iac]
[INFO] 07:46:36.110 0 source files to be analyzed
[INFO] 07:46:36.110 0/0 source files have been analyzed
[INFO] 07:46:36.110 Sensor IaC Docker Sensor [iac] (done) | time=77ms
[INFO] 07:46:36.110 Sensor TextAndSecretsSensor [text]
[INFO] 07:46:36.111 Available processors: 4
[INFO] 07:46:36.111 Using 4 threads for analysis.
[INFO] 07:46:36.495 Using git CLI to retrieve untracked files
[WARNING] 07:46:36.499 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] 07:46:36.513 57 source files to be analyzed
[INFO] 07:46:36.614 57/57 source files have been analyzed
[INFO] 07:46:36.615 Sensor TextAndSecretsSensor [text] (done) | time=505ms
[INFO] 07:46:36.619 ------------- Run sensors on project
[INFO] 07:46:36.757 Sensor Zero Coverage Sensor
[INFO] 07:46:36.767 Sensor Zero Coverage Sensor (done) | time=10ms
[INFO] 07:46:36.767 Sensor Java CPD Block Indexer
[INFO] 07:46:36.803 Sensor Java CPD Block Indexer (done) | time=36ms
[INFO] 07:46:36.803 ------------- Gather SCA dependencies on project
[INFO] 07:46:36.818 CPD Executor 37 files had no CPD blocks
[INFO] 07:46:36.818 CPD Executor Calculating CPD for 19 files
[INFO] 07:46:36.828 CPD Executor CPD calculation finished (done) | time=8ms
[INFO] 07:46:36.832 SCM revision ID 'e126a32d7bd6ba6762f36ae8bf6df1e95b1643e3'
[INFO] 07:46:36.933 Analysis report generated in 92ms, dir size=317.6 kB
[INFO] 07:46:37.055 Analysis report compressed in 122ms, zip size=121.1 kB
[INFO] 07:46:37.083 Analysis report uploaded in 27ms
[INFO] 07:46:37.085 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] 07:46:37.085 Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
[INFO] 07:46:37.085 More about the report processing at http://10.20.84.26:8082/sonar/api/ce/task?id=7cb04166-1e16-457e-931d-9b12f8a5a9a3
[INFO] 07:46:37.107 Analysis total time: 5.785 s
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.976 s
[INFO] Finished at: 2025-04-27T07:46:37Z
[INFO] ------------------------------------------------------------------------