From dev-return-8748-apmail-aries-dev-archive=aries.apache.org@aries.apache.org Tue Jan 3 17:45:42 2012 Return-Path: X-Original-To: apmail-aries-dev-archive@www.apache.org Delivered-To: apmail-aries-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 56DE590DE for ; Tue, 3 Jan 2012 17:45:42 +0000 (UTC) Received: (qmail 48916 invoked by uid 500); 3 Jan 2012 17:45:42 -0000 Delivered-To: apmail-aries-dev-archive@aries.apache.org Received: (qmail 48865 invoked by uid 500); 3 Jan 2012 17:45:42 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 48856 invoked by uid 99); 3 Jan 2012 17:45:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2012 17:45:42 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of alasdair.nottingham@gmail.com designates 74.125.83.50 as permitted sender) Received: from [74.125.83.50] (HELO mail-ee0-f50.google.com) (74.125.83.50) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2012 17:45:34 +0000 Received: by eeke53 with SMTP id e53so17026957eek.23 for ; Tue, 03 Jan 2012 09:45:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:subject:references:from:content-type:x-mailer:in-reply-to :message-id:date:to:content-transfer-encoding:mime-version; bh=mrcnspJbQegvZi5zklWmQaEfens+momzsdZPlfnA1Gw=; b=YOabn9ztB9ONWTc/qZXYqhmxkICifTV4kxTsyzeq/H8BDkQqLRpLTAJHVA1iX2VpLU NP/KWfhvum8bMkXEVrqsEOmlfHQvEdjukngwjCxvgCwbk+70s4mYpZ/l2C7pN72O7jiq Main1ZplMXX/hWNYAPylWtM1xdL4fvuOS9FlE= Received: by 10.14.123.20 with SMTP id u20mr21705092eeh.101.1325612712856; Tue, 03 Jan 2012 09:45:12 -0800 (PST) Received: from [9.180.166.201] (gbibp9ph1--blueice3n2.emea.ibm.com. [195.212.29.84]) by mx.google.com with ESMTPS id u53sm160491575eeu.6.2012.01.03.09.45.10 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 Jan 2012 09:45:11 -0800 (PST) Sender: Alasdair Nottingham Subject: Re: Aries jmx-bundle and uses clause computation References: From: Alasdair Nottingham Content-Type: text/plain; charset=us-ascii X-Mailer: iPhone Mail (9A405) In-Reply-To: Message-Id: Date: Tue, 3 Jan 2012 17:44:38 +0000 To: "dev@aries.apache.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Hi, I bet it is because the spec says it needs to look exactly like that, with t= hose uses clauses. Alasdair Nottingham On 3 Jan 2012, at 14:35, David Bosschaert wrote= : > Hi all, >=20 > While looking at the jmx-bundle project I came across the following in > the pom.xml >=20 > > org.osgi.jmx;uses:=3D"javax.management.openmbean", > org.osgi.jmx.framework;uses:=3D"org.osgi.jmx,javax.management.openmbean= ", > org.osgi.jmx.service.cm;uses:=3D"javax.management.openmbean", > org.osgi.jmx.service.permissionadmin;uses:=3D"org.osgi.jmx", > org.osgi.jmx.service.provisioning;uses:=3D"javax.management.openmbean",= > org.osgi.jmx.service.useradmin;uses:=3D"org.osgi.jmx,javax.management.o= penmbean", > org.apache.aries.jmx.codec > >=20 > I'm wondering why the uses clauses are explicitly listed here. I mean > the Maven Bundle Plugin/BND do a pretty good job of computing this and > I would say it's very error-prone to list these manually. Anyone know > the reason why it's done here? >=20 > Cheers, >=20 > David