<?xml version="1.0" encoding="UTF-8"?>
<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>
        <artifactId>api-gateway-tests-integration-tita</artifactId>
        <groupId>com.mulesoft.anypoint</groupId>
        <version>4.6.7</version>
    </parent>

    <artifactId>api-gateway-tests-metrics</artifactId>
    <name>API Gateway Metrics Integration Tests</name>

    <properties>
        <formatterConfigPath>../../../formatter.xml</formatterConfigPath>

        <muleMavenClientApi>1.4.0</muleMavenClientApi>
        <muleMavenClientImpl>1.4.0</muleMavenClientImpl>
        <clientIdEnforcementVersion>1.4.0</clientIdEnforcementVersion>

        <javaModuleName>com.mulesoft.anypoint.gw.tests.integration.tita.metrics</javaModuleName>
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.mule</groupId>
            <artifactId>mule-maven-client-impl</artifactId>
            <version>${muleMavenClientVersion}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mule</groupId>
            <artifactId>mule-maven-client-api</artifactId>
            <version>${muleMavenClientVersion}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.mulesoft.anypoint.tita.policy</groupId>
            <artifactId>set-payload-policy</artifactId>
            <version>${apiGatewayTitaArtifactsVersion}</version>
            <classifier>mule-policy</classifier>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.mulesoft.anypoint.tita.policy</groupId>
            <artifactId>set-event-data-policy</artifactId>
            <version>${apiGatewayTitaArtifactsVersion}</version>
            <classifier>mule-policy</classifier>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.mulesoft.anypoint.policy.template</groupId>
            <artifactId>client-id-enforcement</artifactId>
            <version>${clientIdEnforcementVersion}</version>
            <classifier>mule-policy</classifier>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.mulesoft.anypoint</groupId>
            <artifactId>tita-junit-runner</artifactId>
            <version>${apiGatewayTitaVersion}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>io.qameta.allure</groupId>
            <artifactId>allure-junit4</artifactId>
            <version>${allureJunitVersion}</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <argLine>@{argLine} -Dfile.encoding=UTF-8 -XX:+IgnoreUnrecognizedVMOptions -XX:MaxPermSize=128m</argLine>
                    <systemPropertyVariables>
                        <titaTestingVersion>${project.version}</titaTestingVersion>
                    </systemPropertyVariables>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>

