From f7717ef1deb65e3e8eb9d542f68ad0c222a68b8c Mon Sep 17 00:00:00 2001 From: Yanick Minder Date: Tue, 26 Nov 2024 10:09:32 +0100 Subject: [PATCH] update sonar config --- .github/workflows/test-action.yml | 2 +- pom.xml | 40 +++++++++++++++++-------------- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index 8cf7ec6dce..c80d3a5b08 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -15,5 +15,5 @@ jobs: java-version: ${{ vars.JAVA_VERSION }} distribution: 'temurin' - name: Build and analyze - run: mvn clean verify sonar:sonar -Dsonar.login=${{ secrets.SONAR_TOKEN }} + run: mvn clean compile sonar:sonar -Dsonar.login=${{ secrets.SONAR_TOKEN }} diff --git a/pom.xml b/pom.xml index d40aab513c..bce80da025 100644 --- a/pom.xml +++ b/pom.xml @@ -29,26 +29,30 @@ UTF-8 + + + org.codehaus.mojo + properties-maven-plugin + 1.2.1 + + + clean + + read-project-properties + + + + sonar-project.properties + + + false + + + + + - - org.codehaus.mojo - properties-maven-plugin - 1.2.1 - - - clean - - read-project-properties - - - - sonar-project.properties - - - - - org.sonarsource.scanner.maven sonar-maven-plugin