-
Notifications
You must be signed in to change notification settings - Fork 29
Kubernetes membership scheme bundle is not compatible with Java 8 runtimes #25
Description
Description:
The Kubernetes membership scheme bundle is compatible for Java 9 or higher runtimes. The maven bundle plugin has generated that configuration and has to change it to make compatible for Java 8 or higher runtimes.
Steps to reproduce:
1 - Install Java 8 and select any carbon product (WSO2-IS)
2 - Download kubernetes-membership-scheme-1.0.8.jar and dnsjava-2.1.8.jar
https://repo1.maven.org/maven2/dnsjava/dnsjava/2.1.8/dnsjava-2.1.8.jar
3 - Put the kubernetes-membership-scheme-1.0.8.jar inside ./repository/components/dropins. Put the dnsjava-2.1.8.jar inside the ./repository/components/lib folder.
4 - Start the carbon product with OSGI console enabled. Check the status of kubernetes-membership-scheme bundle.
The kubernetes-membership-scheme-1.0.8 bundle would not be resolved and show the following error.
The reasoning for the issue is the maven bundle plugin impose restriction to allow Java 9 or more runtimes as shown below as per the MANIFEST.MF of that bundle.

