From 56080236ef70991462fb9afcdf9823d7290cfc67 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Tue, 8 Apr 2025 18:43:28 +0200 Subject: [PATCH] Remove unused SonarQube configs and cache setup. Cleaned up commented-out SonarQube configuration from `pom.xml` and removed redundant cache settings in `.gitlab-ci.yml`. This simplifies the build configuration and eliminates unused or unnecessary definitions. --- .gitlab-ci.yml | 14 +++++--------- pom.xml | 7 ------- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bfb802b..62fa2d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,10 +43,6 @@ on_commits: - echo "Running tests..." - cd ${GITLAB_CLONE_DIR} - mvn test - cache: - key: "${CI_JOB_NAME}" - paths: - - .maven-cache only: - /^feature.*$/ - merge_request @@ -59,12 +55,12 @@ sonarcloud_scan: image: name: sonarsource/sonar-scanner-cli:latest entrypoint: [ "" ] - cache: - key: "${CI_JOB_NAME}" - paths: - - .maven-cache script: - - sonar-scanner -Dsonar.projectKey=${SONAR_PROJECT_KEY} -Dsonar.organization=${SONAR_ORGANIZATION} -Dsonar.token=${SONAR_TOKEN} -Dsonar.exclusions=docs/** -Dsonar.java.binaries=target/classes + - sonar-scanner -Dsonar.projectKey=${SONAR_PROJECT_KEY} \ + -Dsonar.organization=${SONAR_ORGANIZATION} \ + -Dsonar.token=${SONAR_TOKEN} \ + -Dsonar.exclusions=docs/** \ + -Dsonar.java.binaries=target/classes only: - merge_requests - develop diff --git a/pom.xml b/pom.xml index 611f025..deb8851 100644 --- a/pom.xml +++ b/pom.xml @@ -21,13 +21,6 @@ ${file.encoding} ${file.encoding} - - - - - - - 10.21.3 3.6.0