From 1ee3efa6c6dd4badecce7c98019050789ee492c1 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Tue, 22 Apr 2025 07:16:03 +0200 Subject: [PATCH] Update Sonar settings and SCM details in project config Added `sonar.sourceEncoding` and updated Sonar Maven plugin to a specific version for improved compatibility. Adjusted SCM values to reflect the correct repository URLs under the `thischwa` namespace. --- .gitlab-ci.yml | 2 +- pom.xml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e3413d5..60e71a2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,7 +46,7 @@ sonarcloud_scan: dependencies: - build script: - - mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \ + - mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar:5.1.0.4751 \ -Dsonar.projectKey=thischwa_CloudflareDNS-java only: - merge_requests diff --git a/pom.xml b/pom.xml index ba03077..257b63c 100644 --- a/pom.xml +++ b/pom.xml @@ -43,12 +43,13 @@ thischwa https://sonarcloud.io + ${file.encoding} - scm:git:git@gitlab.com:ths6435116/CloudflareDNS-java.git - scm:git:git@gitlab.com:ths6435116/CloudflareDNS-java.git - https://gitlab.com/ths6435116/CloudflareDNS-java + scm:git:git@gitlab.com:thischwa/CloudflareDNS-java.git + scm:git:git@gitlab.com:thischwa/CloudflareDNS-java.git + https://gitlab.com/thischwa/CloudflareDNS-java HEAD