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 11:07:02 UTC

[camel-examples] 07/08: Camel-example-transformer-blueprint: 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

commit be2e3138b3320fb9def0e593c35a71e9aaaf5b52
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 31 12:54:13 2020 +0200

    Camel-example-transformer-blueprint: Usage of camel-karaf-bom
---
 examples/camel-example-transformer-blueprint/pom.xml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/examples/camel-example-transformer-blueprint/pom.xml b/examples/camel-example-transformer-blueprint/pom.xml
index 84bbf61..6f92cab 100644
--- a/examples/camel-example-transformer-blueprint/pom.xml
+++ b/examples/camel-example-transformer-blueprint/pom.xml
@@ -47,6 +47,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>${project.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
         </dependencies>
     </dependencyManagement>
 
@@ -59,12 +67,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>
 
         <!-- logging -->
@@ -91,7 +97,6 @@
         <dependency>
             <groupId>org.apache.camel.karaf</groupId>
             <artifactId>camel-test-blueprint</artifactId>
-            <version>${camel.karaf.version}</version>
             <scope>test</scope>
         </dependency>
         <dependency>