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

bvahdat pushed a commit to branch CAMEL-18452
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/CAMEL-18452 by this push:
     new 07dbde222e0 CAMEL-18452: Integrate azure-sdk-bom in a non-conflicting 
manner
07dbde222e0 is described below

commit 07dbde222e0999396e283fd37ddb6bd3c5f33b42
Author: Babak Vahdat <[email protected]>
AuthorDate: Fri Sep 2 19:06:30 2022 +0200

    CAMEL-18452: Integrate azure-sdk-bom in a non-conflicting manner
---
 components/camel-azure/camel-azure-cosmosdb/pom.xml         |  1 -
 components/camel-azure/camel-azure-eventhubs/pom.xml        |  2 --
 components/camel-azure/camel-azure-key-vault/pom.xml        |  2 --
 components/camel-azure/camel-azure-servicebus/pom.xml       |  2 --
 components/camel-azure/camel-azure-storage-blob/pom.xml     |  6 ------
 components/camel-azure/camel-azure-storage-datalake/pom.xml |  2 --
 components/camel-azure/camel-azure-storage-queue/pom.xml    |  5 -----
 components/camel-azure/pom.xml                              | 12 ++++++++++++
 8 files changed, 12 insertions(+), 20 deletions(-)

diff --git a/components/camel-azure/camel-azure-cosmosdb/pom.xml 
b/components/camel-azure/camel-azure-cosmosdb/pom.xml
index f5d6d4b2fc1..87368edcc42 100644
--- a/components/camel-azure/camel-azure-cosmosdb/pom.xml
+++ b/components/camel-azure/camel-azure-cosmosdb/pom.xml
@@ -51,7 +51,6 @@
         <dependency>
             <groupId>com.azure</groupId>
             <artifactId>azure-cosmos</artifactId>
-            <version>${azure-cosmos-version}</version>
         </dependency>
 
         <!-- extras -->
diff --git a/components/camel-azure/camel-azure-eventhubs/pom.xml 
b/components/camel-azure/camel-azure-eventhubs/pom.xml
index 18f00225c29..9d9fb395845 100644
--- a/components/camel-azure/camel-azure-eventhubs/pom.xml
+++ b/components/camel-azure/camel-azure-eventhubs/pom.xml
@@ -51,12 +51,10 @@
         <dependency>
             <groupId>com.azure</groupId>
             <artifactId>azure-messaging-eventhubs</artifactId>
-            <version>${azure-eventhubs-version}</version>
         </dependency>
         <dependency>
             <groupId>com.azure</groupId>
             
<artifactId>azure-messaging-eventhubs-checkpointstore-blob</artifactId>
-            
<version>${azure-messaging-eventhubs-checkpointstore-blob-version}</version>
         </dependency>
 
         <!-- extras -->
diff --git a/components/camel-azure/camel-azure-key-vault/pom.xml 
b/components/camel-azure/camel-azure-key-vault/pom.xml
index 4048ba123e3..be9f1bc573e 100644
--- a/components/camel-azure/camel-azure-key-vault/pom.xml
+++ b/components/camel-azure/camel-azure-key-vault/pom.xml
@@ -45,12 +45,10 @@
         <dependency>
             <groupId>com.azure</groupId>
             <artifactId>azure-security-keyvault-secrets</artifactId>
-            <version>${azure-keyvault-secrets-version}</version>
         </dependency>
         <dependency>
             <groupId>com.azure</groupId>
             <artifactId>azure-identity</artifactId>
-            <version>${azure-identity-version}</version>
         </dependency>
 
         <!-- extras -->
diff --git a/components/camel-azure/camel-azure-servicebus/pom.xml 
b/components/camel-azure/camel-azure-servicebus/pom.xml
index 1b6dc525f17..c91651cc344 100644
--- a/components/camel-azure/camel-azure-servicebus/pom.xml
+++ b/components/camel-azure/camel-azure-servicebus/pom.xml
@@ -51,12 +51,10 @@
         <dependency>
             <groupId>com.azure</groupId>
             <artifactId>azure-messaging-servicebus</artifactId>
-            <version>${azure-messaging-servicebus-version}</version>
         </dependency>
         <dependency>
             <groupId>com.azure</groupId>
             <artifactId>azure-identity</artifactId>
-            <version>${azure-identity-version}</version>
         </dependency>
 
         <!-- extras -->
