I am using maven-bundle-plugin v.1.4.3. I see that even though a bundle
exports 0.3.18 of a package, the Import-Package header only contains 0.3
as the version. I have attached a simple test case to bug #549 [1].
There is no packageversion file, so information is encoded in manifest
file only.
The relevant portion of generated manifest for both the artifacts are
given below:
A2/target/classes/META-INF/MANIFEST.MF
----------------------------------------------------------
Import-Package: p;version="0.3.18"
Export-Package: p;version="0.3.18"
A1/target/classes/META-INF/MANIFEST.MF
-----------------------------------------------------------
Import-Package: org.osgi.framework;version="1.3",p;version="0.3"
bnd document suggests that micro part should be used; only qualifiers
are dropped. Is this a bug in plugin or bnd? I need a fix/work around
rather soon.
Thanks,
Sahoo
[1] https://issues.apache.org/jira/browse/FELIX-549
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]