<?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>io.axual.client</groupId>
        <artifactId>axual-client-parent</artifactId>
        <version>0.0.1</version>
    </parent>

    <artifactId>report</artifactId>
    <name>Jacoco report aggregator</name>
    <description>This module aggregates the unit test coverage reports for all submodules.</description>

    <properties>
        <sonar.coverage.jacoco.xmlReportPaths>target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
    </properties>

    <dependencies>
        <dependency>
            <groupId>io.axual.client</groupId>
            <artifactId>axual-client</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>io.axual.client</groupId>
            <artifactId>axual-client-proxy</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>io.axual.client</groupId>
            <artifactId>axual-client-spring</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>io.axual.common</groupId>
            <artifactId>axual-common</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>io.axual.discovery</groupId>
            <artifactId>axual-discovery-client</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>io.axual.serde</groupId>
            <artifactId>axual-serde</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>io.axual.streams</groupId>
            <artifactId>axual-streams</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>io.axual.streams</groupId>
            <artifactId>axual-streams-proxy</artifactId>
            <version>${project.version}</version>
        </dependency>

        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>report-aggregate</id>
                        <phase>test</phase>
                        <goals>
                            <goal>report-aggregate</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>