<?xml version="1.0" ?>
<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->

<layer-spec xmlns="urn:jboss:galleon:layer-spec:2.0" name="jaxrs-server">
    <props>
        <prop name="org.wildfly.rule.kind" value="base-layer"/>
    </props>
    <dependencies>
        <layer name="datasources-web-server"/>
        <!-- cloud-server depends on jaxrs-server, jaxrs could be excluded from cloud-server,
             this is why jaxrs is an optional dependency -->
        <layer name="jaxrs" optional="true"/>
        <layer name="bean-validation" optional="true"/>
        <layer name="cdi" optional="true"/>
        <layer name="jpa" optional="true"/>
        <!-- The above content is copied from the wildfly-ee feature pack variant of this file.
             In standard WildFly the wildfly feature pack also declares this layer, but since that FP
             depends on wildfly-ee, its minimal content gets applied 'on top' of what wildfly-ee
             does. But the wildfly-preview feature pack does not depend on wildfly-ee, so we need
             to declare here both the 'wildfly-ee' content and the 'wildfly' content. This next
             bit is the 'wildfly' content. -->
        <layer name="microprofile-rest-client" optional="true"/>
    </dependencies>
</layer-spec>
