Hi Benjamin,
What's the version range syntax you used ?
Did you try [1.3,) ?
Regards
JB
On 10/01/2013 09:16 AM, Benjamin Debeerst wrote:
Hello all,
When validating my own feature xml, I stumbled upon package imports with
an explicit version, which cannot be resolved correctly by the
maven-features-plugin.
version=1.3 has to be resolved to version=[1.3,infinity) (OSGi r5 Core
spec section 3.2.6), instead the maven-features-plugin fails the validation.
Use the following feature descriptor as example:
<feature name="org.apache.felix.ipojo" version="1.10.1">
<bundle>mvn:org.apache.felix/org.apache.felix.ipojo/1.10.1</bundle>
</feature>
With a system export config as here:
https://fisheye6.atlassian.com/browse/camel-git/platforms/karaf/features/src/main/resources/config.properties?hb=true
(See also the SO question I asked before, where I did not know that part
of the spec yet:
http://stackoverflow.com/questions/19098447/are-package-imports-of-org-osgi-treated-differently
)
Is this a known bug or should I rise an issue? Are there any known
workarounds?
Regards,
Benjamin
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com