Hummm... got it... :-D
For those people that don't know yet , you have to edit the
etc/custom.properties file and put the missing packges there on this
property:
org.osgi.framework.system.packages.extra = \
com.sun.org.apache.xml.internal.utils; \
com.sun.org.apache.xpath.internal;\
cheers
Cristiano
On 07/04/11 16:56, Cristiano Gavião wrote:
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