diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index abfca94ff..22ad0b09e 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -18,7 +18,7 @@ jobs: strategy: fail-fast: false matrix: - java: [ '11', '17' ] + java: [ '17' ] maven: [ '3.8.6' ] os: [ 'ubuntu-22.04' ] name: Build (Java ${{ matrix.java }}, ${{ matrix.os }}) @@ -56,7 +56,7 @@ jobs: maven-version: ${{ matrix.maven }} - name: Register Problem Matchers - if: ${{ matrix.java == '11' }} + if: ${{ matrix.java == '17' }} id: problem_matchers run: | echo "::add-matcher::.github/openhab-compile-problems.json" @@ -86,7 +86,7 @@ jobs: path: target/summary_report.html - name: Report SAT Errors as Annotations - if: ${{ matrix.java == '11' && always() && ((steps.build.outcome == 'success') || (steps.build.outcome == 'failure')) }} + if: ${{ matrix.java == '17' && always() && ((steps.build.outcome == 'success') || (steps.build.outcome == 'failure')) }} uses: ghys/checkstyle-github-action@main with: title: CheckStyle Violations diff --git a/pom.xml b/pom.xml index a521d8cee..921b7b550 100644 --- a/pom.xml +++ b/pom.xml @@ -62,7 +62,7 @@ UTF-8 UTF-8 - 11 + 17 ${oh.java.version} ${oh.java.version} ${oh.java.version} @@ -73,7 +73,8 @@ 4.3.7 4.0.0-SNAPSHOT 0.13.0 - 2.0.3 + 2.28.0 + 4.21.0 @@ -254,12 +255,12 @@ Import-Package: \\ org.codehaus.plexus plexus-compiler-eclipse - 2.11.1 + 2.12.1 org.eclipse.jdt ecj - 3.28.0 + 3.30.0 @@ -327,8 +328,12 @@ Import-Package: \\ org.apache.maven.plugins maven-surefire-plugin - 3.0.0-M5 + 3.0.0-M7 + + --add-opens java.base/java.net=ALL-UNNAMED + --add-opens java.base/java.util=ALL-UNNAMED + 15 m @@ -442,7 +447,7 @@ Import-Package: \\ openhab_codestyle.xml - 4.13.0 + ${spotless.eclipse.version} @@ -469,7 +474,7 @@ Import-Package: \\ openhab_wst_xml_files.prefs - 4.13.0 + ${spotless.eclipse.version} @@ -484,7 +489,7 @@ Import-Package: \\ openhab_wst_pom_file.prefs - 4.13.0 + ${spotless.eclipse.version} @@ -516,7 +521,7 @@ Import-Package: \\ org.commonjava.maven.plugins directory-maven-plugin - 0.3.1 + 1.0 directories @@ -547,7 +552,7 @@ Import-Package: \\ - [11.0,18.0) + [17.0,18.0) @@ -612,7 +617,7 @@ Import-Package: \\ org.commonjava.maven.plugins directory-maven-plugin - [0.3.1,) + [1.0,) directory-of