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.
This commit is contained in:
2025-04-22 07:16:03 +02:00
parent c3b4a721f3
commit 1ee3efa6c6
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -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
+4 -3
View File
@@ -43,12 +43,13 @@
<!-- sonarqube -->
<sonar.organization>thischwa</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.sourceEncoding>${file.encoding}</sonar.sourceEncoding>
</properties>
<scm>
<developerConnection>scm:git:git@gitlab.com:ths6435116/CloudflareDNS-java.git</developerConnection>
<connection>scm:git:git@gitlab.com:ths6435116/CloudflareDNS-java.git</connection>
<url>https://gitlab.com/ths6435116/CloudflareDNS-java</url>
<developerConnection>scm:git:git@gitlab.com:thischwa/CloudflareDNS-java.git</developerConnection>
<connection>scm:git:git@gitlab.com:thischwa/CloudflareDNS-java.git</connection>
<url>https://gitlab.com/thischwa/CloudflareDNS-java</url>
<tag>HEAD</tag>
</scm>