diff --git a/kubernetes-model-generator/kubernetes-model-core/pom.xml b/kubernetes-model-generator/kubernetes-model-core/pom.xml
index 6fec448e75a..cb115e19e8d 100644
--- a/kubernetes-model-generator/kubernetes-model-core/pom.xml
+++ b/kubernetes-model-generator/kubernetes-model-core/pom.xml
@@ -109,6 +109,13 @@
io.fabric8.kubernetes.internal
+
+ osgi.extender;
+ filter:="(osgi.extender=osgi.serviceloader.processor)",
+ osgi.serviceloader;
+ filter:="(osgi.serviceloader=io.fabric8.kubernetes.api.model.KubernetesResource)";
+ cardinality:=multiple
+
@@ -116,10 +123,6 @@
io.fabric8
kubernetes-model-common
-
- org.jboss
- jandex
-
org.mockito
mockito-core
diff --git a/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/KubernetesList.java b/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/KubernetesList.java
index f30473f44e4..fa003b8a928 100644
--- a/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/KubernetesList.java
+++ b/kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/KubernetesList.java
@@ -48,7 +48,7 @@
"items",
})
@TemplateTransformations({
- @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true),
+ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true),
})
@Version("v1")
@Group("")
diff --git a/kubernetes-model-generator/pom.xml b/kubernetes-model-generator/pom.xml
index 48071013d78..bb3548d4fbf 100644
--- a/kubernetes-model-generator/pom.xml
+++ b/kubernetes-model-generator/pom.xml
@@ -77,6 +77,14 @@
false
**/*KubernetesTest.java
+
+ osgi.extender;
+ filter:="(osgi.extender=osgi.serviceloader.registrar)"
+
+
+ osgi.serviceloader;
+ osgi.serviceloader=io.fabric8.kubernetes.api.model.KubernetesResource
+
diff --git a/platforms/karaf/features/src/main/resources/feature.xml b/platforms/karaf/features/src/main/resources/feature.xml
index 65289e7a4b8..269fc5fd255 100644
--- a/platforms/karaf/features/src/main/resources/feature.xml
+++ b/platforms/karaf/features/src/main/resources/feature.xml
@@ -36,7 +36,6 @@
mvn:org.ow2.asm/asm-commons/${asm.bundle.version}
mvn:org.ow2.asm/asm-tree/${asm.bundle.version}
mvn:org.ow2.asm/asm-util/${asm.bundle.version}
- mvn:org.jboss/jandex/${jandex.version}
mvn:io.fabric8/kubernetes-model-common/${project.version}
mvn:io.fabric8/zjsonpatch/${zjsonpatch.version}
diff --git a/pom.xml b/pom.xml
index a3008ffb20e..e8d041ec90a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -677,11 +677,6 @@
-
- org.jboss
- jandex
- ${jandex.version}
-
io.sundr
builder-annotations