This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch jbk in repository https://gitbox.apache.org/repos/asf/camel.git
commit 4db2e57bc43fd6259c34167911ac344439c88efd Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Wed May 28 15:45:41 2025 +0200 CAMEL-22115: camel-jbang: Exclude JARs not in use --- .../camel-jbang-plugin-kubernetes/pom.xml | 158 +++++++++++++++++++++ 1 file changed, 158 insertions(+) diff --git a/dsl/camel-jbang/camel-jbang-plugin-kubernetes/pom.xml b/dsl/camel-jbang/camel-jbang-plugin-kubernetes/pom.xml index 58e67755f5a..c0ac962c3b2 100644 --- a/dsl/camel-jbang/camel-jbang-plugin-kubernetes/pom.xml +++ b/dsl/camel-jbang/camel-jbang-plugin-kubernetes/pom.xml @@ -52,6 +52,56 @@ <groupId>io.fabric8</groupId> <artifactId>kubernetes-client</artifactId> <version>${kubernetes-client-version}</version> + <exclusions> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>kubernetes-model-apiextensions</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>kubernetes-model-coordination</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>kubernetes-model-discovery</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>kubernetes-model-events</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>kubernetes-model-flowcontrol</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>kubernetes-model-metrics</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>kubernetes-model-policy</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>kubernetes-model-scheduling</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>kubernetes-model-storageclass</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>kubernetes-model-node</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>kubernetes-model-gatewayapi</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>kubernetes-model-resource</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>io.fabric8</groupId> @@ -64,11 +114,119 @@ <groupId>io.fabric8</groupId> <artifactId>openshift-model</artifactId> <version>${kubernetes-client-version}</version> + <exclusions> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-autoscaling</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-operator</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-operatorhub</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-machine</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-whereabouts</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-monitoring</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-openshift-model-storageversionmigrator</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-tuned</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-console</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-machineconfiguration</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-miscellaneous</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-hive</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-installer</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>io.fabric8</groupId> <artifactId>openshift-client</artifactId> <version>${kubernetes-client-version}</version> + <exclusions> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-autoscaling</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-operator</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-operatorhub</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-machine</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-whereabouts</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-monitoring</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-openshift-model-storageversionmigrator</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-tuned</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-console</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-machineconfiguration</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-miscellaneous</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-hive</artifactId> + </exclusion> + <exclusion> + <groupId>io.fabric8</groupId> + <artifactId>openshift-model-installer</artifactId> + </exclusion> + </exclusions> </dependency> <!-- Knative model -->