This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new fcfc664f11 fix: Made the api module actually build for java 17.
fcfc664f11 is described below

commit fcfc664f116d9966a09e3cc524688ec69e812d28
Author: Christofer Dutz <[email protected]>
AuthorDate: Tue Nov 4 23:13:02 2025 +0100

    fix: Made the api module actually build for java 17.
---
 plc4j/api/pom.xml | 26 +++++++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)

diff --git a/plc4j/api/pom.xml b/plc4j/api/pom.xml
index 17dcbfcb59..9ea764a94f 100644
--- a/plc4j/api/pom.xml
+++ b/plc4j/api/pom.xml
@@ -33,6 +33,7 @@
 
   <properties>
     
<project.build.outputTimestamp>2025-08-02T13:55:11Z</project.build.outputTimestamp>
+    <java.version>17</java.version>
   </properties>
 
   <build>
@@ -40,9 +41,28 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <release>17</release>
-        </configuration>
+        <executions>
+          <execution>
+            <id>default-compile</id>
+            <phase>compile</phase>
+            <goals>
+              <goal>compile</goal>
+            </goals>
+            <configuration>
+              <release>17</release>
+            </configuration>
+          </execution>
+          <execution>
+            <id>default-testCompile</id>
+            <phase>test-compile</phase>
+            <goals>
+              <goal>testCompile</goal>
+            </goals>
+            <configuration>
+              <release>17</release>
+            </configuration>
+          </execution>
+        </executions>
       </plugin>
     </plugins>
   </build>

Reply via email to