This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/karaf.git
The following commit(s) were added to refs/heads/main by this push:
new 2b3dc83210 Define the required java version range in karaf maven
plugins (#2219)
2b3dc83210 is described below
commit 2b3dc832107d64533e22016632ef0109a26212a0
Author: JB Onofré <[email protected]>
AuthorDate: Sat Jan 10 11:54:01 2026 +0100
Define the required java version range in karaf maven plugins (#2219)
---
tooling/karaf-maven-plugin/pom.xml | 4 ++++
tooling/karaf-services-maven-plugin/pom.xml | 5 +++++
2 files changed, 9 insertions(+)
diff --git a/tooling/karaf-maven-plugin/pom.xml
b/tooling/karaf-maven-plugin/pom.xml
index 77e9bf8470..4ae27ded55 100644
--- a/tooling/karaf-maven-plugin/pom.xml
+++ b/tooling/karaf-maven-plugin/pom.xml
@@ -356,8 +356,12 @@
</dependencies>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.15.2</version>
+ <configuration>
+ <requiredJavaVersion>[17,)</requiredJavaVersion>
+ </configuration>
<executions>
<execution>
<id>default-descriptor</id>
diff --git a/tooling/karaf-services-maven-plugin/pom.xml
b/tooling/karaf-services-maven-plugin/pom.xml
index 231baf314b..784a9c68a9 100644
--- a/tooling/karaf-services-maven-plugin/pom.xml
+++ b/tooling/karaf-services-maven-plugin/pom.xml
@@ -144,7 +144,12 @@
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
+ <version>3.15.2</version>
+ <configuration>
+ <requiredJavaVersion>[17,)</requiredJavaVersion>
+ </configuration>
<executions>
<execution>
<id>default-descriptor</id>