aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Meschberger <fmesc...@adobe.com>
Subject Re: Aries jmx-bundle and uses clause computation
Date Wed, 04 Jan 2012 07:36:08 GMT
Hi,

Am 03.01.2012 um 18:44 schrieb Alasdair Nottingham:

> Hi,
> 
> I bet it is because the spec says it needs to look exactly like that, with those uses
clauses.

Where would that be mentioned. I quickly scanned the spec and could not find such a thing.
Also, I would not remember having seen it in other parts of the specs. IMHO it would be highly
unusual. Otherwise the version would probably also have to be stated explicitly...

Regards
Felix

> 
> Alasdair Nottingham
> 
> On 3 Jan 2012, at 14:35, David Bosschaert <david.bosschaert@gmail.com> wrote:
> 
>> Hi all,
>> 
>> While looking at the jmx-bundle project I came across the following in
>> the pom.xml
>> 
>> <aries.osgi.export>
>>   org.osgi.jmx;uses:="javax.management.openmbean",
>>   org.osgi.jmx.framework;uses:="org.osgi.jmx,javax.management.openmbean",
>>   org.osgi.jmx.service.cm;uses:="javax.management.openmbean",
>>   org.osgi.jmx.service.permissionadmin;uses:="org.osgi.jmx",
>>   org.osgi.jmx.service.provisioning;uses:="javax.management.openmbean",
>>   org.osgi.jmx.service.useradmin;uses:="org.osgi.jmx,javax.management.openmbean",
>>   org.apache.aries.jmx.codec
>> </aries.osgi.export>
>> 
>> 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?
>> 
>> Cheers,
>> 
>> David


Mime
View raw message