By the way, you don’t need util in your bundle, it’s already included in shell.

Why would you need util (are you sure it’s not Felix util you want) ?

Regards
JB

> Le 11 juil. 2020 à 23:21, Paul Spencer <paulspen...@mindspring.com> a écrit :
> 
> 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