From 60c1db7807d407b27ef2aca39d262ecd1a761159 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Jan 2024 10:40:45 +0000 Subject: [PATCH 1/2] Bump org.sonarsource.scanner.maven:sonar-maven-plugin Bumps [org.sonarsource.scanner.maven:sonar-maven-plugin](https://github.com/SonarSource/sonar-scanner-maven) from 3.9.1.2184 to 3.10.0.2594. - [Release notes](https://github.com/SonarSource/sonar-scanner-maven/releases) - [Commits](https://github.com/SonarSource/sonar-scanner-maven/compare/3.9.1.2184...3.10.0.2594) --- updated-dependencies: - dependency-name: org.sonarsource.scanner.maven:sonar-maven-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1002e8a8..22053a06 100644 --- a/pom.xml +++ b/pom.xml @@ -450,7 +450,7 @@ org.sonarsource.scanner.maven sonar-maven-plugin - 3.9.1.2184 + 3.10.0.2594 org.jacoco From c733b5171e0b134623195ffe081c4ec4b99c5a28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Helge=20Str=C3=B8m?= Date: Thu, 25 Jan 2024 11:49:45 +0100 Subject: [PATCH 2/2] Fjerner sonar --- .../workflows/build-and-deploy-preprod.yml | 5 +--- pom.xml | 29 ------------------- 2 files changed, 1 insertion(+), 33 deletions(-) diff --git a/.github/workflows/build-and-deploy-preprod.yml b/.github/workflows/build-and-deploy-preprod.yml index 9c6c1290..85827556 100644 --- a/.github/workflows/build-and-deploy-preprod.yml +++ b/.github/workflows/build-and-deploy-preprod.yml @@ -22,13 +22,10 @@ jobs: java-version: 21 distribution: 'temurin' cache: 'maven' - - name: Bygg med maven + sonar + - name: Bygg med maven env: - SONAR_PROJECTKEY: ${{ secrets.SONAR_PROJECTKEY }} - SONAR_LOGIN: ${{ secrets.SONAR_LOGIN }} GITHUB_USERNAME: x-access-token GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # run: mvn -B --no-transfer-progress package verify sonar:sonar --settings .m2/maven-settings.xml --file pom.xml run: mvn -B --no-transfer-progress package verify --settings .m2/maven-settings.xml --file pom.xml - name: Bygg Docker image run: | diff --git a/pom.xml b/pom.xml index 22053a06..74e0bda8 100644 --- a/pom.xml +++ b/pom.xml @@ -35,14 +35,6 @@ 4.0.2 1.13.5 - - ${SONAR_PROJECTKEY} - navit - https://sonarcloud.io - **/config/FlywayConfig.kt,**/OppdragServiceE2E.kt - - - ${SONAR_LOGIN} 2023.0.0 1.19.3 1.0_20230718100517_1e1beb0 @@ -445,27 +437,6 @@ ${project.basedir}/src/test/kotlin ${project.artifactId} - - - - org.sonarsource.scanner.maven - sonar-maven-plugin - 3.10.0.2594 - - - org.jacoco - jacoco-maven-plugin - 0.8.10 - - - **/config/FlywayConfig.kt - **/config/OppdragMQConfig.kt - - - - - - org.springframework.boot