Return-Path: X-Original-To: apmail-felix-users-archive@minotaur.apache.org Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B7D3C18A70 for ; Mon, 14 Dec 2015 17:34:20 +0000 (UTC) Received: (qmail 88298 invoked by uid 500); 14 Dec 2015 17:34:20 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 88233 invoked by uid 500); 14 Dec 2015 17:34:20 -0000 Mailing-List: contact users-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@felix.apache.org Delivered-To: mailing list users@felix.apache.org Received: (qmail 88221 invoked by uid 99); 14 Dec 2015 17:34:19 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2015 17:34:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 75E3118027E for ; Mon, 14 Dec 2015 17:34:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.553 X-Spam-Level: X-Spam-Status: No, score=-0.553 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.554, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id eQdEvtsy2Wlj for ; Mon, 14 Dec 2015 17:34:10 +0000 (UTC) Received: from postman.abacus.ch (postman.abacus.ch [77.74.4.142]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTP id 0890824CA1 for ; Mon, 14 Dec 2015 17:34:09 +0000 (UTC) Received: from localhost (lena.abanet.ch [77.74.4.230]) by postman.abacus.ch (Postfix) with ESMTP id 34ABE2982E9 for ; Mon, 14 Dec 2015 18:34:03 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.7.1 (20120429) (Debian) at abacus.ch Received: from localhost ([IPv6:::ffff:77.74.4.142]) by localhost (lena.abanet.ch [::ffff:77.74.4.230]) (amavisd-new, port 10026) with ESMTP id 7CUq2f17z9AP for ; Mon, 14 Dec 2015 18:34:03 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.4.2 (20060627) (Debian) at abacus.ch Received: from postman.abacus.ch ([127.0.0.1]) by localhost (postman.abacus.ch [127.0.0.1]) (amavisd-new, port 10026) with LMTP id W1+mlnWIQVWn for ; Mon, 14 Dec 2015 18:34:02 +0100 (CET) Received: from lida.abanet.ch (lida.abanet.ch [77.74.4.144]) by postman.abacus.ch (Postfix) with ESMTP id C6B4429828E for ; Mon, 14 Dec 2015 18:34:02 +0100 (CET) Received: from mail.abacus.ch (gwia01.int.abacus.ch [172.16.2.19]) by lida.abanet.ch (Postfix) with ESMTP id 987396015C for ; Mon, 14 Dec 2015 18:34:02 +0100 (CET) Received: from abacus-gwia01-MTA by mail.abacus.ch with Novell_GroupWise; Mon, 14 Dec 2015 18:34:02 +0100 Message-Id: <566F0B9902000017000A27D0@mail.abacus.ch> X-Mailer: Novell GroupWise Internet Agent 12.0.4 Date: Mon, 14 Dec 2015 18:34:01 +0100 From: "Hubert Felber" To: Subject: Re: When two bundles compete to export a package ... References: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Are you importing org.ops4j.pax.exam.Inject ? If yes, then try javax.inject.Inject >>> Benson Margulies 07.12.2015 21:32 >>> I am trying to use @Inject in a pax-exam test. pax-exam uses org.apache.geronimo.specs geronimo-atinject_1.0_spec ${dependency.atinject.version} Karaf 4 uses the alternative from servicemix. When I use the karaf container to test, I end up with both. And, as luck would have it, pax-exam ends up with Inject.class from the servicemix bundle, while my test ends up with it from the geronimo bundle. I don't know how the geronimo bundle gets itself provisioned; but I assume that pax-exam is arranging this somehow. anyway, is there any OSGi header i can use to encourage my test bundle to wire to the servicemix bundle? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@felix.apache.org For additional commands, e-mail: users-help@felix.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@felix.apache.org For additional commands, e-mail: users-help@felix.apache.org