<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.mule.extensions</groupId>
        <artifactId>mule-modules-parent</artifactId>
        <version>1.6.3</version>
        <relativePath/>
    </parent>

    <groupId>org.mule.tests</groupId>
    <artifactId>test-components</artifactId>
    <version>4.6.3</version>
    <packaging>mule-extension</packaging>
    <name>Test Components Extension</name>
    
    <properties>
        <muleSdkApiVersion>0.8.3</muleSdkApiVersion>
        <muleProfilingApiVersion>1.2.3</muleProfilingApiVersion>
        <xmlApisVersion>1.4.01</xmlApisVersion>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <!-- TODO W-13145677 Make the add-opens specific to 'org.mule.test.unit' instead of ALL-UNNAMED --> 
                    <argLine>-XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED</argLine>
                    <workingDirectory>${project.build.directory}</workingDirectory>
                    <systemPropertyVariables>
                        <maven.projectVersion>${project.version}</maven.projectVersion>
                        <!-- MuleArtifactFunctionalTestCase in plugins cannot use the JPMS support -->
                        <mule.classloader.container.jpmsModuleLayer>false</mule.classloader.container.jpmsModuleLayer>
                    </systemPropertyVariables>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>org.mule.sdk</groupId>
            <artifactId>mule-sdk-api</artifactId>
            <version>${muleSdkApiVersion}</version>
        </dependency>
        <dependency>
            <groupId>org.mule.runtime</groupId>
            <artifactId>mule-profiling-api</artifactId>
            <version>${muleProfilingApiVersion}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>xml-apis</groupId>
            <artifactId>xml-apis</artifactId>
            <version>${xmlApisVersion}</version>
        </dependency>
    </dependencies>

</project>
