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

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new d2b31a6  CAMEL-18564: Use Jkube kubernetes-maven-plugin instead of 
deprecated fabric8-maven-plugin in camel-spring-boot-example (#92)
d2b31a6 is described below

commit d2b31a64fd1b4c0588770e3889f2b11642eb5b66
Author: Luigi De Masi <[email protected]>
AuthorDate: Wed Sep 28 10:39:14 2022 +0200

    CAMEL-18564: Use Jkube kubernetes-maven-plugin instead of deprecated 
fabric8-maven-plugin in camel-spring-boot-example (#92)
---
 README.adoc                                                | 10 ++++++++--
 grpc-kubernetes/README.adoc                                |  8 ++++----
 grpc-kubernetes/hello-camel-grpc-client-kubernetes/pom.xml |  8 ++++----
 grpc-kubernetes/hello-camel-grpc-server-kubernetes/pom.xml |  6 +++---
 pom.xml                                                    |  2 +-
 strimzi/README.adoc                                        |  4 ++--
 strimzi/pom.xml                                            |  6 +++---
 7 files changed, 25 insertions(+), 19 deletions(-)

diff --git a/README.adoc b/README.adoc
index 21ff7be..74ce2f9 100644
--- a/README.adoc
+++ b/README.adoc
@@ -27,13 +27,19 @@ readme's instructions.
 === Examples
 
 // examples: START
-Number of Examples: 58 (0 deprecated)
+Number of Examples: 61 (0 deprecated)
 
 [width="100%",cols="4,2,4",options="header"]
 |===
 | Example | Category | Description
 
-| link:debezium-postgresql/readme.adoc[Debezium Postgresql] 
(debezium-postgresql) | Beginner | An example showing how to work with Camel 
and Spring Boot
+| link:camel-example-spring-boot-azure-eventhubs/README.adoc[Spring Boot Azure 
Eventhubs] (camel-example-spring-boot-azure-eventhubs) |  | An example showing 
how to work with Camel, Azure Event Hubs and Spring Boot
+
+| link:camel-example-spring-boot-azure-servicebus/README.adoc[Spring Boot 
Azure Servicebus] (camel-example-spring-boot-azure-servicebus) |  | An example 
showing how to work with Camel, Azure Service Bus and Spring Boot
+
+| link:camel-example-spring-boot-azure-servicebus-jms/README.adoc[Spring Boot 
Azure Servicebus Jms] (camel-example-spring-boot-azure-servicebus-jms) |  | An 
example showing how to work with Camel, Azure Service Bus JMS and Spring Boot
+
+| link:mail-oauth2/readme.md[Mail Oauth2] (mail-oauth2) |  | 
 
 | link:endpointdsl/readme.adoc[Endpointdsl] (endpointdsl) | Beginner | Using 
type-safe Endpoint DSL
 
diff --git a/grpc-kubernetes/README.adoc b/grpc-kubernetes/README.adoc
index bc6df1e..30260ba 100644
--- a/grpc-kubernetes/README.adoc
+++ b/grpc-kubernetes/README.adoc
@@ -12,7 +12,7 @@ You can build the server under the directory 
hello-camel-grpc-server with:
 
 and then run the server with
 
-    $ mvn -Pkubernetes-install fabric8:deploy
+    $ mvn -Pkubernetes k8s:deploy
 
 then check your pod status with
 
@@ -44,7 +44,7 @@ You can build the client example under the directory 
hello-camel-grpc-client wit
 
 and then run the server with
 
-    $ mvn -Pkubernetes-install fabric8:deploy
+    $ mvn -Pkubernetes k8s:deploy
 
 then check your pod status with
 
@@ -113,9 +113,9 @@ Undeploy server and client
 [source,bash]
 ----
 $ cd hello-camel-grpc-client-kubernetes
-$ mvn -Pkubernetes-install fabric8:undeploy
+$ mvn -Pkubernetes k8s:undeploy
 $ cd ../hello-camel-grpc-server-kubernetes
-$ mvn -Pkubernetes-install fabric8:undeploy
+$ mvn -Pkubernetes k8s:undeploy
 ----
 Make sure no pod is running
 
diff --git a/grpc-kubernetes/hello-camel-grpc-client-kubernetes/pom.xml 
b/grpc-kubernetes/hello-camel-grpc-client-kubernetes/pom.xml
index 7c11b87..4c9c33a 100644
--- a/grpc-kubernetes/hello-camel-grpc-client-kubernetes/pom.xml
+++ b/grpc-kubernetes/hello-camel-grpc-client-kubernetes/pom.xml
@@ -131,14 +131,14 @@
 
     <profiles>
         <profile>
-            <id>kubernetes-install</id>
+            <id>kubernetes</id>
             <build>
                 <defaultGoal>install</defaultGoal>
                 <plugins>
                     <plugin>
-                        <groupId>io.fabric8</groupId>
-                        <artifactId>fabric8-maven-plugin</artifactId>
-                        <version>${fabric8-maven-plugin-version}</version>
+                        <groupId>org.eclipse.jkube</groupId>
+                        <artifactId>kubernetes-maven-plugin</artifactId>
+                        <version>${jkube-maven-plugin-version}</version>
                         <configuration>
                             <generator>
                                 <config>
diff --git a/grpc-kubernetes/hello-camel-grpc-server-kubernetes/pom.xml 
b/grpc-kubernetes/hello-camel-grpc-server-kubernetes/pom.xml
index a9902fb..a000c02 100644
--- a/grpc-kubernetes/hello-camel-grpc-server-kubernetes/pom.xml
+++ b/grpc-kubernetes/hello-camel-grpc-server-kubernetes/pom.xml
@@ -147,9 +147,9 @@
                 <defaultGoal>install</defaultGoal>
                 <plugins>
                     <plugin>
-                        <groupId>io.fabric8</groupId>
-                        <artifactId>fabric8-maven-plugin</artifactId>
-                        <version>${fabric8-maven-plugin-version}</version>
+                        <groupId>org.eclipse.jkube</groupId>
+                        <artifactId>kubernetes-maven-plugin</artifactId>
+                        <version>${jkube-maven-plugin-version}</version>
                         <configuration>
                             <enricher>
                                 <config>
diff --git a/pom.xml b/pom.xml
index e3867ec..5c62ec5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -99,7 +99,7 @@
                <camel-version>3.19.0-SNAPSHOT</camel-version>
                <skip.starting.camel.context>false</skip.starting.camel.context>
                <javax.servlet.api.version>4.0.1</javax.servlet.api.version>
-               
<fabric8-maven-plugin-version>4.4.1</fabric8-maven-plugin-version>
+               <jkube-maven-plugin-version>1.9.1</jkube-maven-plugin-version>
                
<kafka-avro-serializer-version>5.2.2</kafka-avro-serializer-version>
                <reactor-version>3.2.16.RELEASE</reactor-version>
                <testcontainers-version>1.16.3</testcontainers-version>
diff --git a/strimzi/README.adoc b/strimzi/README.adoc
index 2d582cf..4f780cc 100644
--- a/strimzi/README.adoc
+++ b/strimzi/README.adoc
@@ -120,11 +120,11 @@ chmod +x prepare-truststore.sh && ./prepare-truststore.sh
 
 This script will create a truststore.jks in your local application root path, 
and a configmap with the same file included for Kubernetes/OpenShift deployment.
 
-Now we can deploy the Camel application on Kubernetes/OpenShift run 
fabric8:deploy maven command for platform kubernetes:
+Now we can deploy the Camel application on Kubernetes/OpenShift run k8s:deploy 
maven command for platform kubernetes:
 
 [source,shell]
 ----
-mvn fabric8:deploy -Pkubernetes
+mvn k8s:deploy -Pkubernetes
 ----
 
 Check the application is built, deployed and run properly:
diff --git a/strimzi/pom.xml b/strimzi/pom.xml
index c59bbbb..9cbdd58 100644
--- a/strimzi/pom.xml
+++ b/strimzi/pom.xml
@@ -107,9 +107,9 @@
                        <build>
                                <plugins>
                                        <plugin>
-                                               
<artifactId>fabric8-maven-plugin</artifactId>
-                                               <groupId>io.fabric8</groupId>
-                                               
<version>${fabric8-maven-plugin-version}</version>
+                                               
<groupId>org.eclipse.jkube</groupId>
+                                               
<artifactId>kubernetes-maven-plugin</artifactId>
+                                               
<version>${jkube-maven-plugin-version}</version>
                                                <executions>
                                                        <execution>
                                                                <goals>

Reply via email to