<?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>
  <groupId>dk.nsi.minlog2</groupId>
  <artifactId>minlog2_parent</artifactId>
  <version>2.9.0</version>
  <packaging>pom</packaging>
  <name>MinLog2</name>
  <modules>
    <module>nsp-slalog</module>
    <module>service</module>
    <module>consumer</module>
    <module>kafka-proxy</module>
    <module>producer</module>
    <module>shared</module>
    <module>integration-tests</module>
  </modules>
  <scm>
    <connection>scm:git:https://git.nspop.dk/scm/com/minlog.git</connection>
    <developerConnection>scm:git:https://git.nspop.dk/scm/com/minlog.git</developerConnection>
  </scm>
  <properties>
    <byte-buddy.version>1.17.7</byte-buddy.version>
    <maven.compiler.target>21</maven.compiler.target>
    <maven.compiler.source>21</maven.compiler.source>
    <cxf.version>4.2.0</cxf.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.war.plugin.version>3.2.0</maven.war.plugin.version>
    <spring.version>7.0.1</spring.version>
    <log4j.version>2.25.3</log4j.version>
    <security-api.version>1.0.11</security-api.version>
    <revision>local-SNAPSHOT</revision>
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.wildfly.bom</groupId>
        <artifactId>wildfly-ee-with-tools</artifactId>
        <version>34.0.1.Final</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>jakarta.xml.ws</groupId>
        <artifactId>jakarta.xml.ws-api</artifactId>
        <version>4.0.2</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>jakarta.jws</groupId>
        <artifactId>jakarta.jws-api</artifactId>
        <version>3.0.0</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-context</artifactId>
        <version>${spring.version}</version>
      </dependency>
      <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-core</artifactId>
        <version>${spring.version}</version>
      </dependency>
      <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-jdbc</artifactId>
        <version>${spring.version}</version>
      </dependency>
      <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-test</artifactId>
        <version>${spring.version}</version>
      </dependency>
      <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-web</artifactId>
        <version>${spring.version}</version>
      </dependency>
      <dependency>
        <groupId>org.openapitools</groupId>
        <artifactId>jackson-databind-nullable</artifactId>
        <version>0.2.9</version>
      </dependency>
      <dependency>
        <groupId>org.apache.kafka</groupId>
        <artifactId>kafka-clients</artifactId>
        <version>4.2.0</version>
      </dependency>
      <dependency>
        <groupId>org.apache.kafka</groupId>
        <artifactId>kafka_2.13</artifactId>
        <version>4.2.0</version>
      </dependency>
      <dependency>
        <groupId>dk.nsp.minlog</groupId>
        <artifactId>minlog-producer-api</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>dk.nsp.minlog</groupId>
        <artifactId>minlog-producer-rest-registration</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>dk.sds.nsp.audit</groupId>
        <artifactId>audit-api</artifactId>
        <version>1.0.1</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>dk.sds.nsp.security</groupId>
        <artifactId>security-api</artifactId>
        <version>${security-api.version}</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>dk.nsi.minlog2.cleanup</groupId>
        <artifactId>cleanup-core</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>dk.nsi.minlog2.lookup</groupId>
        <artifactId>lookup-core</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>dk.nsi.minlog2.lookup</groupId>
        <artifactId>lookup-idws</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>dk.nsi.minlog2.lookup</groupId>
        <artifactId>lookup-ws</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>dk.nsi.minlog2.registration</groupId>
        <artifactId>registration-service</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>dk.nsi.minlog2.registration</groupId>
        <artifactId>registration-ws</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>dk.nsi.minlog2</groupId>
        <artifactId>nsp-slalog</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>dk.nsi.minlog2.shared</groupId>
        <artifactId>shared-api</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>dk.nsi.minlog2.shared</groupId>
        <artifactId>shared-backgroundjob</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>dk.nsi.minlog2.shared</groupId>
        <artifactId>shared-constants</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>dk.nsi.minlog2.shared</groupId>
        <artifactId>shared-db</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>dk.nsi.minlog2.shared</groupId>
        <artifactId>shared-integrations</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>dk.nsi.minlog2.shared</groupId>
        <artifactId>shared-ws</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.logging.log4j</groupId>
        <artifactId>log4j-core</artifactId>
        <version>${log4j.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.logging.log4j</groupId>
        <artifactId>log4j-slf4j2-impl</artifactId>
        <version>${log4j.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.logging.log4j</groupId>
        <artifactId>log4j-1.2-api</artifactId>
        <version>${log4j.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.httpcomponents.client5</groupId>
        <artifactId>httpclient5</artifactId>
        <version>5.5</version>
      </dependency>
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>4.13.2</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.hamcrest</groupId>
        <artifactId>hamcrest-library</artifactId>
        <version>1.3</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.mockito</groupId>
        <artifactId>mockito-core</artifactId>
        <version>5.21.0</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.mockito</groupId>
        <artifactId>mockito-junit-jupiter</artifactId>
        <version>5.21.0</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.glassfish.jersey.core</groupId>
        <artifactId>jersey-common</artifactId>
        <version>3.1.11</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.junit.jupiter</groupId>
        <artifactId>junit-jupiter-api</artifactId>
        <version>5.11.4</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.junit.platform</groupId>
        <artifactId>junit-platform-suite</artifactId>
        <version>1.11.4</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>com.h2database</groupId>
        <artifactId>h2</artifactId>
        <version>1.4.198</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.eclipse.parsson</groupId>
        <artifactId>parsson</artifactId>
        <version>1.1.7</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.mock-server</groupId>
        <artifactId>mockserver-netty</artifactId>
        <version>5.15.0</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>io.cucumber</groupId>
        <artifactId>cucumber-java</artifactId>
        <version>7.20.1</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>io.cucumber</groupId>
        <artifactId>cucumber-spring</artifactId>
        <version>7.20.1</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>io.cucumber</groupId>
        <artifactId>cucumber-junit-platform-engine</artifactId>
        <version>7.20.1</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>dk.nsp.idp</groupId>
        <artifactId>nsp-test-idp</artifactId>
        <version>1.2.0</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>com.sun.xml.messaging.saaj</groupId>
        <artifactId>saaj-impl</artifactId>
        <version>3.0.4</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.glassfish.expressly</groupId>
        <artifactId>expressly</artifactId>
        <version>6.0.0</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.glassfish</groupId>
        <artifactId>jakarta.json</artifactId>
        <version>2.0.1</version>
        <scope>provided</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.apache.logging.log4j</groupId>
      <artifactId>log4j-core</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <repositories>
    <repository>
      <id>central</id>
      <name>Internal Mirror of Central Repository</name>
      <url>https://nexus.nspop.dk/nexus/content/groups/public/</url>
    </repository>
    <repository>
      <id>NSP Nexus</id>
      <url>https://nexus.nspop.dk/nexus/content/groups/public/</url>
    </repository>
  </repositories>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.cxf</groupId>
          <artifactId>cxf-codegen-plugin</artifactId>
          <version>${cxf.version}</version>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>3.5.2</version>
        <configuration>
          <argLine>@{argLine} -Xshare:off -javaagent:${settings.localRepository}/net/bytebuddy/byte-buddy-agent/${byte-buddy.version}/byte-buddy-agent-${byte-buddy.version}.jar</argLine>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.13.0</version>
        <configuration>
          <encoding>UTF-8</encoding>
          <compilerArgs>
            <arg>-proc:none</arg>
          </compilerArgs>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>flatten-maven-plugin</artifactId>
        <version>1.6.0</version>
        <executions>
          <execution>
            <id>flatten</id>
            <phase>process-resources</phase>
            <goals>
              <goal>flatten</goal>
            </goals>
          </execution>
          <execution>
            <id>flatten.clean</id>
            <phase>clean</phase>
            <goals>
              <goal>clean</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <flattenMode>resolveCiFriendliesOnly</flattenMode>
          <updatePomFile>true</updatePomFile>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
        <version>0.8.14</version>
        <executions>
          <execution>
            <goals>
              <goal>prepare-agent</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>
