diff --git a/.circleci/config.yml b/.circleci/config.yml index ff01bb4..8ce2096 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ version: 2 jobs: build: docker: - - image: maven:3.9.4-eclipse-temurin-17 + - image: maven:3.9.9-eclipse-temurin-21 working_directory: ~/repo diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..1a6afc6 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,35 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven + +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: Java CI with Maven + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn -B package --file pom.xml + + # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive + - name: Update dependency graph + uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6 diff --git a/README.md b/README.md index ad56116..1602873 100644 --- a/README.md +++ b/README.md @@ -10,16 +10,19 @@ This library provides the ability to register Jersey resources to the admin port Supported versions: -| Dropwizard | Admin resource | -|---|---| -| 1.1.0 | 1.1.0 | -| 1.1.4 | 1.1.4 | -| 1.2.2 | 1.2.2 | -| 1.3.8 | 1.3.8 | -| 2.0.0 | 2.0.0 | -| 2.0.9 | 2.0.9 | -| 4.0.1 | 4.0.1 | -| 4.0.5 | 4.0.5 | +| Dropwizard | Admin resource | Java version | +|---|---| --- | +| 1.1.0 | 1.1.0 | | +| 1.1.4 | 1.1.4 | | +| 1.2.2 | 1.2.2 | | +| 1.3.8 | 1.3.8 | | +| 2.0.0 | 2.0.0 | | +| 2.0.9 | 2.0.9 | | +| 4.0.1 | 4.0.1 | 11 | +| 4.0.5 | 4.0.5 | 11 | +| 4.0.11 | 4.0.11 | 21 | + +* Starting from version 4.0.11 this library is compiled with java 21. ## Maven @@ -30,7 +33,7 @@ The library is available at the maven central, so just add dependency to `pom.xm com.github.mtakaki dropwizard-admin-resource - 4.0.5 + 4.0.11 ``` diff --git a/pom.xml b/pom.xml index f717f7d..1a4cdc3 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ com.github.mtakaki dropwizard-admin-resource - 4.0.6-SNAPSHOT + 4.0.11-SNAPSHOT jar Dropwizard Admin Resource @@ -21,7 +21,7 @@ Mitsuo Takaki - mitsuotakaki@gmail.com + g6rtfcy9i@mozmail.com mtakaki https://github.com/mtakaki/ @@ -29,9 +29,8 @@ UTF-8 - 11 - 11 - 4.0.5 + 21 + 4.0.11 2