<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->

<build xmlns="urn:wildfly:feature-pack-build:3.4" producer="wildfly-preview@maven(org.jboss.universe:community-universe):current">

    <default-packages>
        <package name="modules.all"/>
        <package name="docs"/>
        <package name="docs.licenses.merge"/>
        <!-- appclient is not referenced from standalone nor domain configuration models.-->
        <package name="appclient"/>
        <package name="bin"/>
    </default-packages>

    <stability-levels>
        <minimum-stability-level>experimental</minimum-stability-level>
        <config-stability-level>preview</config-stability-level>
        <package-stability-level>experimental</package-stability-level>
    </stability-levels>
    <!--
      When building this feature pack the WildFly Galleon Plugin generates a docs.schema Galleon package,
      which is used to provision the contents of the 'docs/schema' directory in a WildFly installation.
      To do this the plugin inspects maven artifacts that would be provisioned by the feature pack,
      looking for those whose Maven groupId matches one of the groupIds listed below.
      For all matching artifacts, the plugin checks for the existence of a 'schema' directory at the artifact root.
      If such a directory is found, the plugin copies out the directory contents and includes them
      in the feature pack as part of the 'docs.schema' package it generates.
     -->
    <package-schemas>
        <group name="org.jboss.metadata"/>
        <group name="org.wildfly"/>
        <group name="org.wildfly.core"/>
    </package-schemas>

    <config name="standalone.xml" model="standalone"/>
    <config name="standalone-ha.xml" model="standalone"/>
    <config name="standalone-full.xml" model="standalone"/>
    <config name="standalone-full-ha.xml" model="standalone"/>
    <config name="standalone-load-balancer.xml" model="standalone"/>
    <config name="standalone-microprofile.xml" model="standalone"/>
    <config name="standalone-microprofile-ha.xml" model="standalone"/>
    <config name="domain.xml" model="domain"/>
    <config name="host.xml" model="host"/>
    <config name="host-primary.xml" model="host"/>
    <config name="host-secondary.xml" model="host"/>

    <plugins>
        <plugin artifact="org.wildfly.galleon-plugins:wildfly-galleon-plugins"/>
    </plugins>

    <generate-feature-specs>
        <extensions>
            <standalone>
                <extension>org.jboss.as.clustering.infinispan</extension>
                <extension>org.jboss.as.clustering.jgroups</extension>
                <extension>org.jboss.as.connector</extension>
                <extension>org.jboss.as.deployment-scanner</extension>
                <extension>org.jboss.as.ee</extension>
                <extension>org.jboss.as.ejb3</extension>
                <extension>org.jboss.as.jaxrs</extension>
                <extension>org.jboss.as.jdr</extension>
                <extension>org.jboss.as.jmx</extension>
                <extension>org.jboss.as.jpa</extension>
                <extension>org.jboss.as.jsf</extension>
                <extension>org.jboss.as.logging</extension>
                <extension>org.jboss.as.mail</extension>
                <extension>org.jboss.as.modcluster</extension>
                <extension>org.jboss.as.naming</extension>
                <extension>org.jboss.as.pojo</extension>
                <extension>org.jboss.as.remoting</extension>
                <extension>org.jboss.as.sar</extension>
                <extension>org.jboss.as.transactions</extension>
                <extension>org.jboss.as.webservices</extension>
                <extension>org.jboss.as.weld</extension>
                <extension>org.jboss.as.xts</extension>
                <extension>org.wildfly.extension.batch.jberet</extension>
                <extension>org.wildfly.extension.bean-validation</extension>
                <extension>org.wildfly.extension.clustering.ejb</extension>
                <extension>org.wildfly.extension.clustering.singleton</extension>
                <extension>org.wildfly.extension.clustering.web</extension>
                <extension>org.wildfly.extension.core-management</extension>
                <extension>org.wildfly.extension.discovery</extension>
                <extension>org.wildfly.extension.ee-security</extension>
                <extension>org.wildfly.extension.elytron</extension>
                <extension>org.wildfly.extension.elytron-oidc-client</extension>
                <extension>org.wildfly.extension.health</extension>
                <extension>org.wildfly.extension.jakarta.data</extension>
                <extension>org.wildfly.extension.io</extension>
                <extension>org.wildfly.extension.messaging-activemq</extension>
                <extension>org.wildfly.extension.metrics</extension>
                <extension>org.wildfly.extension.micrometer</extension>
                <extension>org.wildfly.extension.microprofile.config-smallrye</extension>
                <extension>org.wildfly.extension.microprofile.fault-tolerance-smallrye</extension>
                <extension>org.wildfly.extension.microprofile.health-smallrye</extension>
                <extension>org.wildfly.extension.microprofile.jwt-smallrye</extension>
                <extension>org.wildfly.extension.microprofile.lra-coordinator</extension>
                <extension>org.wildfly.extension.microprofile.lra-participant</extension>
                <extension>org.wildfly.extension.microprofile.metrics-smallrye</extension>
                <extension>org.wildfly.extension.microprofile.openapi-smallrye</extension>
                <extension>org.wildfly.extension.microprofile.telemetry</extension>
                <extension>org.wildfly.extension.microprofile.opentracing-smallrye</extension>
                <extension>org.wildfly.extension.microprofile.reactive-messaging-smallrye</extension>
                <extension>org.wildfly.extension.microprofile.reactive-streams-operators-smallrye</extension>
                <extension>org.wildfly.extension.mvc-krazo</extension>
                <extension>org.wildfly.extension.opentelemetry</extension>
                <extension>org.wildfly.extension.request-controller</extension>
                <extension>org.wildfly.extension.rts</extension>
                <extension>org.wildfly.extension.security.manager</extension>
                <extension>org.wildfly.extension.undertow</extension>
                <extension>org.wildfly.extension.vertx</extension>
                <extension>org.wildfly.iiop-openjdk</extension>
            </standalone>
            <domain>
                <extension>org.jboss.as.clustering.infinispan</extension>
                <extension>org.jboss.as.clustering.jgroups</extension>
                <extension>org.jboss.as.connector</extension>
                <extension>org.jboss.as.ee</extension>
                <extension>org.jboss.as.ejb3</extension>
                <extension>org.jboss.as.jaxrs</extension>
                <extension>org.jboss.as.jdr</extension>
                <extension>org.jboss.as.jmx</extension>
                <extension>org.jboss.as.jpa</extension>
                <extension>org.jboss.as.jsf</extension>
                <extension>org.jboss.as.logging</extension>
                <extension>org.jboss.as.mail</extension>
                <extension>org.jboss.as.modcluster</extension>
                <extension>org.jboss.as.naming</extension>
                <extension>org.jboss.as.pojo</extension>
                <extension>org.jboss.as.remoting</extension>
                <extension>org.jboss.as.sar</extension>
                <extension>org.jboss.as.transactions</extension>
                <extension>org.jboss.as.webservices</extension>
                <extension>org.jboss.as.weld</extension>
                <extension>org.jboss.as.xts</extension>
                <extension>org.wildfly.extension.batch.jberet</extension>
                <extension>org.wildfly.extension.bean-validation</extension>
                <extension>org.wildfly.extension.clustering.ejb</extension>
                <extension>org.wildfly.extension.clustering.singleton</extension>
                <extension>org.wildfly.extension.clustering.web</extension>
                <extension>org.wildfly.extension.core-management</extension>
                <extension>org.wildfly.extension.discovery</extension>
                <extension>org.wildfly.extension.ee-security</extension>
                <extension>org.wildfly.extension.elytron</extension>
                <extension>org.wildfly.extension.jakarta.data</extension>
                <extension>org.wildfly.extension.io</extension>
                <extension>org.wildfly.extension.messaging-activemq</extension>
                <extension>org.wildfly.extension.microprofile.config-smallrye</extension>
                <extension>org.wildfly.extension.microprofile.fault-tolerance-smallrye</extension>
                <extension>org.wildfly.extension.microprofile.health-smallrye</extension>
                <extension>org.wildfly.extension.microprofile.jwt-smallrye</extension>
                <extension>org.wildfly.extension.microprofile.lra-coordinator</extension>
                <extension>org.wildfly.extension.microprofile.lra-participant</extension>
                <extension>org.wildfly.extension.microprofile.metrics-smallrye</extension>
                <extension>org.wildfly.extension.microprofile.openapi-smallrye</extension>
                <extension>org.wildfly.extension.microprofile.telemetry</extension>
                <extension>org.wildfly.extension.microprofile.opentracing-smallrye</extension>
                <extension>org.wildfly.extension.microprofile.reactive-messaging-smallrye</extension>
                <extension>org.wildfly.extension.microprofile.reactive-streams-operators-smallrye</extension>
                <extension>org.wildfly.extension.mvc-krazo</extension>
                <extension>org.wildfly.extension.opentelemetry</extension>
                <extension>org.wildfly.extension.request-controller</extension>
                <extension>org.wildfly.extension.rts</extension>
                <extension>org.wildfly.extension.security.manager</extension>
                <extension>org.wildfly.extension.undertow</extension>
                <extension>org.wildfly.extension.vertx</extension>
                <extension>org.wildfly.iiop-openjdk</extension>
            </domain>
            <host>
                <extension>org.jboss.as.jmx</extension>
                <extension>org.wildfly.extension.core-management</extension>
                <extension>org.wildfly.extension.discovery</extension>
                <extension>org.wildfly.extension.elytron</extension>
            </host>
        </extensions>
    </generate-feature-specs>
</build>
