diff --git a/.github/workflows/java-continuous-integration.yml b/.github/workflows/java-continuous-integration.yml index d998615c..9d485073 100644 --- a/.github/workflows/java-continuous-integration.yml +++ b/.github/workflows/java-continuous-integration.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [ '11' ] + java: [ '11', '17' ] name: Java ${{ matrix.Java }} CI steps: - name: Check out repository code @@ -97,7 +97,7 @@ jobs: uses: actions/setup-java@v2 with: distribution: 'adopt' - java-version: '11' + java-version: '17' - name: Cache Maven packages uses: actions/cache@v2 with: @@ -122,4 +122,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # SonarCloud access token should be generated from https://sonarcloud.io/account/security/ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar -Dsonar.organization=lequal -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN \ No newline at end of file + run: mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar -Dsonar.token=$SONAR_TOKEN \ No newline at end of file diff --git a/pom.xml b/pom.xml index 9d038b1d..7a354fbb 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ fr.cnes.sonar cnesreport - 4.2.0 + 4.3.0 sonar-plugin SonarQube CNES Report @@ -33,12 +33,14 @@ 11 11 5.9.2 - 0.8.8 + 0.8.11 9.8.0.203 9.5.0.56709 9.9.0.65466 1.21.0.505 cnesreport + lequal + https://sonarcloud.io https://github.com/cnescatlab/sonar-cnes-report CNES src/main/java diff --git a/sonar-project.properties b/sonar-project.properties index 9a770264..781f3dd0 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,6 +1,4 @@ -sonar.projectKey=cnesreport -sonar.projectName=cnesreport -sonar.projectVersion=3.3.0 +# Other infos (project key, version, sonarcloud url, etc. are set in the pom.xml) sonar.projectDescription=Export SonarQube report for a specific project. sonar.sources=src/main sonar.tests=src/test/ut