diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 7552b2e..8619ac1 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -27,7 +27,7 @@ assignees: '' > _Please complete the following information._ - OS: [e.g. Windows 10] - Java version: [e.g. 1.8] - - i-Code version: [e.g. 3.1.0] + - i-Code version: [e.g. 3.1.1] - Plugin version: [e.g. 2.0.0] #### Additional context diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md index 6615ec8..75b6c1c 100644 --- a/.github/ISSUE_TEMPLATE/question.md +++ b/.github/ISSUE_TEMPLATE/question.md @@ -19,7 +19,7 @@ assignees: '' > _Please complete the following information._ - OS: [e.g. Windows 10] - Java version: [e.g. 1.8] - - i-Code version: [e.g. 3.1.0] + - i-Code version: [e.g. 3.1.1] - Plugin version: [e.g. 2.0.0] #### Additional context diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 7df20e6..3715df5 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -27,7 +27,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: diff --git a/.github/workflows/java-continuous-integration.yml b/.github/workflows/java-continuous-integration.yml index 00cab08..61dbe91 100644 --- a/.github/workflows/java-continuous-integration.yml +++ b/.github/workflows/java-continuous-integration.yml @@ -3,7 +3,7 @@ # This workflow is triggered each time # commits are pushed to GitHub or a pull request is opened. # It launches three jobs in parallel : a build with java 8, -# a build with java 11 and a SonarCloud analysis. +# a build with java 17 and a SonarCloud analysis. --- name: Java CI @@ -18,7 +18,7 @@ jobs: permissions: packages: read runs-on: ubuntu-latest - name: Java 11 CI + name: Java 17 CI steps: - name: Check out repository code uses: actions/checkout@v2 @@ -28,7 +28,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: @@ -54,7 +54,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: diff --git a/README.md b/README.md index f9b82a4..fb281f8 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ Here is the compatibility matrix of the plugin: | 3.0.0 | 4.1.0 | 7.9 -> 8.2 | Fortran | | 3.0.1 | 4.1.2 | 7.9 -> 8.2 | Fortran | | 3.1.0 | 4.1.2 | 7.9 -> 9.9 | Fortran | +| 3.1.1 | 4.1.2 | 7.9 -> 9.9 | Fortran | | 3.1.2 | 5.0.0 | 7.9 -> 9.9 | Fortran | #### Run i-Code manually diff --git a/pom.xml b/pom.xml index b1008df..5a1bf0b 100644 --- a/pom.xml +++ b/pom.xml @@ -56,11 +56,11 @@ UTF-8 - 1.8 - 11 - 11 - 1.8 - 1.8 + 17 + 17 + 17 + 17 + 17 9.8.0.203 9.5.0.56709 9.9.1.69595 diff --git a/src/main/java/fr/cnes/sonar/plugins/icode/measures/ICodeMetricsProcessor.java b/src/main/java/fr/cnes/sonar/plugins/icode/measures/ICodeMetricsProcessor.java index 23383d5..6a48c17 100644 --- a/src/main/java/fr/cnes/sonar/plugins/icode/measures/ICodeMetricsProcessor.java +++ b/src/main/java/fr/cnes/sonar/plugins/icode/measures/ICodeMetricsProcessor.java @@ -79,8 +79,11 @@ public static void saveMeasure(final SensorContext context, final Map