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

    <parent>
        <groupId>org.infinispan</groupId>
        <artifactId>infinispan-parent</artifactId>
        <version>11.0.13.Final</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <artifactId>infinispan-integrationtests-parent</artifactId>
    <name>Infinispan Integration Tests Parent</name>
    <description>Infinispan Integration Tests Parent</description>
    <packaging>pom</packaging>

    <properties>
        <forkJvmArgs>-Xmx500m ${testjvm.commonArgs}</forkJvmArgs>
    </properties>

    <profiles>
        <profile>
            <id>distribution</id>
            <properties>
                <skipTests>true</skipTests>
            </properties>
        </profile>
        <profile>
            <id>customForkJvmArgs</id>
            <activation>
                <activeByDefault>false</activeByDefault>
                <property>
                    <name>env.MAVEN_FORK_OPTS</name>
                </property>
            </activation>
            <properties>
                <forkJvmArgs>${env.MAVEN_FORK_OPTS}</forkJvmArgs>
            </properties>
        </profile>
    </profiles>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <configuration>
                        <trimStackTrace>false</trimStackTrace>
                        <argLine>${forkJvmArgs} ${testjvm.jdkSpecificArgs}</argLine>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
</project>

