From f6d7f9e2e992e8130530bdf86d0b3e20771b6616 Mon Sep 17 00:00:00 2001
From: Steve Hawkins <shawkins@redhat.com>
Date: Wed, 2 Oct 2024 14:27:26 -0400
Subject: [PATCH] fix: removing provided scope from the managed
 builder-annotations

closes: #6407

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
---
 extensions/certmanager/client/pom.xml                            | 1 +
 extensions/certmanager/model-v1/pom.xml                          | 1 +
 extensions/certmanager/model-v1alpha2/pom.xml                    | 1 +
 extensions/certmanager/model-v1alpha3/pom.xml                    | 1 +
 extensions/certmanager/model-v1beta1/pom.xml                     | 1 +
 extensions/chaosmesh/client/pom.xml                              | 1 +
 extensions/chaosmesh/model/pom.xml                               | 1 +
 extensions/istio/client/pom.xml                                  | 1 +
 extensions/istio/model-v1alpha3/pom.xml                          | 1 +
 extensions/istio/model-v1beta1/pom.xml                           | 1 +
 extensions/knative/client/pom.xml                                | 1 +
 extensions/knative/model/pom.xml                                 | 1 +
 extensions/open-cluster-management/client/pom.xml                | 1 +
 extensions/open-cluster-management/model-agent/pom.xml           | 1 +
 extensions/open-cluster-management/model-apps/pom.xml            | 1 +
 extensions/open-cluster-management/model-cluster/pom.xml         | 1 +
 extensions/open-cluster-management/model-discovery/pom.xml       | 1 +
 extensions/open-cluster-management/model-observability/pom.xml   | 1 +
 extensions/open-cluster-management/model-operator/pom.xml        | 1 +
 .../open-cluster-management/model-placementruleapps/pom.xml      | 1 +
 extensions/open-cluster-management/model-policy/pom.xml          | 1 +
 extensions/open-cluster-management/model-search/pom.xml          | 1 +
 extensions/open-virtual-networking/client/pom.xml                | 1 +
 extensions/open-virtual-networking/model-v1/pom.xml              | 1 +
 extensions/tekton/client/pom.xml                                 | 1 +
 extensions/tekton/model-triggers-v1alpha1/pom.xml                | 1 +
 extensions/tekton/model-triggers-v1beta1/pom.xml                 | 1 +
 extensions/tekton/model-v1/pom.xml                               | 1 +
 extensions/tekton/model-v1alpha1/pom.xml                         | 1 +
 extensions/tekton/model-v1beta1/pom.xml                          | 1 +
 extensions/verticalpodautoscaler/client/pom.xml                  | 1 +
 extensions/verticalpodautoscaler/model-v1/pom.xml                | 1 +
 extensions/volcano/client/pom.xml                                | 1 +
 extensions/volcano/model-v1beta1/pom.xml                         | 1 +
 extensions/volumesnapshot/client/pom.xml                         | 1 +
 extensions/volumesnapshot/model/pom.xml                          | 1 +
 java-generator/core/pom.xml                                      | 1 -
 kubernetes-client-api/pom.xml                                    | 1 +
 kubernetes-client/pom.xml                                        | 1 +
 kubernetes-model-generator/pom.xml                               | 1 +
 openshift-client-api/pom.xml                                     | 1 +
 openshift-client/pom.xml                                         | 1 +
 pom.xml                                                          | 1 -
 43 files changed, 41 insertions(+), 2 deletions(-)

