In OSGi, if I do not specify version in the Export-Package directive inside MANIFEST.MF, which version exported package will get?
P.S. And here is the rationale behind this logic: https://mail.osgi.org/pipermail/osgi-dev/2010-August/002608.html
For Export-Package the version defaults to 0.0.0, and for Import-Package the version defaults to [0.0.0, infinte]. See also chapters 3.5.4 and 3.5.5 of the OSGi Core Specification.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With