felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Subrahmanyam Sistha <subbu.sis...@gmail.com>
Subject Configure resolution:=optional from maven bundle plugin
Date Fri, 31 Aug 2018 15:15:03 GMT
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, BundlePlugin.java 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 BundlePlugin.java 
source code, 

Please guide me to proceed further. 

Sent from: http://apache-felix.18485.x6.nabble.com/Apache-Felix-Users-f4833200.html

To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org

View raw message