Hi again,

I'm now with a problem that I don't know how to deal... and need a little help.

I've used maven-bundle-plugin to turn my package osgi able with this config:

<instructions>
<Export-Package>org.jb.osgi.core.services</Export-Package>
<Private-Package>org.jb.osgi.core.services.impl</Private-Package>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Embed-Dependency>*;scope=compile|runtime;inline=false</Embed-Dependency>
<_exportcontents>org.jb.core.*</_exportcontents>
<Embed-Transitive>true</Embed-Transitive>
</instructions>

the compile was ok, but when I try to install it on Karaf I get this error:

Error executing command: Unresolved constraint in bundle jbehave-osgi-core [88]: Unable to resolve 88.0: missing requirement [88.0] package; (package=*com.sun.org.apache.xml.internal.utils*)
well, if I'm not wrong, this package is a JDK 6 (macOS default) internal one.

So, how should I teach karaf to get it from JDK6 ?

thanks

Cristiano

Reply via email to