<?xml version="1.0" encoding="UTF-8"?>
<!-- @formatter:off -->
<!-- ***************************************************************************
* Copyright 2014 EUROPEAN DYNAMICS SA <info@eurodyn.com>
*
* Licensed under the EUPL, Version 1.1 only (the "License").
* You may not use this work except in compliance with the Licence.
* You may obtain a copy of the Licence at:
* https://joinup.ec.europa.eu/software/page/eupl/licence-eupl
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the Licence is distributed on an "AS IS" basis,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the Licence for the specific la
 *************************************************************************** -->

<!--
feature:repo-add mvn:com.eurodyn.qlack2.util/qlack2-util-karaf-features/xml/features
-->
<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="QLACK2-UTIL">
  <!-- External repositories needed for this features set -->
  <repository>mvn:com.eurodyn.qlack2.util/qlack2-util-repack-karaf-features/2.3.2/xml/features</repository>
  <repository>mvn:org.apache.cxf.karaf/apache-cxf/3.1.8/xml/features</repository>

  <feature name="qlack2-util-sso" version="2.3.2">
    <bundle>mvn:javax.servlet/javax.servlet-api/3.1.0</bundle>
    <bundle>mvn:com.eurodyn.qlack2.util/qlack2-util-sso/2.3.2</bundle>
  </feature>

  <feature name="qlack2-util-jbpm-runtime" version="2.3.2">
    <feature version="2.3.2">qlack2-util-repack-jpa</feature>
    <feature version="7.3.0.Final">qlack2-util-repack-drools-common</feature>
    <feature version="7.3.0.Final">qlack2-util-repack-jbpm-commons</feature>
    <bundle>mvn:commons-codec/commons-codec/1.8</bundle>
    <bundle>mvn:com.eurodyn.qlack2.util/qlack2-util-jbpm-util-hibernate-core-kie/2.3.2</bundle>
    <bundle>mvn:joda-time/joda-time/2.2</bundle>
    <bundle>mvn:org.jboss.spec.javax.security.jacc/jboss-jacc-api_1.4_spec/1.0.2.Final</bundle>
    <bundle>mvn:javax.servlet/javax.servlet-api/3.1.0</bundle>
    <bundle>mvn:com.eurodyn.qlack2.util/qlack2-util-jbpm-runtime/2.3.2/jar/jbpm-runtime</bundle>
  </feature>

  <feature name="qlack2-util-atmosphere" version="2.3.2">
    <feature>qlack2-util-repack-jackson</feature>
    <bundle>mvn:com.eurodyn.qlack2.util/qlack2-util-cluster-core/2.3.2</bundle>
    <bundle>mvn:org.atmosphere/atmosphere-runtime/2.4.0</bundle>
    <bundle>mvn:javax.servlet/javax.servlet-api/3.1.0</bundle>
    <bundle>mvn:commons-collections/commons-collections/3.2.1</bundle>
    <bundle>mvn:com.eurodyn.qlack2.util/qlack2-util-cluster-core/2.3.2</bundle>
    <bundle>mvn:com.eurodyn.qlack2.util/qlack2-util-atmosphere-api/2.3.2</bundle>
    <bundle>mvn:com.eurodyn.qlack2.util/qlack2-util-atmosphere-impl/2.3.2</bundle>
    <bundle>mvn:com.eurodyn.qlack2.util/qlack2-util-atmosphere-commands/2.3.2</bundle>
  </feature>

  <feature name="qlack2-util-cluster-hazelcast" version="2.3.2">
    <configfile finalname="/etc/com.eurodyn.qlack2.util.cluster.hazelcast.cfg">mvn:com.eurodyn.qlack2.util/qlack2-util-cluster-hazelcast/2.3.2/cfg/config-admin</configfile>
    <bundle>mvn:org.apache.commons/commons-lang3/3.5</bundle>
    <bundle>mvn:com.hazelcast/hazelcast/3.4.6</bundle>
    <bundle>mvn:com.eurodyn.qlack2.util/qlack2-util-cluster-core/2.3.2</bundle>
    <bundle>mvn:com.eurodyn.qlack2.util/qlack2-util-cluster-hazelcast/2.3.2</bundle>
  </feature>

  <feature name="qlack2-util-cluster-dummy" version="2.3.2">
    <bundle>mvn:org.apache.commons/commons-lang3/3.5</bundle>
    <bundle>mvn:com.eurodyn.qlack2.util/qlack2-util-cluster-core/2.3.2</bundle>
    <bundle>mvn:com.eurodyn.qlack2.util/qlack2-util-cluster-dummy/2.3.2</bundle>
  </feature>

  <feature name="qlack2-util-hibernate-validator" version="2.3.2">
    <feature version="5.0.3.Final">hibernate-validator</feature>
    <bundle>mvn:commons-beanutils/commons-beanutils/1.9.2</bundle>
    <bundle>mvn:commons-collections/commons-collections/3.2.1</bundle>
    <bundle>mvn:com.eurodyn.qlack2.util/qlack2-util-hibernate-validator/2.3.2</bundle>
  </feature>

  <feature name="qlack2-util-validator-util" version="2.3.2">
    <feature version="5.0.3.Final">hibernate-validator</feature>
    <feature>qlack2-util-repack-jackson</feature>
    <bundle>mvn:com.eurodyn.qlack2.util/qlack2-util-validator-util/2.3.2</bundle>
    <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.aspectj/1.8.5_1</bundle>
    <bundle>mvn:javax.ws.rs/javax.ws.rs-api/2.0</bundle>
  </feature>

  <feature name="qlack2-util-jsr-validator-util" version="2.3.2">
    <feature version="5.0.3.Final">hibernate-validator</feature>
    <feature>qlack2-util-repack-jackson</feature>
    <bundle>mvn:com.eurodyn.qlack2.util/qlack2-util-jsr-validator-util/2.3.2</bundle>
  </feature>

  <feature name="qlack2-util-rest" version="2.3.2">
    <feature>qlack2-util-repack-jackson</feature>
    <bundle>mvn:com.eurodyn.qlack2.util/qlack2-util-rest/2.3.2</bundle>
  </feature>

  <feature name="qlack2-util-jndi-alias" version="2.3.2">
    <bundle>mvn:org.apache.commons/commons-lang3/3.5</bundle>
    <!-- Set start-level to 81, so that pax-jdbc has the chance to register
       the source DS. Otherwise, we may be waiting for the source DS to
       appear blocking everyone else (including pax-jdbc with SL80 to
       actually deploy the DS we are waiting for).-->
    <bundle start-level="81">mvn:com.eurodyn.qlack2.util/qlack2-util-jndi-alias/2.3.2</bundle>
  </feature>

  <feature name="qlack2-util-liquibase" version="2.3.2">
    <feature dependency="true">pax-cdi</feature>
    <feature dependency="true">jndi</feature>
    <bundle dependency="true">mvn:org.yaml/snakeyaml/1.17</bundle>
    <bundle dependency="true">mvn:org.liquibase/liquibase-core/3.5.3</bundle>
    <bundle dependency="true">mvn:org.apache.commons/commons-lang3/3.5</bundle>
    <bundle start-level="79">mvn:com.eurodyn.qlack2.util/qlack2-util-liquibase-api/2.3.2</bundle>
    <bundle start-level="79">mvn:com.eurodyn.qlack2.util/qlack2-util-liquibase-impl/2.3.2</bundle>
  </feature>

</features>
