This is an automated email from the ASF dual-hosted git repository.
chrisdutz pushed a commit to branch releases/code-generation/1.9
in repository https://gitbox.apache.org/repos/asf/plc4x-build-tools.git
The following commit(s) were added to refs/heads/releases/code-generation/1.9
by this push:
new d4b4d31 chore: Updated the config of the javadoc plugin to not force
java 8
d4b4d31 is described below
commit d4b4d317cb4c8c5abfc739784f3e9e962d29c04e
Author: Christofer Dutz <[email protected]>
AuthorDate: Mon Jul 27 14:56:27 2026 +0200
chore: Updated the config of the javadoc plugin to not force java 8
---
code-generation/pom.xml | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/code-generation/pom.xml b/code-generation/pom.xml
index 0e06af0..439ae2b 100644
--- a/code-generation/pom.xml
+++ b/code-generation/pom.xml
@@ -42,6 +42,13 @@
<!-- Timestamp for the reproducible builds -->
<project.build.outputTimestamp>1785155786</project.build.outputTimestamp>
<java.version>21</java.version>
+ <!--
+ The apache parent pom uses this property to drive
maven.compiler.source/target/release
+ (for both the compiler and javadoc plugins) as well as the enforcer's
minimal Java version.
+ It defaults to 8, so it must be aligned with java.version, otherwise
javadoc is invoked
+ with a release level of 8 and fails on the Java 21 syntax used in this
module.
+ -->
+ <javaVersion>${java.version}</javaVersion>
<!--
Maven version the plc4x-maven-plugin is built against.
Pinned explicitly as otherwise Maven's built-in ${maven.version} property
@@ -171,9 +178,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.12.0</version>
- <configuration>
- <source>${java.version}</source>
- </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>