diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9cdf2fc..08ee95f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,13 +6,23 @@ on: pull_request: branches: - '*' +permissions: + contents: read jobs: ci: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ ubuntu-latest, windows-latest, macos-latest ] - java: [ 17 ] + os: + - macos-latest + - ubuntu-latest + - windows-latest + # Keep this list as: all supported LTS JDKs, the latest GA JDK, and optionally the latest EA JDK (if available). + # Reference: https://adoptium.net/support/ + java: + - 17 + - 21 + - 24 steps: - name: Checkout uses: actions/checkout@v4 @@ -23,4 +33,4 @@ jobs: java-version: ${{ matrix.java }} cache: maven - name: Build with Maven - run: ./mvnw --batch-mode --no-transfer-progress verify + run: ./mvnw --batch-mode --no-transfer-progress clean verify diff --git a/pom.xml b/pom.xml index bf87b43..d6bf70d 100644 --- a/pom.xml +++ b/pom.xml @@ -42,7 +42,7 @@ 17 - 2.0.4.Final + 2.1.0.Final 1.0.8.Final @@ -50,47 +50,12 @@ - - org.jboss.mod_cluster - mod_cluster-container-spi - ${version.mod_cluster} - - - org.jboss.mod_cluster - mod_cluster-container-tomcat-8.5 - ${version.mod_cluster} - - - org.jboss.mod_cluster - mod_cluster-container-tomcat-9.0 - ${version.mod_cluster} - - - org.jboss.mod_cluster - mod_cluster-core - ${version.mod_cluster} - - - org.jboss.mod_cluster - mod_cluster-demo - ${version.mod_cluster} - - - org.jboss.mod_cluster - mod_cluster-demo-client - ${version.mod_cluster} - - - org.jboss.mod_cluster - mod_cluster-demo-server - ${version.mod_cluster} - - - org.jboss.mod_cluster - mod_cluster-load-spi - ${version.mod_cluster} + mod_cluster-bom + ${version.org.jboss.mod_cluster} + pom + import @@ -108,7 +73,7 @@ true true **/*$logger.java,**/*$bundle.java - +