diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 32afe06e4aa..5df6b84646c 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -33,4 +33,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: mvn -T1C jacoco:prepare-agent verify jacoco:report sonar:sonar -Dversion.jdk.runtime=17 -Dverification.skip -Dsonar.projectKey=PicnicSupermarket_error-prone-support + run: mvn -T1C jacoco:prepare-agent verify jacoco:report sonar:sonar -Dverification.skip -Dsonar.projectKey=PicnicSupermarket_error-prone-support diff --git a/pom.xml b/pom.xml index 8a351e3e5b8..56117374032 100644 --- a/pom.xml +++ b/pom.xml @@ -1858,6 +1858,12 @@ sonar true + + ${version.jdk.source}