<?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="bean-validation">
    <props>
        <prop name="org.wildfly.rule.annotations" value="jakarta.validation.*"/>
        <prop name="org.wildfly.rule.class" value="jakarta.validation.*"/>
    </props>
    <dependencies>
        <layer name="base-server"/>
        <layer name="cdi" optional="true"/>
    </dependencies>
    <feature spec="subsystem.bean-validation"/>
</layer-spec>