diff --git a/components/camel-azure/camel-azure-storage-blob/pom.xml 
b/components/camel-azure/camel-azure-storage-blob/pom.xml
index a13473634d5..5fcf36e6c42 100644
--- a/components/camel-azure/camel-azure-storage-blob/pom.xml
+++ b/components/camel-azure/camel-azure-storage-blob/pom.xml
@@ -45,7 +45,6 @@
         <dependency>
             <groupId>com.azure</groupId>
             <artifactId>azure-storage-blob</artifactId>
-            <version>${azure-storage-blob-version}</version>
         </dependency>
         <dependency>
             <groupId>com.azure</groupId>
@@ -55,27 +54,22 @@
         <dependency>
             <groupId>com.azure</groupId>
             <artifactId>azure-identity</artifactId>
-            <version>${azure-identity-version}</version>
         </dependency>
         <dependency>
             <groupId>com.fasterxml.jackson.core</groupId>
             <artifactId>jackson-databind</artifactId>
-            <version>${azure-jackson2-version}</version>
         </dependency>
         <dependency>
             <groupId>com.fasterxml.jackson.core</groupId>
             <artifactId>jackson-core</artifactId>
-            <version>${azure-jackson2-version}</version>
         </dependency>
         <dependency>
             <groupId>com.fasterxml.jackson.core</groupId>
             <artifactId>jackson-annotations</artifactId>
-            <version>${azure-jackson2-version}</version>
         </dependency>
         <dependency>
             <groupId>com.fasterxml.jackson.dataformat</groupId>
             <artifactId>jackson-dataformat-xml</artifactId>
-            <version>${azure-jackson2-version}</version>
         </dependency>
 
         <!-- extras -->
diff --git a/components/camel-azure/camel-azure-storage-datalake/pom.xml 
b/components/camel-azure/camel-azure-storage-datalake/pom.xml
index 016be914611..22709c565f3 100644
--- a/components/camel-azure/camel-azure-storage-datalake/pom.xml
+++ b/components/camel-azure/camel-azure-storage-datalake/pom.xml
@@ -38,12 +38,10 @@
         <dependency>
             <groupId>com.azure</groupId>
             <artifactId>azure-storage-file-datalake</artifactId>
-            <version>${azure-storage-datalake-version}</version>
         </dependency>
         <dependency>
             <groupId>com.azure</groupId>
             <artifactId>azure-identity</artifactId>
-            <version>${azure-identity-version}</version>
         </dependency>
 
         <dependency>
diff --git a/components/camel-azure/camel-azure-storage-queue/pom.xml 
b/components/camel-azure/camel-azure-storage-queue/pom.xml
index e7f27b81364..12cd6427a93 100644
--- a/components/camel-azure/camel-azure-storage-queue/pom.xml
+++ b/components/camel-azure/camel-azure-storage-queue/pom.xml
@@ -45,28 +45,23 @@
         <dependency>
             <groupId>com.azure</groupId>
             <artifactId>azure-storage-queue</artifactId>
-            <version>${azure-storage-queue-version}</version>
         </dependency>
 
         <dependency>
             <groupId>com.fasterxml.jackson.core</groupId>
             <artifactId>jackson-databind</artifactId>
-            <version>${azure-jackson2-version}</version>
         </dependency>
         <dependency>
             <groupId>com.fasterxml.jackson.core</groupId>
             <artifactId>jackson-core</artifactId>
-            <version>${azure-jackson2-version}</version>
         </dependency>
         <dependency>
             <groupId>com.fasterxml.jackson.core</groupId>
             <artifactId>jackson-annotations</artifactId>
-            <version>${azure-jackson2-version}</version>
         </dependency>
         <dependency>
             <groupId>com.fasterxml.jackson.dataformat</groupId>
             <artifactId>jackson-dataformat-xml</artifactId>
-            <version>${azure-jackson2-version}</version>
         </dependency>
 
         <!-- extras -->
diff --git a/components/camel-azure/pom.xml b/components/camel-azure/pom.xml
index f6ef85ea3a7..575044d855f 100644
--- a/components/camel-azure/pom.xml
+++ b/components/camel-azure/pom.xml
@@ -32,6 +32,18 @@
     <name>Camel :: Azure :: Parent</name>
     <description>Camel Azure parent</description>
 
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>com.azure</groupId>
+                <artifactId>azure-sdk-bom</artifactId>
+                <version>${azure-sdk-bom-version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
     <modules>
         <module>camel-azure-eventhubs</module>
         <module>camel-azure-storage-blob</module>

Reply via email to