<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one or more
  ~ contributor license agreements. See the NOTICE file distributed with
  ~ this work for additional information regarding copyright ownership.
  ~ The ASF licenses this file to You under the Apache License, Version 2.0
  ~ (the "License"); you may not use this file except in compliance with
  ~ the License. You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->
<features name="artemis-1.5.3.jbossorg-003" xmlns="http://karaf.apache.org/xmlns/features/v1.3.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.3.0 http://karaf.apache.org/xmlns/features/v1.3.0">

  <feature name="artemis" version="1.5.3.jbossorg-003" description="Full ActiveMQ Artemis broker with default configuration">
    <feature>artemis-core</feature>
    <feature>artemis-amqp</feature>
    <feature>artemis-stomp</feature>
    <feature>artemis-mqtt</feature>
    <feature>artemis-hornetq</feature>
    <feature>artemis-openwire</feature>
  </feature>

	<feature name="netty-core" version="4.1.5.Final" description="Netty libraries">
		<bundle>mvn:io.netty/netty-common/4.1.5.Final</bundle>
		<bundle>mvn:io.netty/netty-resolver/4.1.5.Final</bundle>
		<bundle>mvn:io.netty/netty-transport/4.1.5.Final</bundle>
		<bundle>mvn:io.netty/netty-buffer/4.1.5.Final</bundle>
		<bundle>mvn:io.netty/netty-codec/4.1.5.Final</bundle>
		<bundle>mvn:io.netty/netty-handler/4.1.5.Final</bundle>
	</feature>

	<feature name="artemis-core" version="1.5.3.jbossorg-003" description="ActiveMQ Artemis broker libraries">
		<feature>transaction</feature>
		<feature>netty-core</feature>
		<feature>scr</feature>
		<configfile finalname="etc/org.apache.activemq.artemis.cfg">mvn:org.apache.activemq/artemis-features/1.5.3.jbossorg-003/cfg</configfile>
		<configfile finalname="etc/artemis.xml">mvn:org.apache.activemq/artemis-features/1.5.3.jbossorg-003/xml/artemis</configfile>

		<bundle>mvn:org.apache.geronimo.specs/geronimo-jms_2.0_spec/1.0-alpha-2</bundle>
		<bundle>mvn:com.google.guava/guava/19.0</bundle>
		<bundle>mvn:io.netty/netty-codec-http/4.1.5.Final</bundle>
		<bundle>mvn:commons-beanutils/commons-beanutils/1.9.2</bundle>
		<bundle>mvn:commons-collections/commons-collections/3.2.2</bundle>

		<bundle>mvn:org.jboss.logging/jboss-logging/3.3.0.Final</bundle>
		<bundle>mvn:org.jgroups/jgroups/3.6.9.Final</bundle>

		<bundle>mvn:org.apache.geronimo.specs/geronimo-json_1.0_spec/1.0-alpha-1</bundle>
		<bundle>mvn:org.apache.johnzon/johnzon-core/0.9.5</bundle>

		<bundle>mvn:org.apache.activemq/artemis-native/1.5.3.jbossorg-003</bundle>
		<bundle>mvn:org.apache.activemq/artemis-server-osgi/1.5.3.jbossorg-003</bundle>
	</feature>

	<feature name="artemis-amqp" version="1.5.3.jbossorg-003" description="ActiveMQ Artemis AMQP protocol libraries">
		<feature prerequisite="true">wrap</feature>
		<feature>artemis-core</feature>
		<bundle>wrap:mvn:org.apache.qpid/proton-j/0.16.0</bundle>
		<bundle>wrap:mvn:org.apache.qpid/qpid-jms-client/0.11.0</bundle>
		<bundle>mvn:org.apache.activemq/artemis-amqp-protocol/1.5.3.jbossorg-003</bundle>
	</feature>

	<feature name="artemis-stomp" version="1.5.3.jbossorg-003" description="ActiveMQ Artemis Stomp protocol libraries">
		<feature>artemis-core</feature>
		<bundle>mvn:org.apache.activemq/artemis-stomp-protocol/1.5.3.jbossorg-003</bundle>
	</feature>

	<feature name="artemis-mqtt" version="1.5.3.jbossorg-003" description="ActiveMQ Artemis MQTT protocol libraries">
		<feature>artemis-core</feature>
		<bundle>mvn:io.netty/netty-codec-mqtt/4.1.5.Final</bundle>
		<bundle>mvn:org.apache.activemq/artemis-mqtt-protocol/1.5.3.jbossorg-003</bundle>
	</feature>

	<feature name="artemis-hornetq" version="1.5.3.jbossorg-003" description="ActiveMQ Artemis HornetQ protocol libraries">
		<feature>artemis-core</feature>
		<bundle>mvn:org.apache.activemq/artemis-hqclient-protocol/1.5.3.jbossorg-003</bundle>
		<bundle>mvn:org.apache.activemq/artemis-hornetq-protocol/1.5.3.jbossorg-003</bundle>
	</feature>

	<feature name="artemis-openwire" version="1.5.3.jbossorg-003" description="ActiveMQ Artemis HornetQ protocol libraries">
		<feature>artemis-core</feature>
		<bundle>mvn:org.fusesource.hawtbuf/hawtbuf/1.11</bundle>
		<bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
		<bundle>mvn:org.apache.activemq/artemis-openwire-protocol/1.5.3.jbossorg-003</bundle>
	</feature>

</features>