Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2900

Allow generic requirements as condition to features

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0.M3
    • Component/s: None
    • Labels:
      None

      Description

      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:

              <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>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gnt Guillaume Nodet
                Reporter:
                gnt Guillaume Nodet
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: