From 660603009092e2c496db0ab2041974f410bd6c17 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Tue, 22 Apr 2025 07:45:45 +0200 Subject: [PATCH] Update SonarQube project key and simplify CI script Updated the SonarQube project key in `pom.xml` to reflect the new naming convention. Simplified the CI script by removing redundant project key specification, ensuring consistency and maintainability. --- .gitlab-ci.yml | 3 +-- pom.xml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 824cb09..b579f6a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,8 +46,7 @@ sonarcloud_scan: dependencies: - build script: - - mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \ - -Dsonar.projectKey=thischwa_CloudflareDNS-java + - mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar only: - merge_requests - develop diff --git a/pom.xml b/pom.xml index 67031ff..a2d1c76 100644 --- a/pom.xml +++ b/pom.xml @@ -44,7 +44,7 @@ thischwa https://sonarcloud.io ${file.encoding} - codes.thischwa:cloudflaredns + thischwa_CloudflareDNS-java CloudflareDNS-java develop