<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ JBoss, Home of Professional Open Source.
  ~ Copyright 2012 Red Hat, Inc., and individual 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 name="io.undertow-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.0.0">

    <feature name="undertow" version="${project.version}">
        <bundle dependency="true">mvn:jakarta.annotation/jakarta.annotation-api/${version.jakarta.annotation.jakarta-annotation-api}</bundle>
        <bundle dependency="true">mvn:jakarta.servlet/jakarta.servlet-api/${version.jakarta.servlet.jakarta-servlet-api}</bundle>
        <bundle dependency="true">mvn:jakarta.websocket/jakarta.websocket-api/${version.jakarta.websocket.jakarta-websocket-api}</bundle>
        <bundle dependency="true">mvn:jakarta.websocket/jakarta.websocket-client-api/${version.jakarta.websocket.jakarta-websocket-api}</bundle>

        <bundle>mvn:org.jboss.xnio/xnio-api/${version.xnio}</bundle>
        <bundle>mvn:org.jboss.xnio/xnio-nio/${version.xnio}</bundle>
        <bundle>mvn:io.undertow/undertow-core/${project.version}</bundle>
        <bundle>mvn:io.undertow/undertow-servlet/${project.version}</bundle>
        <bundle>mvn:io.undertow/undertow-websockets-jsr/${project.version}</bundle>

        <bundle dependency="true">wrap:mvn:org.jboss.threads/jboss-threads/${version.org.jboss.threads}</bundle>
        <bundle dependency="true">wrap:mvn:org.wildfly.common/wildfly-common/${version.org.wildfly.common}$Export-Package=org.wildfly.common.*;-noimport:=true;version="${version.org.wildfly.common}"</bundle>
        <bundle dependency="true">mvn:org.wildfly.client/wildfly-client-config/${version.org.wildfly.client-config}</bundle>
    </feature>

</features>