diff --git a/extensions/certmanager/client/pom.xml b/extensions/certmanager/client/pom.xml
index e426dea9c47..587e8ec1bdc 100644
--- a/extensions/certmanager/client/pom.xml
+++ b/extensions/certmanager/client/pom.xml
@@ -56,6 +56,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/certmanager/model-v1/pom.xml b/extensions/certmanager/model-v1/pom.xml
index 4e0d4378e6b..f3af840bd14 100755
--- a/extensions/certmanager/model-v1/pom.xml
+++ b/extensions/certmanager/model-v1/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/certmanager/model-v1alpha2/pom.xml b/extensions/certmanager/model-v1alpha2/pom.xml
index 72e68afb0f9..dfd832ab116 100755
--- a/extensions/certmanager/model-v1alpha2/pom.xml
+++ b/extensions/certmanager/model-v1alpha2/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/certmanager/model-v1alpha3/pom.xml b/extensions/certmanager/model-v1alpha3/pom.xml
index 3985461e3b1..bc611dd6ad8 100755
--- a/extensions/certmanager/model-v1alpha3/pom.xml
+++ b/extensions/certmanager/model-v1alpha3/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/certmanager/model-v1beta1/pom.xml b/extensions/certmanager/model-v1beta1/pom.xml
index 85453045f41..16c0dfecd0e 100755
--- a/extensions/certmanager/model-v1beta1/pom.xml
+++ b/extensions/certmanager/model-v1beta1/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/chaosmesh/client/pom.xml b/extensions/chaosmesh/client/pom.xml
index 72362186471..93702561b99 100644
--- a/extensions/chaosmesh/client/pom.xml
+++ b/extensions/chaosmesh/client/pom.xml
@@ -79,6 +79,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/chaosmesh/model/pom.xml b/extensions/chaosmesh/model/pom.xml
index d9cabb41cb0..d614090ab70 100755
--- a/extensions/chaosmesh/model/pom.xml
+++ b/extensions/chaosmesh/model/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/istio/client/pom.xml b/extensions/istio/client/pom.xml
index b9fc752f6f2..69943d5c53a 100755
--- a/extensions/istio/client/pom.xml
+++ b/extensions/istio/client/pom.xml
@@ -55,6 +55,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/istio/model-v1alpha3/pom.xml b/extensions/istio/model-v1alpha3/pom.xml
index d26a330d802..60a018a13ec 100644
--- a/extensions/istio/model-v1alpha3/pom.xml
+++ b/extensions/istio/model-v1alpha3/pom.xml
@@ -53,6 +53,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/istio/model-v1beta1/pom.xml b/extensions/istio/model-v1beta1/pom.xml
index a45876fde70..8ea5ed9cbc9 100644
--- a/extensions/istio/model-v1beta1/pom.xml
+++ b/extensions/istio/model-v1beta1/pom.xml
@@ -50,6 +50,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/knative/client/pom.xml b/extensions/knative/client/pom.xml
index 87c64886fda..c25739ab226 100755
--- a/extensions/knative/client/pom.xml
+++ b/extensions/knative/client/pom.xml
@@ -55,6 +55,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/knative/model/pom.xml b/extensions/knative/model/pom.xml
index 0a933dbe289..e99dc9ac259 100644
--- a/extensions/knative/model/pom.xml
+++ b/extensions/knative/model/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/open-cluster-management/client/pom.xml b/extensions/open-cluster-management/client/pom.xml
index aea53d3e4be..df6928e36ae 100644
--- a/extensions/open-cluster-management/client/pom.xml
+++ b/extensions/open-cluster-management/client/pom.xml
@@ -111,6 +111,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/open-cluster-management/model-agent/pom.xml b/extensions/open-cluster-management/model-agent/pom.xml
index e4b12c00876..a023a9bcf9c 100755
--- a/extensions/open-cluster-management/model-agent/pom.xml
+++ b/extensions/open-cluster-management/model-agent/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/open-cluster-management/model-apps/pom.xml b/extensions/open-cluster-management/model-apps/pom.xml
index e67eb680c0a..797389c655b 100755
--- a/extensions/open-cluster-management/model-apps/pom.xml
+++ b/extensions/open-cluster-management/model-apps/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/open-cluster-management/model-cluster/pom.xml b/extensions/open-cluster-management/model-cluster/pom.xml
index 4a63887c58c..fd4e9d8af59 100755
--- a/extensions/open-cluster-management/model-cluster/pom.xml
+++ b/extensions/open-cluster-management/model-cluster/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/open-cluster-management/model-discovery/pom.xml b/extensions/open-cluster-management/model-discovery/pom.xml
index b0cf8cff171..3be05223a1c 100755
--- a/extensions/open-cluster-management/model-discovery/pom.xml
+++ b/extensions/open-cluster-management/model-discovery/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/open-cluster-management/model-observability/pom.xml b/extensions/open-cluster-management/model-observability/pom.xml
index fb1f3088ea5..8d56a9246f3 100755
--- a/extensions/open-cluster-management/model-observability/pom.xml
+++ b/extensions/open-cluster-management/model-observability/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/open-cluster-management/model-operator/pom.xml b/extensions/open-cluster-management/model-operator/pom.xml
index e0727812b13..6f01a873177 100755
--- a/extensions/open-cluster-management/model-operator/pom.xml
+++ b/extensions/open-cluster-management/model-operator/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/open-cluster-management/model-placementruleapps/pom.xml b/extensions/open-cluster-management/model-placementruleapps/pom.xml
index 64df740a4d3..a83bcfcfcf4 100755
--- a/extensions/open-cluster-management/model-placementruleapps/pom.xml
+++ b/extensions/open-cluster-management/model-placementruleapps/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/open-cluster-management/model-policy/pom.xml b/extensions/open-cluster-management/model-policy/pom.xml
index d584eb285cb..0fa57b66348 100755
--- a/extensions/open-cluster-management/model-policy/pom.xml
+++ b/extensions/open-cluster-management/model-policy/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/open-cluster-management/model-search/pom.xml b/extensions/open-cluster-management/model-search/pom.xml
index 7b70bbd8e79..8f6dfc9df9d 100755
--- a/extensions/open-cluster-management/model-search/pom.xml
+++ b/extensions/open-cluster-management/model-search/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/open-virtual-networking/client/pom.xml b/extensions/open-virtual-networking/client/pom.xml
index e0b6c1c3774..a4587cb92dd 100644
--- a/extensions/open-virtual-networking/client/pom.xml
+++ b/extensions/open-virtual-networking/client/pom.xml
@@ -79,6 +79,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/open-virtual-networking/model-v1/pom.xml b/extensions/open-virtual-networking/model-v1/pom.xml
index 762816edb60..4d80fd7a1bb 100755
--- a/extensions/open-virtual-networking/model-v1/pom.xml
+++ b/extensions/open-virtual-networking/model-v1/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/tekton/client/pom.xml b/extensions/tekton/client/pom.xml
index e26fa90d326..3119a4b349d 100644
--- a/extensions/tekton/client/pom.xml
+++ b/extensions/tekton/client/pom.xml
@@ -55,6 +55,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/tekton/model-triggers-v1alpha1/pom.xml b/extensions/tekton/model-triggers-v1alpha1/pom.xml
index 3e075bfeaa4..b26ce530b6d 100644
--- a/extensions/tekton/model-triggers-v1alpha1/pom.xml
+++ b/extensions/tekton/model-triggers-v1alpha1/pom.xml
@@ -46,6 +46,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/tekton/model-triggers-v1beta1/pom.xml b/extensions/tekton/model-triggers-v1beta1/pom.xml
index 203cfe22ccf..2700753d35f 100644
--- a/extensions/tekton/model-triggers-v1beta1/pom.xml
+++ b/extensions/tekton/model-triggers-v1beta1/pom.xml
@@ -46,6 +46,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/tekton/model-v1/pom.xml b/extensions/tekton/model-v1/pom.xml
index 8bd2e2e2c32..84440474f8c 100644
--- a/extensions/tekton/model-v1/pom.xml
+++ b/extensions/tekton/model-v1/pom.xml
@@ -43,6 +43,7 @@
       <dependency>
         <groupId>io.sundr</groupId>
         <artifactId>builder-annotations</artifactId>
