You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/03/31 10:00:23 UTC

[camel-examples] branch master updated: First example with usage of camel-karaf-bom

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

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


The following commit(s) were added to refs/heads/master by this push:
     new e94ee6d  First example with usage of camel-karaf-bom
e94ee6d is described below

commit e94ee6dfa003f5942aba6050efef51a26b231162
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 31 12:00:03 2020 +0200

    First example with usage of camel-karaf-bom
---
 examples/camel-example-artemis-amqp-blueprint/pom.xml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/examples/camel-example-artemis-amqp-blueprint/pom.xml b/examples/camel-example-artemis-amqp-blueprint/pom.xml
index b02acff..a44638a 100644
--- a/examples/camel-example-artemis-amqp-blueprint/pom.xml
+++ b/examples/camel-example-artemis-amqp-blueprint/pom.xml
@@ -50,6 +50,14 @@
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
+            <!-- Add Camel Karaf BOM -->
+            <dependency>
+                <groupId>org.apache.camel.karaf</groupId>
+                <artifactId>camel-karaf-bom</artifactId>
+                <version>${camel.karaf.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
         </dependencies>
     </dependencyManagement>
 
@@ -63,12 +71,10 @@
         <dependency>
             <groupId>org.apache.camel.karaf</groupId>
             <artifactId>camel-blueprint</artifactId>
-            <version>${camel.karaf.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.camel.karaf</groupId>
             <artifactId>camel-blueprint-main</artifactId>
-            <version>${camel.karaf.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.camel</groupId>
@@ -117,7 +123,6 @@
         <dependency>
             <groupId>org.apache.camel.karaf</groupId>
             <artifactId>camel-test-blueprint</artifactId>
-            <version>${camel.karaf.version}</version>
             <scope>test</scope>
         </dependency>