You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/11/28 08:54:54 UTC

(camel-k) 01/02: Add Builders with sundrio

This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 31c61f91bd4f6263b4c84a02129d57bd9c9dbd61
Author: Andrea Peruffo <an...@gmail.com>
AuthorDate: Fri Oct 20 14:51:52 2023 +0100

    Add Builders with sundrio
---
 java/crds/pom.xml | 29 +++++++++++++++++++++++++++--
 1 file changed, 27 insertions(+), 2 deletions(-)

diff --git a/java/crds/pom.xml b/java/crds/pom.xml
index d573c740a..95569623c 100644
--- a/java/crds/pom.xml
+++ b/java/crds/pom.xml
@@ -37,6 +37,8 @@
     <maven.compiler.target>11</maven.compiler.target>
 
     <fabric8-version>6.9.0</fabric8-version>
+    <lombok-version>1.18.30</lombok-version>
+    <sundrio-version>0.101.0</sundrio-version>
     <maven-surefire-plugin-version>3.0.0-M8</maven-surefire-plugin-version>
   </properties>
 
@@ -65,16 +67,38 @@
     <tag>camel-k-project-1.10.0</tag>
   </scm>
 
+  <dependencyManagement>
+    <dependencies>
+          <dependency>
+              <groupId>io.fabric8</groupId>
+              <artifactId>kubernetes-client-bom</artifactId>
+              <version>${fabric8-version}</version>
+              <type>pom</type>
+              <scope>import</scope>
+          </dependency>
+      </dependencies>
+  </dependencyManagement>
+
   <dependencies>
     <dependency>
       <groupId>io.fabric8</groupId>
       <artifactId>kubernetes-client</artifactId>
-      <version>${fabric8-version}</version>
     </dependency>
     <dependency>
       <groupId>io.fabric8</groupId>
       <artifactId>generator-annotations</artifactId>
-      <version>${fabric8-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>io.sundr</groupId>
+      <artifactId>builder-annotations</artifactId>
+      <version>${sundrio-version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.projectlombok</groupId>
+      <artifactId>lombok</artifactId>
+      <version>${lombok-version}</version>
+      <scope>provided</scope>
     </dependency>
   </dependencies>
 
@@ -93,6 +117,7 @@
         </executions>
         <configuration>
           <source>../../config/crd/bases</source>
+          <extraAnnotations>true</extraAnnotations>
         </configuration>
       </plugin>
     </plugins>