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:06:58 UTC

[camel-examples] 03/08: Camel-example-mybatis: 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 6673484d1f1e71d77d716c1c5fb812e07687bb8e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 31 12:37:26 2020 +0200

    Camel-example-mybatis: Usage of camel-karaf-bom
---
 examples/camel-example-mybatis/pom.xml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/examples/camel-example-mybatis/pom.xml b/examples/camel-example-mybatis/pom.xml
index d3d00be..2ee2b54 100644
--- a/examples/camel-example-mybatis/pom.xml
+++ b/examples/camel-example-mybatis/pom.xml
@@ -49,6 +49,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>
 
@@ -58,7 +66,6 @@
         <dependency>
             <groupId>org.apache.camel.karaf</groupId>
             <artifactId>camel-blueprint</artifactId>
-            <version>${camel.karaf.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.camel</groupId>