+        <scope>provided</scope>
       </dependency>
       <dependency>
         <groupId>io.sundr</groupId>
diff --git a/extensions/tekton/model-v1alpha1/pom.xml b/extensions/tekton/model-v1alpha1/pom.xml
index 8c630602ce8..1529cb867cc 100644
--- a/extensions/tekton/model-v1alpha1/pom.xml
+++ b/extensions/tekton/model-v1alpha1/pom.xml
@@ -43,6 +43,7 @@
       <dependency>
         <groupId>io.sundr</groupId>
         <artifactId>builder-annotations</artifactId>
+        <scope>provided</scope>
       </dependency>
       <dependency>
         <groupId>io.sundr</groupId>
diff --git a/extensions/tekton/model-v1beta1/pom.xml b/extensions/tekton/model-v1beta1/pom.xml
index d0ebade93fa..222a73db160 100644
--- a/extensions/tekton/model-v1beta1/pom.xml
+++ b/extensions/tekton/model-v1beta1/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/verticalpodautoscaler/client/pom.xml b/extensions/verticalpodautoscaler/client/pom.xml
index e3f4d5dcd70..ba0fbc44a86 100644
--- a/extensions/verticalpodautoscaler/client/pom.xml
+++ b/extensions/verticalpodautoscaler/client/pom.xml
@@ -56,6 +56,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/verticalpodautoscaler/model-v1/pom.xml b/extensions/verticalpodautoscaler/model-v1/pom.xml
index a19b0340b21..5075889b425 100755
--- a/extensions/verticalpodautoscaler/model-v1/pom.xml
+++ b/extensions/verticalpodautoscaler/model-v1/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/volcano/client/pom.xml b/extensions/volcano/client/pom.xml
index 529fdfe5dd6..b34fa7fdae3 100644
--- a/extensions/volcano/client/pom.xml
+++ b/extensions/volcano/client/pom.xml
@@ -56,6 +56,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/volcano/model-v1beta1/pom.xml b/extensions/volcano/model-v1beta1/pom.xml
index 301a129f12a..e2cd1d5cb1c 100644
--- a/extensions/volcano/model-v1beta1/pom.xml
+++ b/extensions/volcano/model-v1beta1/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/volumesnapshot/client/pom.xml b/extensions/volumesnapshot/client/pom.xml
index 6c94c136d8d..5530b5adc6a 100644
--- a/extensions/volumesnapshot/client/pom.xml
+++ b/extensions/volumesnapshot/client/pom.xml
@@ -78,6 +78,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/extensions/volumesnapshot/model/pom.xml b/extensions/volumesnapshot/model/pom.xml
index 39aa2bb8056..a1896c10793 100755
--- a/extensions/volumesnapshot/model/pom.xml
+++ b/extensions/volumesnapshot/model/pom.xml
@@ -45,6 +45,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/java-generator/core/pom.xml b/java-generator/core/pom.xml
index 321e70dcb4f..d6733effe3e 100644
--- a/java-generator/core/pom.xml
+++ b/java-generator/core/pom.xml
@@ -50,7 +50,6 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
-      <version>${sundrio.version}</version>
       <scope>compile</scope>
     </dependency>
 
