<?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="jpa">
    <props>
        <prop name="org.wildfly.rule.expected-file" value="[/META-INF/persistence.xml,/WEB-INF/classes/META-INF/persistence.xml]"/>
        <prop name="org.wildfly.rule.annotations" value="jakarta.persistence"/>
        <prop name="org.wildfly.rule.class" value="jakarta.persistence,jakarta.persistence.criteria"/>
    </props>
    <dependencies>
        <layer name="datasources"/>
        <layer name="bean-validation" optional="true"/>
    </dependencies>
    <feature-group name="jpa"/>
    <feature-group name="infinispan-local-hibernate"/>
</layer-spec>