If you want to drop the uses constraints (although it is recommended you keep
them) then you can use this instruction in your bundleplugin configuration:
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<_nouses>true</_nouses>
</instructions>
</plugin>
Do you have a particular reason for wanting to do this?
--
Cheers, Stuart
On Thursday, 9 October 2014 at 13:44, [email protected] wrote:
> Hello,
>
> I am wondering how to tell maven-bundle-plugin to NOT calculate the uses
> directives for the exported packages.
>
> Instead of
> Export-Package: com.abcde;uses:="com.xxxx";version="1.2.3"
> I want to get
> Export-Package: com.abcde;version="1.2.3"
>
> Is this possible?
>
> Thanks.
>
> If you are not the addressee, please inform us immediately that you have
> received this e-mail by mistake, and delete it. We thank you for your
> support.