<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>com.finconsgroup.itserr.marketplace</groupId>
    <artifactId>wp2-be-event-dm</artifactId>
    <version>1.8.0</version>
  </parent>
  <groupId>com.finconsgroup.itserr.marketplace</groupId>
  <artifactId>wp2-be-event-dm-server</artifactId>
  <version>1.8.0</version>
  <name>wp2-be-event-dm-server</name>
  <description>Event Dm Application</description>
  <licenses>
    <license />
  </licenses>
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <sonar.scanner.javaOpts>${itserr.core.jpa.sonar.javaOpts}</sonar.scanner.javaOpts>
  </properties>
  <dependencies>
    <dependency>
      <groupId>com.finconsgroup.itserr.marketplace</groupId>
      <artifactId>core-logging</artifactId>
    </dependency>
    <dependency>
      <groupId>com.finconsgroup.itserr.marketplace</groupId>
      <artifactId>core-web</artifactId>
    </dependency>
    <dependency>
      <groupId>com.finconsgroup.itserr.marketplace</groupId>
      <artifactId>core-data-jpa</artifactId>
    </dependency>
    <dependency>
      <groupId>com.finconsgroup.itserr.marketplace</groupId>
      <artifactId>core-metrics</artifactId>
    </dependency>
    <dependency>
      <groupId>com.finconsgroup.itserr.marketplace</groupId>
      <artifactId>core-i18n</artifactId>
    </dependency>
    <dependency>
      <groupId>com.finconsgroup.itserr.marketplace</groupId>
      <artifactId>wp2-be-event-dm-client</artifactId>
    </dependency>
    <dependency>
      <groupId>com.finconsgroup.itserr.marketplace</groupId>
      <artifactId>core-admin</artifactId>
    </dependency>
    <dependency>
      <groupId>org.postgresql</groupId>
      <artifactId>postgresql</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springdoc</groupId>
      <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
    </dependency>
    <dependency>
      <groupId>org.mapstruct</groupId>
      <artifactId>mapstruct</artifactId>
    </dependency>
    <dependency>
      <groupId>io.rest-assured</groupId>
      <artifactId>rest-assured</artifactId>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <groupId>commons-logging</groupId>
          <artifactId>commons-logging</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.finconsgroup.itserr.marketplace</groupId>
      <artifactId>core-web-test</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.finconsgroup.itserr.marketplace</groupId>
      <artifactId>core-data-jpa-test</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>${java.version}</source>
          <target>${java.version}</target>
          <annotationProcessorPaths>
            <path>
              <groupId>org.projectlombok</groupId>
              <artifactId>lombok</artifactId>
            </path>
            <path>
              <groupId>org.mapstruct</groupId>
              <artifactId>mapstruct-processor</artifactId>
            </path>
            <path>
              <groupId>org.projectlombok</groupId>
              <artifactId>lombok-mapstruct-binding</artifactId>
            </path>
          </annotationProcessorPaths>
          <compilerArgs>-Amapstruct.unmappedTargetPolicy=ERROR</compilerArgs>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
          <execution>
            <id>copy-findsecbugs-dependencies</id>
            <phase>compile</phase>
            <goals>
              <goal>unpack</goal>
            </goals>
            <configuration>
              <artifactItems>
                <artifactItem>
                  <groupId>com.finconsgroup.itserr.marketplace</groupId>
                  <artifactId>core-data-jpa</artifactId>
                  <version>${itserr.core.version}</version>
                  <type>jar</type>
                  <overWrite>true</overWrite>
                </artifactItem>
              </artifactItems>
              <includes>findsecbugs/*.txt</includes>
              <outputDirectory>${project.build.outputDirectory}</outputDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>
