karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-2900) Allow generic requirements as condition to features
Date Fri, 11 Apr 2014 15:04:14 GMT
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:="(&amp;(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)

Mime
View raw message