-
-
Notifications
You must be signed in to change notification settings - Fork 459
Open
Labels
bugAn unexpected problem or unintended behavior of the CoreAn unexpected problem or unintended behavior of the Core
Description
Build fails:
Error: Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.4.9:features-generate-descriptor (compile) on project org.openhab.core.features.karaf.openhab-core:
Error: The plugin org.apache.karaf.tooling:karaf-maven-plugin:4.4.9 has unmet prerequisites:
Error: Required Java version 22 is not met by current version: 21.0.9
Error: -> [Help 1]
Error: Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.4.9:features-generate-descriptor (compile) on project org.openhab.core.features.karaf.openhab-tp:
Error: The plugin org.apache.karaf.tooling:karaf-maven-plugin:4.4.9 has unmet prerequisites:
Error: Required Java version 22 is not met by current version: 21.0.9
Error: -> [Help 1]
I have this issue with locally installed Maven 3.9.12 as well as with mvnw (if I change the properties file to 3.9.12).
Later versions seem to be affected as well, I tried 4.0.0-rc3 and rc5.
This is likely not a bug to be solved in OH, just wanted to mention that the issue is there.
Expected Behavior
build completes
Current Behavior
see above
Possible Solution
use Maven 3.9.11 (or mvnw with current configuration)
Steps to Reproduce (for Bugs)
build with newer Maven versions
Context
Your Environment
independent from OS, both happens in Win11 and on GH CI infrastructure
kpanchen
Metadata
Metadata
Assignees
Labels
bugAn unexpected problem or unintended behavior of the CoreAn unexpected problem or unintended behavior of the Core