<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>at.gv.egiz</groupId>
    <artifactId>eaaf</artifactId>
    <version>1.3.3-SNAPSHOT</version>
  </parent>
  <artifactId>build_reporting</artifactId>
  <packaging>pom</packaging>
  <name>Reporting Module</name>

  <dependencies>
    <dependency>
      <groupId>at.gv.egiz.eaaf</groupId>
      <artifactId>eaaf_core_api</artifactId>
    </dependency>
    <dependency>
      <groupId>at.gv.egiz.eaaf</groupId>
      <artifactId>eaaf_core_utils</artifactId>
    </dependency>
    <dependency>
      <groupId>at.gv.egiz.eaaf</groupId>
      <artifactId>eaaf-core</artifactId>
    </dependency>
    <dependency>
      <groupId>at.gv.egiz.eaaf</groupId>
      <artifactId>eaaf_module_auth_sl20</artifactId>
    </dependency>
    <dependency>
      <groupId>at.gv.egiz.eaaf</groupId>
      <artifactId>eaaf_module_moa-sig</artifactId>
    </dependency>
    <dependency>
      <groupId>at.gv.egiz.eaaf</groupId>
      <artifactId>eaaf_module_pvp2_core</artifactId>
    </dependency>
    <dependency>
      <groupId>at.gv.egiz.eaaf</groupId>
      <artifactId>eaaf_module_pvp2_idp</artifactId>
    </dependency>
    <dependency>
      <groupId>at.gv.egiz.eaaf</groupId>
      <artifactId>eaaf_module_pvp2_sp</artifactId>
    </dependency>
    <dependency>
      <groupId>at.gv.egiz.eaaf</groupId>
      <artifactId>eaaf-springboot-utils</artifactId>
    </dependency>
    
    <!-- only to fix false-positive during vulnerability  checks -->
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-webmvc</artifactId>
      <scope>provided</scope>
    </dependency>
       
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
        <version>${jacoco-maven-plugin.version}</version>
        <executions>
          <!-- aggregated unit test coverage report -->
          <execution>
            <id>aggregate-reports-ut</id>
            <phase>test</phase>
            <goals>
              <goal>report-aggregate</goal>
            </goals>
            <configuration>
              <title>Maven Multimodule Coverage Demo: Coverage of Unit Tests</title>
              <outputDirectory>${project.reporting.outputDirectory}/jacoco-aggregate-ut</outputDirectory>
              <dataFileExcludes>
                <!-- exclude coverage data of integration tests -->
                <dataFileExclude>**/target/jacoco-it.exec</dataFileExclude>
              </dataFileExcludes>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

</project>