You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2020/09/03 15:57:51 UTC

[karaf] branch karaf-4.2.x updated: Improve itest example

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

jbonofre pushed a commit to branch karaf-4.2.x
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/karaf-4.2.x by this push:
     new 54e9ee6  Improve itest example
54e9ee6 is described below

commit 54e9ee66899f27a3cac4c2784ead0c58117d50df
Author: jbonofre <jb...@apache.org>
AuthorDate: Thu Sep 3 17:57:38 2020 +0200

    Improve itest example
---
 examples/karaf-itest-example/pom.xml | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/examples/karaf-itest-example/pom.xml b/examples/karaf-itest-example/pom.xml
index 7087af2..b095451 100644
--- a/examples/karaf-itest-example/pom.xml
+++ b/examples/karaf-itest-example/pom.xml
@@ -45,14 +45,15 @@
         <dependency>
             <groupId>org.apache.karaf</groupId>
             <artifactId>apache-karaf</artifactId>
-            <version>4.2.1</version>
+            <version>${project.version}</version>
             <scope>test</scope>
             <type>tar.gz</type>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-log4j12</artifactId>
-            <scope>test</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.karaf</groupId>
+                    <artifactId>org.apache.karaf.client</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <!-- Required to use shell commands in the tests -->
         <dependency>