You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Sahoo <Sa...@Sun.COM> on 2009/09/18 07:44:48 UTC
Issues with maven-bundle-plugin, -exportcontents & -nouses clause
I am using bundle-plugin version 2.0.0. I am using bundle goal to embed
(with inline =true) a few dependencies. For some specific reason, I am
trying to avoid generation of "uses" clause. So, I added a nouses
directive to -exportcontents like this:
-exportcontents: *; -nouses:=true
Despite this, I see uses clause being generated for all the exported
packages.
Is this a known issue? Is there a work around?
Thanks,
Sahoo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Issues with maven-bundle-plugin, -exportcontents & -nouses clause
Posted by Sahoo <sa...@sun.com>.
Perfect, that's it. Since I use a separate file for all bundle-plugin
instructions, I had to change it like this:
-exportcontents: *
-nouses: true
Thanks a lot.
Sahoo
Niels B Nielsen wrote:
> In order to pass it down to BND, wouldn't it be:
>
> <_exportcontents>*</_exportcontents>
> <_nouses>true<_nouses>
>
> Just a thought
>
> /Niels
>
> -----Original Message-----
> From: Sanjeeb.Sahoo@Sun.COM [mailto:Sanjeeb.Sahoo@Sun.COM] On Behalf Of Sahoo
> Sent: 18 September 2009 06:45
> To: users@felix.apache.org
> Subject: Issues with maven-bundle-plugin, -exportcontents & -nouses clause
>
> I am using bundle-plugin version 2.0.0. I am using bundle goal to embed
> (with inline =true) a few dependencies. For some specific reason, I am
> trying to avoid generation of "uses" clause. So, I added a nouses
> directive to -exportcontents like this:
> -exportcontents: *; -nouses:=true
>
> Despite this, I see uses clause being generated for all the exported
> packages.
>
> Is this a known issue? Is there a work around?
>
> Thanks,
> Sahoo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
> This email is confidential and subject to important disclaimers and
> conditions including on offers for the purchase or sale of
> securities, accuracy and completeness of information, viruses,
> confidentiality, legal privilege, and legal entity disclaimers,
> available at http://www.jpmorgan.com/pages/disclosures/email.
>
> ---------------------------------------------------------------------
> 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
RE: Issues with maven-bundle-plugin, -exportcontents & -nouses
clause
Posted by Niels B Nielsen <ni...@jpmorgan.com>.
In order to pass it down to BND, wouldn't it be:
<_exportcontents>*</_exportcontents>
<_nouses>true<_nouses>
Just a thought
/Niels
-----Original Message-----
From: Sanjeeb.Sahoo@Sun.COM [mailto:Sanjeeb.Sahoo@Sun.COM] On Behalf Of Sahoo
Sent: 18 September 2009 06:45
To: users@felix.apache.org
Subject: Issues with maven-bundle-plugin, -exportcontents & -nouses clause
I am using bundle-plugin version 2.0.0. I am using bundle goal to embed
(with inline =true) a few dependencies. For some specific reason, I am
trying to avoid generation of "uses" clause. So, I added a nouses
directive to -exportcontents like this:
-exportcontents: *; -nouses:=true
Despite this, I see uses clause being generated for all the exported
packages.
Is this a known issue? Is there a work around?
Thanks,
Sahoo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org