<?xml version='1.0' encoding='UTF-8'?>
<!--
  ~ Copyright 2016 Red Hat, Inc. and/or its affiliates
  ~ and other contributors as indicated by the @author tags.
  ~
  ~ Licensed 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 xmlns="http://karaf.apache.org/xmlns/features/v1.0.0" name="keycloak-3.3.0.Final">

    <feature name="keycloak-adapter-core" version="3.3.0.Final" resolver="(obr)">
        <details>The keycloak adapter core stuff</details>
        <bundle dependency="true">mvn:org.keycloak/keycloak-osgi-thirdparty/3.3.0.Final</bundle>
        <bundle dependency="true">mvn:org.bouncycastle/bcprov-jdk15on/1.56</bundle>
        <bundle dependency="true">mvn:org.bouncycastle/bcpkix-jdk15on/1.56</bundle>
        <bundle dependency="true">mvn:com.fasterxml.jackson.core/jackson-core/2.5.4</bundle>
        <bundle dependency="true">mvn:com.fasterxml.jackson.core/jackson-annotations/2.5.4</bundle>
        <bundle dependency="true">mvn:com.fasterxml.jackson.core/jackson-databind/2.5.4</bundle>
        <bundle dependency="true">mvn:com.fasterxml.jackson.module/jackson-module-jaxb-annotations/2.5.4</bundle>
        <bundle dependency="true">mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/2.5.4</bundle>
        <bundle dependency="true">mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/2.5.4</bundle>
        <bundle dependency="true">mvn:org.jboss.logging/jboss-logging/3.3.0.Final</bundle>
        <bundle>mvn:org.keycloak/keycloak-common/3.3.0.Final</bundle>
        <bundle>mvn:org.keycloak/keycloak-core/3.3.0.Final</bundle>
        <bundle>mvn:org.keycloak/keycloak-authz-client/3.3.0.Final</bundle>
        <bundle>mvn:org.keycloak/keycloak-adapter-spi/3.3.0.Final</bundle>
        <bundle>mvn:org.keycloak/keycloak-adapter-core/3.3.0.Final</bundle>
    </feature>

    <feature name="keycloak-osgi-adapter" version="3.3.0.Final" resolver="(obr)">
        <details>The keycloak adapter core stuff</details>
        <feature>keycloak-adapter-core</feature>
        <feature version="[2.3,4)">http-whiteboard</feature>
        <bundle>mvn:org.keycloak/keycloak-osgi-adapter/3.3.0.Final</bundle>
    </feature>

    <feature name="keycloak-jetty8-adapter" version="3.3.0.Final" resolver="(obr)">
        <details>The keycloak Jetty8 adapter</details>
        <feature>keycloak-adapter-core</feature>
        <feature version="[8,9)">jetty</feature>
        <bundle>mvn:org.keycloak/keycloak-jetty-adapter-spi/3.3.0.Final</bundle>
        <bundle>mvn:org.keycloak/keycloak-jetty-core/3.3.0.Final</bundle>
        <bundle>mvn:org.keycloak/keycloak-jetty81-adapter/3.3.0.Final</bundle>
    </feature>

    <feature name="keycloak-jetty9-adapter" version="3.3.0.Final" resolver="(obr)">
        <details>The keycloak Jetty9 adapter</details>
        <feature>keycloak-adapter-core</feature>
        <feature version="[9,10)">jetty</feature>
        <bundle>mvn:org.keycloak/keycloak-jetty-adapter-spi/3.3.0.Final</bundle>
        <bundle>mvn:org.keycloak/keycloak-jetty-core/3.3.0.Final</bundle>
        <bundle>mvn:org.keycloak/keycloak-jetty92-adapter/3.3.0.Final</bundle>
    </feature>

    <feature name="keycloak-jaas" version="3.3.0.Final" resolver="(obr)">
        <details>The keycloak JAAS configuration</details>
        <feature>keycloak-adapter-core</feature>
        <bundle>mvn:org.keycloak/keycloak-osgi-jaas/3.3.0.Final</bundle>
    </feature>

    <feature name="keycloak" version="3.3.0.Final" resolver="(obr)">
        <details>The keycloak adapter core stuff</details>
        <feature>keycloak-osgi-adapter</feature>
        <feature>keycloak-jaas</feature>
    </feature>

</features>
