diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e4191d6..3514fb35 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,27 +25,32 @@ jobs: SONAR_PLUGIN_API_VERSION: 7.9 SONAR_PLUGIN_API_GROUPID: org.sonarsource.sonarqube SONAR_JAVA_VERSION: 5.13.1.18282 + SONAR_SERVER_JAVA_VERSION: 11 # current LTS version - SONAR_SERVER_VERSION: 8.9.9.56886 SONAR_PLUGIN_API_VERSION: 8.9.9.56886 SONAR_PLUGIN_API_GROUPID: org.sonarsource.sonarqube SONAR_JAVA_VERSION: 6.15.1.26025 + SONAR_SERVER_JAVA_VERSION: 11 - SONAR_SERVER_VERSION: 9.7.0.61563 SONAR_PLUGIN_API_VERSION: 9.11.0.290 SONAR_PLUGIN_API_GROUPID: org.sonarsource.api.plugin SONAR_JAVA_VERSION: 7.14.0.30229 - - SONAR_SERVER_VERSION: 9.8.0.63668 - SONAR_PLUGIN_API_VERSION: 9.13.0.360 + SONAR_SERVER_JAVA_VERSION: 11 + # 9.9 LTS + - SONAR_SERVER_VERSION: 9.9.0.65466 + SONAR_PLUGIN_API_VERSION: 9.14.0.375 SONAR_PLUGIN_API_GROUPID: org.sonarsource.api.plugin - SONAR_JAVA_VERSION: 7.15.0.30507 + SONAR_JAVA_VERSION: 7.16.0.30901 + SONAR_SERVER_JAVA_VERSION: 17 steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Set up JDK 11 + - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: 11 + java-version: ${{ matrix.SONAR_SERVER_JAVA_VERSION }} distribution: temurin cache: 'maven' - name: Cache SonarCloud packages diff --git a/pom.xml b/pom.xml index 6ae73f06..0fff7f89 100644 --- a/pom.xml +++ b/pom.xml @@ -289,7 +289,7 @@ org.jacoco jacoco-maven-plugin - 0.8.6 + 0.8.8 org.apache.maven.plugins diff --git a/src/test/resources/projects/findbugs/pom.xml b/src/test/resources/projects/findbugs/pom.xml index 0a50c270..cc047058 100644 --- a/src/test/resources/projects/findbugs/pom.xml +++ b/src/test/resources/projects/findbugs/pom.xml @@ -13,8 +13,8 @@ maven-compiler-plugin 3.8.1 - 6 - 6 + 7 + 7 diff --git a/src/test/resources/projects/jspc-jetty/pom.xml b/src/test/resources/projects/jspc-jetty/pom.xml index a0078ca1..7b474402 100644 --- a/src/test/resources/projects/jspc-jetty/pom.xml +++ b/src/test/resources/projects/jspc-jetty/pom.xml @@ -18,8 +18,8 @@ maven-compiler-plugin 3.8.1 - 6 - 6 + 7 + 7 diff --git a/src/test/resources/projects/jspc-sling/pom.xml b/src/test/resources/projects/jspc-sling/pom.xml index 14213d03..d06c37aa 100644 --- a/src/test/resources/projects/jspc-sling/pom.xml +++ b/src/test/resources/projects/jspc-sling/pom.xml @@ -18,8 +18,8 @@ maven-compiler-plugin 3.8.1 - 6 - 6 + 7 + 7 diff --git a/src/test/resources/projects/multiple-directories-with-classes/dir1/pom.xml b/src/test/resources/projects/multiple-directories-with-classes/dir1/pom.xml index b8cb2994..b50c756f 100644 --- a/src/test/resources/projects/multiple-directories-with-classes/dir1/pom.xml +++ b/src/test/resources/projects/multiple-directories-with-classes/dir1/pom.xml @@ -14,8 +14,8 @@ maven-compiler-plugin 3.8.1 - 6 - 6 + 7 + 7 diff --git a/src/test/resources/projects/multiple-directories-with-classes/dir2/pom.xml b/src/test/resources/projects/multiple-directories-with-classes/dir2/pom.xml index cc209815..faa2cfa1 100644 --- a/src/test/resources/projects/multiple-directories-with-classes/dir2/pom.xml +++ b/src/test/resources/projects/multiple-directories-with-classes/dir2/pom.xml @@ -14,8 +14,8 @@ maven-compiler-plugin 3.8.1 - 6 - 6 + 7 + 7 diff --git a/src/test/resources/projects/simple/pom.xml b/src/test/resources/projects/simple/pom.xml index 0823d9a0..a19a5437 100644 --- a/src/test/resources/projects/simple/pom.xml +++ b/src/test/resources/projects/simple/pom.xml @@ -14,8 +14,8 @@ maven-compiler-plugin 3.8.1 - 6 - 6 + 7 + 7