karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Nierbeck <bcanh...@googlemail.com>
Subject Re: Application using Karaf - problems with packages not being exported by default configuration
Date Wed, 24 Aug 2016 07:35:20 GMT
Well one of the things you need to make sure is, how do the package version
look like, if the framework exported versions are set to 0.0.0 that might
interfere with versions correctly configured.

regarding embedded dependencies, yes this is possible, take a look at the
bnd documentation about how to configure this.
In that case also make sure you don't have those packages imported via
import-package that will interfere again.

regards, Achim

2016-08-22 20:11 GMT+02:00 thully <tmhull@eng.ucsd.edu>:

> In the case of Xerces, app developers have been having problems using
> dependencies (most notably Jena) that depend on it, even if they provide
> their own version. Is there something special they need to do to tell
> OSGi/Karaf to use their private version of Xerces instead of using the
> bundled version?
> Also, is it possible to embed an extension bundle in a JAR using
> Embed-Dependencies in maven-bundle-plugin? In the case of
> netscape.javascript (or other missing system packages), this would make
> things a bit easier (as typically apps are distributed as single JARs).
> --
> View this message in context: http://karaf.922171.n3.nabble.
> com/Application-using-Karaf-problems-with-packages-not-
> being-exported-by-default-configuration-tp4047592p4047621.html
> Sent from the Karaf - User mailing list archive at Nabble.com.


Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

View raw message