<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<features name="minion-core-features" xmlns="http://karaf.apache.org/xmlns/features/v1.4.0">

    <!-- Apache ActiveMQ features -->
    <repository>mvn:org.apache.activemq/activemq-karaf/5.14.5/xml/features</repository>

    <!-- Apache Camel features -->
    <repository>mvn:org.apache.camel.karaf/apache-camel/2.19.1/xml/features</repository>

    <feature name="minion-core" description="Minion :: Core" version="22.0.0-SNAPSHOT">
        <feature>camel-core</feature>
        <feature>camel-blueprint</feature>
        <feature>camel-jaxb</feature>

        <!-- Needed by activemq-camel -->
        <bundle>mvn:javax.annotation/javax.annotation-api/1.2</bundle>
        <feature>activemq-camel</feature>
        <bundle>mvn:org.opennms.features.activemq/org.opennms.features.activemq.pool/22.0.0-SNAPSHOT</bundle>

        <!-- Used for the REST client -->
        <bundle>mvn:org.apache.httpcomponents/httpcore-osgi/4.4.4</bundle>
        <bundle>mvn:org.apache.httpcomponents/httpclient-osgi/4.5.2</bundle>
        <bundle>wrap:mvn:com.google.code.gson/gson/2.8.0</bundle>

        <bundle>mvn:org.opennms.features.minion/core-api/22.0.0-SNAPSHOT</bundle>
        <bundle>mvn:org.opennms.features.minion/core-impl/22.0.0-SNAPSHOT</bundle>
    </feature>

    <feature name="minion-core-shell" description="Minion :: Core :: Shell" version="22.0.0-SNAPSHOT">
        <feature>minion-core</feature>
        <bundle>mvn:org.opennms.features.minion/shell/22.0.0-SNAPSHOT</bundle>
    </feature>
</features>
