Skip to content

Commit

Permalink
Avoid annotation processor warning (#673)
Browse files Browse the repository at this point in the history
* Avoid annotation processor warning

Java 21+ warns about active annotation processors, unless the compiler
has been explicitly configured to accept them.

See https://bugs.openjdk.org/browse/JDK-8310061

* Update ci.yml

---------

Co-authored-by: Tim te Beek <[email protected]>
  • Loading branch information
Bananeweizen and timtebeek authored Dec 4, 2023
1 parent 68ad10e commit fc6829b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
java-version: 21
cache: maven
server-id: ossrh
settings-path: ${{ github.workspace }}
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@
<compilerArgs>
<arg>-Xlint:deprecation</arg>
<arg>-Xlint:unchecked</arg>
<arg>-proc:full</arg>
</compilerArgs>
<source>${java.version}</source>
<target>${java.version}</target>
Expand Down

0 comments on commit fc6829b

Please sign in to comment.