Karaf 4.2.9
I am receiving the following warning for bundles that exposes a services and 
commands.

> [WARNING] Bundle ...: Split package, multiple jars provide the same 
> package:org/apache/karaf/util/tracker
> Use Import/Export Package directive 
> -split-package:=(merge-first|merge-last|error|first) to get rid of this 
> warning
> Package found in   [Jar:org.apache.karaf.util, 
> Jar:org.apache.karaf.shell.core]

I am including both dependencies with the default scope as they are need to 
compile.
         <dependency>
            <groupId>org.apache.karaf</groupId>
            <artifactId>org.apache.karaf.util</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.karaf.shell</groupId>
            <artifactId>org.apache.karaf.shell.core</artifactId>
        </dependency>

How should resolve the warning?

Paul Spencer

Reply via email to