diff --git a/kubernetes-client-api/pom.xml b/kubernetes-client-api/pom.xml
index 56fbf44db8a..92c497d4b79 100644
--- a/kubernetes-client-api/pom.xml
+++ b/kubernetes-client-api/pom.xml
@@ -170,6 +170,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/kubernetes-client/pom.xml b/kubernetes-client/pom.xml
index e0ac053b0ee..1873030749c 100644
--- a/kubernetes-client/pom.xml
+++ b/kubernetes-client/pom.xml
@@ -86,6 +86,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/kubernetes-model-generator/pom.xml b/kubernetes-model-generator/pom.xml
index 738fa435957..f1af185777a 100644
--- a/kubernetes-model-generator/pom.xml
+++ b/kubernetes-model-generator/pom.xml
@@ -106,6 +106,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>io.sundr</groupId>
diff --git a/openshift-client-api/pom.xml b/openshift-client-api/pom.xml
index 22f384e111e..bf9fb6e9c26 100644
--- a/openshift-client-api/pom.xml
+++ b/openshift-client-api/pom.xml
@@ -116,6 +116,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
 
     <dependency>
diff --git a/openshift-client/pom.xml b/openshift-client/pom.xml
index 5bb6d8433c3..c8002bf4be3 100644
--- a/openshift-client/pom.xml
+++ b/openshift-client/pom.xml
@@ -66,6 +66,7 @@
     <dependency>
       <groupId>io.sundr</groupId>
       <artifactId>builder-annotations</artifactId>
+      <scope>provided</scope>
     </dependency>
 
     <dependency>
diff --git a/pom.xml b/pom.xml
index c26e0b6a8b7..68802664161 100644
--- a/pom.xml
+++ b/pom.xml
@@ -746,7 +746,6 @@
         <groupId>io.sundr</groupId>
         <artifactId>builder-annotations</artifactId>
         <version>${sundrio.version}</version>
-        <scope>provided</scope>
         <exclusions>
           <exclusion>
             <groupId>com.sun</groupId>