Files
graylog2-server/data-node
Bernd Ahlers 5dc5cc8740 Update to Java 21 (#22908)
* Remove maven.compiler.* properties from plugin archetype

They are already defined in org.graylog:graylog-parent

* Maven: update java compiler version from 17 to 21

* Update java in Github workflows

* Fix deprecated usage of URL constructor

* Fix deprecated usage of Thread#id

* Catch IllegalArgumentException when URLs are not absolute

* Remove PMD plugin for lack of java 21 support

* Update to Java 21

* Inherig compiler source/target settings from parent

* Use Java 21 in test containers

* Fix URL deprecation error for Java 21

* Setup Mockito Java Agent for surefire

See "Explicitly setting up instrumentation for inline mocking (Java 21+)"
at https://javadoc.io/doc/org.mockito/mockito-core/latest/org.mockito/org/mockito/Mockito.html#0.3

* Switch dependency plugin to test phase and fix argLine

* Get dependency properties in test-compile phase

* Add changelog entry and adjust UPGRADING.md

---------

Co-authored-by: Othello Maurer <othello@graylog.com>
2025-08-18 12:42:27 +02:00
..
2025-08-18 12:42:27 +02:00
2023-02-27 13:11:24 +01:00
2025-08-18 12:42:27 +02:00

First version, additional info to follow.