<?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>
        <groupId>com.mulesoft.anypoint</groupId>
        <artifactId>api-gateway-tests-integration</artifactId>
        <version>4.7.2</version>
    </parent>

    <artifactId>api-gateway-test-dependencies</artifactId>

    <name>API Gateway Test Dependencies</name>

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

        <guavaVersion>23.5-jre</guavaVersion>
        <commonsCodecVersion>1.9</commonsCodecVersion>
        <laterHttpConnectorVersion>1.5.6</laterHttpConnectorVersion>
        <jacksonVersion>2.9.2</jacksonVersion>

        <javaModuleName>com.mulesoft.anypoint.gw.tests.integration.test.dependencies</javaModuleName>
    </properties>

    <!--TODO AGW-1683 Add mvn repositories to FakeGatewayServer-->
    <dependencies>
        <dependency>
            <groupId>org.mule.connectors</groupId>
            <artifactId>mule-http-connector</artifactId>
            <classifier>mule-plugin</classifier>
            <version>${muleHttpConnectorVersion}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mule.connectors</groupId>
            <artifactId>mule-http-connector</artifactId>
            <classifier>mule-plugin</classifier>
            <version>${laterHttpConnectorVersion}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>commons-codec</groupId>
            <artifactId>commons-codec</artifactId>
            <version>${commonsCodecVersion}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.mulesoft.modules</groupId>
            <artifactId>mule-secure-configuration-property-module</artifactId>
            <classifier>mule-plugin</classifier>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.mulesoft.anypoint.tita</groupId>
            <artifactId>artifacts-bom</artifactId>
            <version>${apiGatewayTitaArtifactsVersion}</version>
            <scope>test</scope>
        </dependency>
        <!-- Jackson explicitly defined to resolve conflict between multiple versions from multiple dependencies. This one is required by TITA Artifact extension -->
        <!-- This can be solved by compiling the policy templates with maven, but that would probably make tests slower -->
        <dependency>
            <groupId>com.fasterxml.jackson.jaxrs</groupId>
            <artifactId>jackson-jaxrs-json-provider</artifactId>
            <version>${jacksonVersion}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-databind</artifactId>
            <version>${jacksonVersion}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-core</artifactId>
            <version>${jacksonVersion}</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
</project>
