You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2014/04/11 17:04:14 UTC
[jira] [Created] (KARAF-2900) Allow generic requirements as
condition to features
Guillaume Nodet created KARAF-2900:
--------------------------------------
Summary: Allow generic requirements as condition to features
Key: KARAF-2900
URL: https://issues.apache.org/jira/browse/KARAF-2900
Project: Karaf
Issue Type: New Feature
Reporter: Guillaume Nodet
Assignee: Guillaume Nodet
Fix For: 4.0.0
The idea is to allow not only feature dependencies, but other kind of requirements.
The conditional below would install mina-core on JDK < 1.7:
{code}
<conditional>
<condition>req:osgi.ee;filter:="(&(osgi.ee=JavaSE)(!(version>=1.7)))"</condition>
<bundle start="true" start-level="30">mvn:org.apache.mina/mina-core/${mina.version}</bundle>
</conditional>
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)