This is an automated email from the ASF dual-hosted git repository.
sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x-extras.git
The following commit(s) were added to refs/heads/develop by this push:
new 6808c27 feat: update to java 21
6808c27 is described below
commit 6808c2791d3e3ca57620b8b6d6259c315cd1567f
Author: Sebastian Rühl <[email protected]>
AuthorDate: Mon Sep 1 10:04:08 2025 +0200
feat: update to java 21
---
plc4j/pom.xml | 6 +++---
pom.xml | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/plc4j/pom.xml b/plc4j/pom.xml
index 8d2f5b1..9a0b6c5 100644
--- a/plc4j/pom.xml
+++ b/plc4j/pom.xml
@@ -135,7 +135,7 @@
</plugin>
<!--
- As our libraries should be consumable on Java 11, downgrade the
compiler settings.
+ As our libraries should be consumable on Java 21, downgrade the
compiler settings.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -150,7 +150,7 @@
<configuration>
<!-- Would have loved to suppress the warnings of generated code
only -->
<showWarnings>false</showWarnings>
- <release>11</release>
+ <release>21</release>
</configuration>
</execution>
<execution>
@@ -162,7 +162,7 @@
<configuration>
<!-- Would have loved to suppress the warnings of generated code
only -->
<showWarnings>false</showWarnings>
- <release>11</release>
+ <release>21</release>
</configuration>
</execution>
</executions>
diff --git a/pom.xml b/pom.xml
index f133fa5..bdfcf7c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -80,7 +80,7 @@
</mailingLists>
<properties>
- <java.version>11</java.version>
+ <java.version>21</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputencoding>UTF-8</project.reporting.outputencoding>