<?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="jsonp">
    <props>
        <prop name="org.wildfly.category" value="Jakarta EE"/>
        <prop name="org.wildfly.description" value="Support for JSON Processing (Jakarta JSON Processing) provisioning the Jakarta JSON Processing API and Implementation modules."/>
        <!--
            Don't use wildcards here to get children of jakarta.json.
            The jsonb layer has jakarta.json.bind, so specify each sub-package properly
        -->
        <prop name="org.wildfly.rule.class" value="jakarta.json,jakarta.json.stream"/>
    </props>
    <dependencies>
        <layer name="base-server"/>
    </dependencies>
    <!-- The base server already includes the packages to provision JsonP modules.
         We add them here just to ensure they are provisioned if base-server changes -->
    <packages>
        <package name="jakarta.json.api"/>
        <package name="org.eclipse.parsson"/>
    </packages>
</layer-spec>
