aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alasdair Nottingham <...@apache.org>
Subject Re: Aries jmx-bundle and uses clause computation
Date Tue, 03 Jan 2012 17:44:38 GMT
Hi,

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

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