Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9D540200B6F for ; Wed, 24 Aug 2016 09:35:31 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9BE32160AB1; Wed, 24 Aug 2016 07:35:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BA2D1160AA4 for ; Wed, 24 Aug 2016 09:35:30 +0200 (CEST) Received: (qmail 22198 invoked by uid 500); 24 Aug 2016 07:35:29 -0000 Mailing-List: contact user-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@karaf.apache.org Delivered-To: mailing list user@karaf.apache.org Received: (qmail 22180 invoked by uid 99); 24 Aug 2016 07:35:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Aug 2016 07:35:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 71D2B1A05B0 for ; Wed, 24 Aug 2016 07:35:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.492 X-Spam-Level: ** X-Spam-Status: No, score=2.492 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=googlemail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id WfcYquwUdoXr for ; Wed, 24 Aug 2016 07:35:28 +0000 (UTC) Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id C48845FAD7 for ; Wed, 24 Aug 2016 07:35:27 +0000 (UTC) Received: by mail-wm0-f51.google.com with SMTP id f65so188999975wmi.0 for ; Wed, 24 Aug 2016 00:35:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=0Rx8Z9JJHUh9p33Y6Pf7lIE13vE7y0gHznOVlipCwhU=; b=0klRnYIfyzga7v87dsetttR91INVyQ+kyBIdAMMly5fNCICVGfm2IqKQWVPkoQcNQl YI77cONvsrncLZabCW3VtzcNT8pft3PfZdT41Dwaf8HppCYuhYyh7+h5bJhaaUgHFbFX WAJCgp9Fs4zMME2WlflWnLZgTxjeubMtJar4y62BkGwQLesEAAoX9wc4sDrX9USWhVdm +k79/XYh1C/0hNkc5ox20RmLzJ85CeU7sxOK0ny2LviePsbM9bjjZ9MwZG/hmjMEHPPv 61YmzALD50YUCmcQgJRPZi/0L4qqsAteA+XuOvVZDEFokE8bwMhiGyaVcHVO4wWw5Pu+ 4sMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=0Rx8Z9JJHUh9p33Y6Pf7lIE13vE7y0gHznOVlipCwhU=; b=j7WaBeLgzJ4JqUNv+kOpA4dBKEUJKWy5o5vC9b8Yx0q50FKizIsejjcTx7HAWF352Z jOkEuTxp2rzEeCXZ9upoxzmt3DgN5gJYZfx3SY6cWaSD/XQKzaYUnf6tB0nyD92jfJDD qefwvbJ6hwfMJCrZL1TTYZ3qpu2dmfNnuKCoozU245w757aFRiVdVDHg7UHNChQCsrLO Z0LXXS0yk0yXEWytLOMvTjHjMtW8RKiRBHNTM4z5wPERTB2M2IuMzTOE0nWWJ+BWygzB Vm7gxW9bkYz9OmX4Fz4iYwODLwBTtn/Nt6VLsl+ndMj3qGu3k2LoQnQrNvUunqbWf9xK /LsA== X-Gm-Message-State: AEkooutuEGDrUQ/IOb3T9+jk7D2Jg3X4ijmCdKFf+7ctkdeXaE4erAuFU4ZfmzFpClz75IsxuIVkqU7t1wPNDw== X-Received: by 10.194.142.198 with SMTP id ry6mr1339674wjb.62.1472024120783; Wed, 24 Aug 2016 00:35:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.166.97 with HTTP; Wed, 24 Aug 2016 00:35:20 -0700 (PDT) In-Reply-To: <1471889460169-4047621.post@n3.nabble.com> References: <1471643519509-4047592.post@n3.nabble.com> <5f1e744c-7939-41c2-16fb-07f616b02325@nanthrax.net> <1471889460169-4047621.post@n3.nabble.com> From: Achim Nierbeck Date: Wed, 24 Aug 2016 09:35:20 +0200 Message-ID: Subject: Re: Application using Karaf - problems with packages not being exported by default configuration To: "user@karaf.apache.org" Content-Type: multipart/alternative; boundary=089e0122f438d1f7cf053acc5260 archived-at: Wed, 24 Aug 2016 07:35:31 -0000 --089e0122f438d1f7cf053acc5260 Content-Type: text/plain; charset=UTF-8 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 : > 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 Committer & PMC OPS4J Pax Web Committer & Project Lead blog Co-Author of Apache Karaf Cookbook Software Architect / Project Manager / Scrum Master --089e0122f438d1f7cf053acc5260 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Well one of the things you need to make sure is, how do th= e package version look like, if the framework exported versions are set to = 0.0.0 that might interfere with versions correctly configured.=C2=A0
regarding embedded dependencies, yes this is possible, take a = look at the bnd documentation about how to configure this.=C2=A0
= In that case also make sure you don't have those packages imported via = import-package that will interfere again.=C2=A0

re= gards, Achim=C2=A0

2016-08-22 20:11 GMT+02:00 thully <tmhull@en= g.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-probl= ems-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+We= b/> Committer & Project Lead
blog <http://notizblog.nierbeck.de/><= div>Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

= Software Architect / Project Manager / Scrum Master=C2=A0

--089e0122f438d1f7cf053acc5260--