<?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.connectivity</groupId>
        <artifactId>rest-sdk-all</artifactId>
        <version>0.1.2</version>
    </parent>

    <artifactId>rest-sdk-cli-it</artifactId>

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

    <dependencies> 
        <dependency>
            <groupId>com.mulesoft.connectivity</groupId>
            <artifactId>rest-sdk-cli</artifactId>
            <classifier>jar-with-dependencies</classifier>
            <version>${project.version}</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>generate-test-resources</phase>
                        <goals>
                            <goal>copy-dependencies</goal>
                        </goals>
                        <configuration>
                            <outputDirectory>${project.build.directory}/test-classes/assembly</outputDirectory>
                            <includeArtifactIds>rest-sdk-cli</includeArtifactIds>
                            <includeClassifiers>jar-with-dependencies</includeClassifiers>
                            <stripVersion>true</stripVersion>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
