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 1002e8a8..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.9.1.2184 - - - org.jacoco - jacoco-maven-plugin - 0.8.10 - - - **/config/FlywayConfig.kt - **/config/OppdragMQConfig.kt - - - - - - org.springframework.boot