maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Subrahmanyam Sistha <>
Subject Configure resolution:=optional from maven bundle plugin
Date Fri, 31 Aug 2018 12:18:24 GMT
HI Team,

I need help to configure  a dependency as optional, 

Using maven-bundle-plugin:3.4.0,  

In the Import-packages section, they refereed as resolution:optional  


Expectation is generated OSGI manifest file should contains the
resolution:=optional for that library but the changes not reflecting.

Expectation : 

but in generated manifest file 

Did i miss any configuration to reflect it resolution as optional in the
generated manifest file?

On investigation Maven-Bundle-Plugin, File, I realized
that if the artifact contains the optional true then reflected in the
generated manifest file as resolution:=optional


But the previous solution should work according to the
source code,

Please help me, guide me to proceed further.

Sent from:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message