Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 754F1181F9 for ; Thu, 3 Dec 2015 11:23:45 +0000 (UTC) Received: (qmail 98721 invoked by uid 500); 3 Dec 2015 11:23:11 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 98696 invoked by uid 500); 3 Dec 2015 11:23:11 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 98679 invoked by uid 99); 3 Dec 2015 11:23:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2015 11:23:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 05C302C1F6B for ; Thu, 3 Dec 2015 11:23:11 +0000 (UTC) Date: Thu, 3 Dec 2015 11:23:11 +0000 (UTC) From: "David Leangen (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-4161) Adding requirement does not resolve required bundles MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-4161?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1503= 7685#comment-15037685 ]=20 David Leangen commented on KARAF-4161: -------------------------------------- Unfortunately the problem persists. :-( Example: when I add com.me.whatever.prevayler, which requires osgi.wiring.p= ackage=3Dcom.thoughtworks.xstream, my expectation is that xstream should al= so get installed. But it does not. I have to install it manually. xstream is in a different OBR than prevayler. In org.apache.karaf.features.cfg, it looks something like this: {code} resourceRepositories=3D, \ xml:http://my.repo.com/repo/dependencies/index.xml,\ [1] xml:file:/Users/dleangen/release/index.xml [2] {code} [1] is the OBR with third party dependencies including xstream, and [2] is = the OBR with "my stuff" including prevayler. > Adding requirement does not resolve required bundles > ---------------------------------------------------- > > Key: KARAF-4161 > URL: https://issues.apache.org/jira/browse/KARAF-4161 > Project: Karaf > Issue Type: Bug > Components: karaf-feature > Reporter: David Leangen > Assignee: Guillaume Nodet > > When using > {code} > feature:requirement-add =E2=80=98requirement:osgi.identity;osgi.identity= =3Dmy.bundle;type=3Dosgi.bundle' > {code} > required bundles are not getting resolved, even if they exist in an insta= lled repository. This seems to occur when the required bundle is available = from a different repository. -- This message was sent by Atlassian JIRA (v6.3.4#6332)