<?xml version="1.0" encoding="UTF-8"?>
<arquillian xmlns="http://jboss.org/schema/arquillian" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://jboss.org/schema/arquillian
        http://jboss.org/schema/arquillian/arquillian_1_0.xsd">

    <!-- Need to set the default protocol and use resource filtering, because of https://issues.jboss.org/browse/ARQ-579 -->
    <defaultProtocol type="${arquillian.protocol}"/>

    <engine>
        <property name="deploymentExportPath">target/artifacts</property>
    </engine>

    <container qualifier="local" default="true">
        <protocol type="Local"/>
        <!-- Takes no effect - ARQ-579 -->
    </container>

    <container qualifier="incontainer">
        <protocol type="Servlet 3.0"/>
        <!-- Takes no effect - ARQ-579 -->
        <configuration>
            <property name="jbossHome">${wildflyTargetDir}</property>
            <property name="javaVmArguments">${arquillian.javaVmArguments.add-opens}
                -Xmx1024m -XX:MaxPermSize=512m ${remote.debug}
                -Dvalidation.provider=${validation.provider}
            </property>
            <property name="allowConnectingToRunningServer">true</property>
        </configuration>
    </container>

</arquillian>