Migrate all repos into monorepo context folders
Bahn: aisupport, Analyse-O2C-C2S, awesome-bahn-mcp-servers, beam-mcp,
Confluence_Bot, db-planet-mcp-server, O2C-Harness, project-audit,
Projekt-KIQ-HP, teamlandkarte-mcp
Dhive: Jury-Voting
Privat: CV, NoteGraph (NOTE: NoteGraph needs complete redo after consolidation)
Shared: AI-Orchestrator, OrgMyLife, power_skills_and_more
Shared/references: symphony (read-only)
Bahn repos remain available as independent remotes - this monorepo
pulls them in via subtree, the originals are untouched.
This commit is contained in:
@@ -0,0 +1,580 @@
|
||||
<?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>
|
||||
|
||||
<groupId>com.dbnetz.bestellsystem.archivierungsservice</groupId>
|
||||
<artifactId>parent</artifactId>
|
||||
<name>Archivierungsservice Parent</name>
|
||||
<version>1.7.1-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<description>Prozesssteuerung für die Trassen-Bestellung.</description>
|
||||
|
||||
<modules>
|
||||
<module>tdm-utils</module>
|
||||
<module>testutils</module>
|
||||
<module>model</module>
|
||||
<module>api-adapter</module>
|
||||
<module>application</module>
|
||||
<module>assemblies</module>
|
||||
<module>kit</module>
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
<skipUnitTests>false</skipUnitTests>
|
||||
<skipITs>false</skipITs>
|
||||
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<java.version>21</java.version>
|
||||
|
||||
<!-- Dependency Versions for Applications -->
|
||||
<spring.boot.version>3.5.13</spring.boot.version>
|
||||
<mapstruct.version>1.6.3</mapstruct.version>
|
||||
<opentelemetry-instrumentation.version>2.26.1</opentelemetry-instrumentation.version>
|
||||
<datasource-micrometer.version>1.4.1</datasource-micrometer.version>
|
||||
<aspectjweaver.version>1.9.25.1</aspectjweaver.version>
|
||||
<apache.httpclient.version>4.5.14</apache.httpclient.version>
|
||||
|
||||
<commons-io.version>2.21.0</commons-io.version>
|
||||
<commons-text.version>1.15.0</commons-text.version>
|
||||
<git.commit.id.plugin.version>4.9.10</git.commit.id.plugin.version>
|
||||
|
||||
<!-- Code Generation from Openapi yaml -->
|
||||
<openapi.generator.version>7.21.0</openapi.generator.version>
|
||||
<openapi.jackson.version>0.2.10</openapi.jackson.version>
|
||||
<io.swagger.version>2.2.48</io.swagger.version>
|
||||
|
||||
<!-- for Tests/Integrationtests -->
|
||||
<org.awaitility.version>4.3.0</org.awaitility.version>
|
||||
<wiremock.version>3.13.2</wiremock.version>
|
||||
|
||||
<!--core-components-->
|
||||
<core-component-common.version>1.6.1</core-component-common.version>
|
||||
<core-component-kafka.version>1.2.1</core-component-kafka.version>
|
||||
<core-components-test.version>1.1.0</core-components-test.version>
|
||||
|
||||
<!-- Build Plugins -->
|
||||
<jacoco-maven-plugin.version>0.8.14</jacoco-maven-plugin.version>
|
||||
<maven-failsafe-plugin.version>3.5.5</maven-failsafe-plugin.version>
|
||||
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
|
||||
|
||||
<!-- version is only used for local test -->
|
||||
<pipeline.version>${project.version}</pipeline.version>
|
||||
|
||||
<base.package.api>com.dbnetz.bestellsystem.api</base.package.api>
|
||||
<base.package.server>com.dbnetz.bestellsystem.archivierungsservice</base.package.server>
|
||||
<base.package.versandauftrag>com.dbnetz.bestellsystem.archivierungsservice.commoninterface</base.package.versandauftrag>
|
||||
<base.package.internal>com.dbnetz.bestellsystem.taftap</base.package.internal>
|
||||
|
||||
<aws-java-sdk2.version>2.42.37</aws-java-sdk2.version>
|
||||
<mockito-junit-jupiter.version>5.23.0</mockito-junit-jupiter.version>
|
||||
<jackson.version>2.21.2</jackson.version>
|
||||
|
||||
<lombok.version>1.18.44</lombok.version>
|
||||
<lombok-mapstruct-binding.version>0.2.0</lombok-mapstruct-binding.version>
|
||||
<spring.kafka.version>3.3.15</spring.kafka.version>
|
||||
<aws.msk.iam.auth.version>2.3.5</aws.msk.iam.auth.version>
|
||||
|
||||
<eingangsnachricht.api.version>2.13.0</eingangsnachricht.api.version>
|
||||
<eventmodel.api.version>3.3.0</eventmodel.api.version>
|
||||
<data-model.version>10.0.0</data-model.version>
|
||||
</properties>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>skip-integration-tests-profile</id>
|
||||
<properties>
|
||||
<skipITs>true</skipITs>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>skip-unit-tests-profile</id>
|
||||
<properties>
|
||||
<skipUnitTests>true</skipUnitTests>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<!-- finding CVE-2026-29145 https://nvd.nist.gov/vuln/detail/CVE-2026-29145 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tomcat.embed</groupId>
|
||||
<artifactId>tomcat-embed-core</artifactId>
|
||||
<version>10.1.54</version>
|
||||
</dependency>
|
||||
<!-- finding CVE-2026-33870 https://nvd.nist.gov/vuln/detail/CVE-2026-33870 -->
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-bom</artifactId>
|
||||
<version>4.2.12.Final</version>
|
||||
</dependency>
|
||||
<!-- finding GHSA-72hv-8253-57qq https://github.com/spring-projects/spring-boot/issues/49365 -->
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson</groupId>
|
||||
<artifactId>jackson-bom</artifactId>
|
||||
<version>${jackson.version}</version>
|
||||
<scope>import</scope>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
<!-- overwrite spring boot versions -->
|
||||
<dependency>
|
||||
<groupId>com.nimbusds</groupId>
|
||||
<artifactId>nimbus-jose-jwt</artifactId>
|
||||
<version>${nimbus.jose.jwt.version}</version>
|
||||
</dependency>
|
||||
<!-- end overwrite spring boot versions -->
|
||||
<dependency>
|
||||
<groupId>software.amazon.awssdk</groupId>
|
||||
<artifactId>bom</artifactId>
|
||||
<version>${aws-java-sdk2.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-logging</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-collections4</artifactId>
|
||||
<version>4.5.0</version>
|
||||
</dependency>
|
||||
<!-- spring boot dependencies start-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-logging</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-logging</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-validation</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<!-- spring boot dependencies end-->
|
||||
|
||||
<!-- monitoring dependencies start -->
|
||||
<dependency>
|
||||
<groupId>io.opentelemetry.instrumentation</groupId>
|
||||
<artifactId>opentelemetry-instrumentation-annotations</artifactId>
|
||||
<version>${opentelemetry-instrumentation.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.ttddyy.observation</groupId>
|
||||
<artifactId>datasource-micrometer-spring-boot</artifactId>
|
||||
<version>${datasource-micrometer.version}</version>
|
||||
</dependency>
|
||||
<!-- monitoring dependencies end -->
|
||||
|
||||
<!-- utils dependencies start -->
|
||||
<dependency>
|
||||
<groupId>org.mapstruct</groupId>
|
||||
<artifactId>mapstruct</artifactId>
|
||||
<version>${mapstruct.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>${commons-io.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-text</artifactId>
|
||||
<version>${commons-text.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Wird benötigt um timout auf dem http stack setzen zu können -->
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
<artifactId>httpclient</artifactId>
|
||||
<version>${apache.httpclient.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.aspectj</groupId>
|
||||
<artifactId>aspectjweaver</artifactId>
|
||||
<version>${aspectjweaver.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- openapi codegen -->
|
||||
<dependency>
|
||||
<groupId>org.openapitools</groupId>
|
||||
<artifactId>jackson-databind-nullable</artifactId>
|
||||
<version>${openapi.jackson.version}</version>
|
||||
</dependency>
|
||||
<!-- Integration von JAX-RS -->
|
||||
<dependency>
|
||||
<groupId>io.swagger.core.v3</groupId>
|
||||
<artifactId>swagger-jaxrs2-jakarta</artifactId>
|
||||
<version>${io.swagger.version}</version>
|
||||
</dependency>
|
||||
<!-- ENDE: Integration von JAX-RS + CXF -->
|
||||
|
||||
<!-- Für javax.validation.Nullable in OpenApi generierten Klassen (fehlt
|
||||
sonst ab Java 9) -->
|
||||
<dependency>
|
||||
<groupId>com.google.code.findbugs</groupId>
|
||||
<artifactId>jsr305</artifactId>
|
||||
<version>${jsr305.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.swagger.core.v3</groupId>
|
||||
<artifactId>swagger-annotations</artifactId>
|
||||
<version>${io.swagger.version}</version>
|
||||
</dependency>
|
||||
<!-- swagger/openapi dependencies end -->
|
||||
|
||||
<!-- test dependencies start-->
|
||||
<!-- Zur Simulation von HTTP APIs. Details siehe http://wiremock.org/ -->
|
||||
<dependency>
|
||||
<groupId>org.wiremock</groupId>
|
||||
<artifactId>wiremock</artifactId>
|
||||
<version>${wiremock.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.awaitility</groupId>
|
||||
<artifactId>awaitility</artifactId>
|
||||
<version>${org.awaitility.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.xerial.snappy</groupId>
|
||||
<artifactId>snappy-java</artifactId>
|
||||
<version>1.1.10.8</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>${lombok.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-webflux</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-junit-jupiter</artifactId>
|
||||
<version>${mockito-junit-jupiter.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>eingangsnachricht</artifactId>
|
||||
<version>${eingangsnachricht.api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>event-model</artifactId>
|
||||
<version>${eventmodel.api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>data-model</artifactId>
|
||||
<version>${data-model.version}</version>
|
||||
<classifier>openapi</classifier>
|
||||
</dependency>
|
||||
|
||||
<!-- kafka dependencies-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.kafka</groupId>
|
||||
<artifactId>spring-kafka</artifactId>
|
||||
<version>${spring.kafka.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>software.amazon.msk</groupId>
|
||||
<artifactId>aws-msk-iam-auth</artifactId>
|
||||
<version>${aws.msk.iam.auth.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.kafka</groupId>
|
||||
<artifactId>spring-kafka-test</artifactId>
|
||||
<version>${spring.kafka.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<!--core-components-->
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>core-components-common</artifactId>
|
||||
<version>${core-component-common.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>core-components-kafka</artifactId>
|
||||
<version>${core-component-kafka.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<!-- High Finding: CVE-2025-12183, CVE-2025-66566 -->
|
||||
<dependency>
|
||||
<groupId>at.yawk.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
<version>1.11.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>core-components-test</artifactId>
|
||||
<version>${core-components-test.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/config</directory>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>false</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
<testResources>
|
||||
<testResource>
|
||||
<directory>src/it/config</directory>
|
||||
<filtering>true</filtering>
|
||||
</testResource>
|
||||
<testResource>
|
||||
<directory>src/it/resources</directory>
|
||||
<filtering>false</filtering>
|
||||
</testResource>
|
||||
<testResource>
|
||||
<directory>src/test/resources</directory>
|
||||
<filtering>false</filtering>
|
||||
</testResource>
|
||||
</testResources>
|
||||
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>3.5.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.10.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.openapitools</groupId>
|
||||
<artifactId>openapi-generator-maven-plugin</artifactId>
|
||||
<version>${openapi.generator.version}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${maven-compiler-plugin.version}</version>
|
||||
<configuration>
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
<compilerArgs>
|
||||
<arg>-parameters</arg>
|
||||
</compilerArgs>
|
||||
<annotationProcessorPaths>
|
||||
<path>
|
||||
<groupId>org.mapstruct</groupId>
|
||||
<artifactId>mapstruct-processor</artifactId>
|
||||
<version>${mapstruct.version}</version>
|
||||
</path>
|
||||
<path>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>${lombok.version}</version>
|
||||
</path>
|
||||
<path>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok-mapstruct-binding</artifactId>
|
||||
<version>${lombok-mapstruct-binding.version}</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<configuration>
|
||||
<layers>
|
||||
<enabled>true</enabled>
|
||||
</layers>
|
||||
<excludeGroupIds>io.springfox</excludeGroupIds>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>build-info</id>
|
||||
<goals>
|
||||
<goal>build-info</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<!-- repackaging required as docker expects a layered jar
|
||||
which is only enabled by default when using spring-boot-starter-parent as parent pom -->
|
||||
<execution>
|
||||
<id>repackage</id>
|
||||
<goals>
|
||||
<goal>repackage</goal>
|
||||
</goals>
|
||||
<phase>package</phase>
|
||||
<configuration>
|
||||
<layers>
|
||||
<enabled>true</enabled>
|
||||
<configuration>layers.xml</configuration>
|
||||
</layers>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<!-- Generates git.properties for Spring Actuators: -->
|
||||
<!-- https://docs.spring.io/spring-boot/docs/current/reference/html/howto.html#howto-git-info -->
|
||||
<groupId>pl.project13.maven</groupId>
|
||||
<artifactId>git-commit-id-plugin</artifactId>
|
||||
<version>${git.commit.id.plugin.version}</version>
|
||||
<configuration>
|
||||
<offline>true</offline>
|
||||
<includeOnlyProperties>
|
||||
<includeOnlyProperty>^git.branch$</includeOnlyProperty>
|
||||
<includeOnlyProperty>^git.commit.id.abbrev$</includeOnlyProperty>
|
||||
<includeOnlyProperty>^git.commit.time$</includeOnlyProperty>
|
||||
</includeOnlyProperties>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- the jacoco plugin is being used for coverage reports in sonar -->
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>${jacoco-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>report</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- Ende: Runs integration tests during the maven verify phase -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-failsafe-plugin</artifactId>
|
||||
<version>${maven-failsafe-plugin.version}</version>
|
||||
<configuration>
|
||||
<!-- see issue https://github.com/spring-projects/spring-boot/issues/25473 -->
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>${basedir}/target/classes</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<skipITs>${skipITs}</skipITs>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>integration-test</id>
|
||||
<goals>
|
||||
<goal>integration-test</goal>
|
||||
<goal>verify</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>pl.project13.maven</groupId>
|
||||
<artifactId>git-commit-id-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>kolt-maven-release-local</id>
|
||||
<url>https://bahnhub.tech.rz.db.de/artifactory/kolt-maven-release-local/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,217 @@
|
||||
<?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>
|
||||
|
||||
<groupId>com.dbnetz.bestellsystem.auftrag-service</groupId>
|
||||
<artifactId>parent</artifactId>
|
||||
<version>0.1.0-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<properties>
|
||||
<skipUnitTests>false</skipUnitTests>
|
||||
<skipITs>false</skipITs>
|
||||
|
||||
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
|
||||
<maven-surefire-plugin.version>3.5.5</maven-surefire-plugin.version>
|
||||
<maven-failsafe-plugin.version>3.5.5</maven-failsafe-plugin.version>
|
||||
<spring-boot.version>3.5.13</spring-boot.version>
|
||||
<mock-server.version>5.15.0</mock-server.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
|
||||
<log4j2.version>2.25.3</log4j2.version>
|
||||
|
||||
<signature-message.version>1.6.0</signature-message.version>
|
||||
|
||||
<jackson.version>2.21.2</jackson.version>
|
||||
|
||||
<lz4.java.version>1.10.4</lz4.java.version>
|
||||
</properties>
|
||||
|
||||
<modules>
|
||||
<module>application</module>
|
||||
</modules>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>skip-integration-tests-profile</id>
|
||||
<properties>
|
||||
<skipITs>true</skipITs>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>skip-unit-tests-profile</id>
|
||||
<properties>
|
||||
<skipUnitTests>true</skipUnitTests>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson</groupId>
|
||||
<artifactId>jackson-bom</artifactId>
|
||||
<version>${jackson.version}</version>
|
||||
<scope>import</scope>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>software.amazon.awssdk</groupId>
|
||||
<artifactId>bom</artifactId>
|
||||
<version>2.42.22</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-bom</artifactId>
|
||||
<version>${log4j2.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>${spring-boot.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.kafka</groupId>
|
||||
<artifactId>spring-kafka</artifactId>
|
||||
<version>3.3.14</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>core-components-kafka</artifactId>
|
||||
<version>1.2.1</version>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>io.hypersistence</groupId>-->
|
||||
<!-- <artifactId>hypersistence-utils-hibernate-63</artifactId>-->
|
||||
<!-- <version>3.15.2</version>-->
|
||||
<!-- </dependency>-->
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.postgresql</groupId>-->
|
||||
<!-- <artifactId>postgresql</artifactId>-->
|
||||
<!-- <version>42.7.10</version>-->
|
||||
<!-- </dependency>-->
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>1.18.44</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>software.amazon.msk</groupId>
|
||||
<artifactId>aws-msk-iam-auth</artifactId>
|
||||
<version>2.3.5</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>signature-message</artifactId>
|
||||
<version>${signature-message.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>auftrag-service-kafka-v1</artifactId>
|
||||
<version>0.0.8-next.20260416083026.29e4365</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>eingangsnachricht</artifactId>
|
||||
<version>2.13.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>versandauftrag</artifactId>
|
||||
<version>3.11.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
<dependencies>
|
||||
<!-- High Finding: CVE-2025-12183, CVE-2025-66566 -->
|
||||
<dependency>
|
||||
<groupId>at.yawk.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
<version>${lz4.java.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>${spring-boot.version}</version>
|
||||
<configuration>
|
||||
<mainClass>com.dbnetz.bestellsystem.auftragservice.Application</mainClass>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>repackage</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${maven-compiler-plugin.version}</version>
|
||||
<configuration>
|
||||
<annotationProcessorPaths>
|
||||
<path>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>1.18.44</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
<release>21</release>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${maven-surefire-plugin.version}</version>
|
||||
<configuration>
|
||||
<skipTests>${skipUnitTests}</skipTests>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-failsafe-plugin</artifactId>
|
||||
<version>${maven-failsafe-plugin.version}</version>
|
||||
<configuration>
|
||||
<!-- see issue https://github.com/spring-projects/spring-boot/issues/25473 -->
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>${basedir}/target/classes</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<skipITs>${skipITs}</skipITs>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>integration-test</id>
|
||||
<goals>
|
||||
<goal>integration-test</goal>
|
||||
<goal>verify</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,295 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
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>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>bestellsystem-parent-pom</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<relativePath>../bestellsystem-parent-pom</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>auftrags-verwaltung-trasse</artifactId>
|
||||
<version>1.7.1-SNAPSHOT</version>
|
||||
<name>auftrags-verwaltung-trasse</name>
|
||||
<description>Auftragsverwaltung der Trassenbestellungen</description>
|
||||
|
||||
<properties>
|
||||
<java.version>21</java.version>
|
||||
<maven.compiler.target>21</maven.compiler.target>
|
||||
|
||||
<auftragsverwaltung.api.version>6.0.0</auftragsverwaltung.api.version>
|
||||
<auftraege.api.version>6.0.0</auftraege.api.version>
|
||||
<eventmodel.api.version>3.3.0</eventmodel.api.version>
|
||||
<data-model.version>10.0.0</data-model.version>
|
||||
<openapi.generator.version>7.21.0</openapi.generator.version>
|
||||
<logging-util.version>1.3.0</logging-util.version>
|
||||
<signature-database.version>1.5.0</signature-database.version>
|
||||
|
||||
<base.package>com.dbnetz.bestellsystem.auftragsverwaltungtrasse</base.package>
|
||||
<base.package.api>com.dbnetz.bestellsystem.api</base.package.api>
|
||||
|
||||
<!-- Kafka Dependencies -->
|
||||
<spring-kafka.version>3.3.14</spring-kafka.version>
|
||||
<aws-msk-iam-auth.version>2.3.5</aws-msk-iam-auth.version>
|
||||
<jsonwebtoken>0.13.0</jsonwebtoken>
|
||||
|
||||
<!-- Signature Message -->
|
||||
<signature-message.version>1.7.0</signature-message.version>
|
||||
|
||||
<togglz.version>4.6.1</togglz.version>
|
||||
|
||||
<buildDirectory>${project.basedir}/target</buildDirectory>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>signature-database</artifactId>
|
||||
<version>${signature-database.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.kafka</groupId>
|
||||
<artifactId>spring-kafka</artifactId>
|
||||
<version>${spring-kafka.version}</version>
|
||||
<exclusions>
|
||||
<!-- CVE-2025-12183 und CVE-2025-66566 -->
|
||||
<exclusion>
|
||||
<groupId>org.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<!-- CVE-2025-12183 und CVE-2025-66566 -->
|
||||
<dependency>
|
||||
<groupId>at.yawk.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>software.amazon.msk</groupId>
|
||||
<artifactId>aws-msk-iam-auth</artifactId>
|
||||
<version>${aws-msk-iam-auth.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.datatype</groupId>
|
||||
<artifactId>jackson-datatype-jsr310</artifactId>
|
||||
<version>2.21.2</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-security</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.togglz</groupId>
|
||||
<artifactId>togglz-spring-boot-starter</artifactId>
|
||||
<version>${togglz.version}</version>
|
||||
<exclusions>
|
||||
<!-- CVE-2026-40477 und CVE-2026-40478 -->
|
||||
<exclusion>
|
||||
<groupId>org.thymeleaf</groupId>
|
||||
<artifactId>thymeleaf</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<!-- Dependency for it - test jwt generate -->
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-impl</artifactId>
|
||||
<version>${jsonwebtoken}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Dependency for it - test jwt generate -->
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-jackson</artifactId>
|
||||
<version>${jsonwebtoken}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- APIs of Bestellsystem-->
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>auftragsverwaltung</artifactId>
|
||||
<version>${auftragsverwaltung.api.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>data-model</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>auftraege</artifactId>
|
||||
<version>${auftraege.api.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>data-model</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>event-model</artifactId>
|
||||
<version>${eventmodel.api.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>data-model</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>logging-util</artifactId>
|
||||
<version>${logging-util.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>data-model</artifactId>
|
||||
<version>${data-model.version}</version>
|
||||
<classifier>openapi</classifier>
|
||||
</dependency>
|
||||
|
||||
<!-- H2 for Tests -->
|
||||
<dependency>
|
||||
<groupId>com.h2database</groupId>
|
||||
<artifactId>h2</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>signature-message</artifactId>
|
||||
<version>${signature-message.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- findings tomcat-embed-core
|
||||
GHSA-95jq-rwvf-vjx4, GHSA-69cc-cv78-qc8g,
|
||||
GHSA-x4m4-345f-5h5g, GHSA-h468-7pvh-8vr8,
|
||||
GHSA-rv64-5gf8-9qq8, GHSA-9m3c-qcxr-9x87,
|
||||
GHSA-8mc5-53m5-3qj2, GHSA-24j9-x2wg-9qv6 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tomcat.embed</groupId>
|
||||
<artifactId>tomcat-embed-core</artifactId>
|
||||
<version>10.1.54</version>
|
||||
</dependency>
|
||||
|
||||
<!-- findings log4j-core GHSA-3pxv-7cmr-fjr4e -->
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-core</artifactId>
|
||||
<version>2.25.4</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>unpack-data-model-yamls</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>unpack</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifactItems>
|
||||
<artifactItem>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>data-model</artifactId>
|
||||
<type>jar</type>
|
||||
<overWrite>true</overWrite>
|
||||
<version>${data-model.version}</version>
|
||||
<classifier>openapi</classifier>
|
||||
</artifactItem>
|
||||
</artifactItems>
|
||||
<includes>openapi/*.yaml</includes>
|
||||
<outputDirectory>${project.build.directory}</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.openapitools</groupId>
|
||||
<artifactId>openapi-generator-maven-plugin</artifactId>
|
||||
<version>${openapi.generator.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>internal-data-model</id>
|
||||
<goals>
|
||||
<goal>generate</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<inputSpec>${project.build.directory}/openapi/data-model.openapi.yaml</inputSpec>
|
||||
<generatorName>spring</generatorName>
|
||||
<modelPackage>com.dbnetz.bestellsystem.auftragsverwaltungtrasse.model.idm</modelPackage>
|
||||
<modelNameSuffix>Idm</modelNameSuffix>
|
||||
<generateApiTests>false</generateApiTests>
|
||||
<generateModelTests>false</generateModelTests>
|
||||
|
||||
<generateSupportingFiles>false</generateSupportingFiles>
|
||||
<configOptions>
|
||||
<interfaceOnly>true</interfaceOnly>
|
||||
<dateLibrary>java8</dateLibrary>
|
||||
<useJakartaEe>true</useJakartaEe>
|
||||
<library>spring-boot</library>
|
||||
<useTags>true</useTags>
|
||||
<containerDefaultToNull>true</containerDefaultToNull>
|
||||
</configOptions>
|
||||
<typeMappings>
|
||||
<typeMapping>OffsetDateTime=java.time.Instant</typeMapping>
|
||||
</typeMappings>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>process-sources</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<target>
|
||||
<delete file="${project.build.directory}/generated-sources/openapi/src/main/java/org/openapitools/api/DataModelApi.java" />
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,684 @@
|
||||
<?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>
|
||||
|
||||
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>bestellsystem-parent-pom</artifactId>
|
||||
<version>0.12.50-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>skip-integration-tests-profile</id>
|
||||
<properties>
|
||||
<skipUnitTests>false</skipUnitTests>
|
||||
<skipITs>true</skipITs>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.flywaydb</groupId>
|
||||
<artifactId>flyway-core</artifactId>
|
||||
<version>${flyway.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.flywaydb</groupId>
|
||||
<artifactId>flyway-database-postgresql</artifactId>
|
||||
<version>${flyway.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>skip-unit-tests-profile</id>
|
||||
<properties>
|
||||
<skipUnitTests>true</skipUnitTests>
|
||||
<skipITs>false</skipITs>
|
||||
</properties>
|
||||
<!--Database migration by flyway-->
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.flywaydb</groupId>
|
||||
<artifactId>flyway-core</artifactId>
|
||||
<version>${flyway.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.flywaydb</groupId>
|
||||
<artifactId>flyway-database-postgresql</artifactId>
|
||||
<version>${flyway.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</profile>
|
||||
|
||||
</profiles>
|
||||
|
||||
<properties>
|
||||
<skipUnitTests>false</skipUnitTests>
|
||||
<skipITs>false</skipITs>
|
||||
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<java.version>17</java.version>
|
||||
|
||||
<!-- Dependency Versions for Applications -->
|
||||
<spring.boot.version>3.5.13</spring.boot.version>
|
||||
<cloud.kubernetes.version>3.3.2</cloud.kubernetes.version>
|
||||
<de.db.kolt.talo.version>4.11.5</de.db.kolt.talo.version>
|
||||
<de.db.kolt.talo-spring-boot.version>5.0.4</de.db.kolt.talo-spring-boot.version>
|
||||
<log4j2.version>2.25.4</log4j2.version>
|
||||
<mapstruct.version>1.6.3</mapstruct.version>
|
||||
<shedlock-spring>6.10.0</shedlock-spring>
|
||||
<flyway.version>11.20.3</flyway.version>
|
||||
<postgresql.version>42.7.10</postgresql.version>
|
||||
<opentelemetry-instrumentation.version>2.27.0</opentelemetry-instrumentation.version>
|
||||
<micrometer-registry-prometheus.version>1.16.4</micrometer-registry-prometheus.version>
|
||||
<datasource-micrometer.version>1.4.1</datasource-micrometer.version>
|
||||
<aspectjweaver.version>1.9.25.1</aspectjweaver.version>
|
||||
|
||||
<!-- ??? -->
|
||||
|
||||
<commons-io.version>2.21.0</commons-io.version>
|
||||
<commons-text.version>1.15.0</commons-text.version>
|
||||
<commons-codec.version>1.21.0</commons-codec.version>
|
||||
<git.commit.id.plugin.version>4.9.10</git.commit.id.plugin.version>
|
||||
|
||||
<!-- Code Generation from Openapi yaml -->
|
||||
<openapi.generator.version>7.21.0</openapi.generator.version>
|
||||
<openapi.jackson.version>0.2.10</openapi.jackson.version>
|
||||
<jackson.databind.version>2.21.2</jackson.databind.version>
|
||||
<jackson.databind.annotation.version>2.21</jackson.databind.annotation.version>
|
||||
<jsr305.version>3.0.2</jsr305.version>
|
||||
<io.swagger.version>2.2.47</io.swagger.version>
|
||||
<com.google.guava.version>33.5.0-jre</com.google.guava.version>
|
||||
<fasterxml.jackson.jaxrs.version>2.21.2</fasterxml.jackson.jaxrs.version>
|
||||
<apache.cxf.version>4.2.0</apache.cxf.version>
|
||||
|
||||
<!-- for Tests/Integrationtests -->
|
||||
<cucumber.version>7.34.3</cucumber.version>
|
||||
<org.awaitility.version>4.3.0</org.awaitility.version>
|
||||
<wiremock.version>3.13.2</wiremock.version>
|
||||
<junit.version>5.14.3</junit.version>
|
||||
|
||||
<!-- Build Plugins -->
|
||||
<jacoco-maven-plugin.version>0.8.14</jacoco-maven-plugin.version>
|
||||
<build-helper-maven-plugin.version>3.6.1</build-helper-maven-plugin.version>
|
||||
<maven-failsafe-plugin.version>3.5.5</maven-failsafe-plugin.version>
|
||||
<maven-surefire-plugin.version>3.5.5</maven-surefire-plugin.version>
|
||||
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
|
||||
<snakeyaml.version>2.6</snakeyaml.version>
|
||||
|
||||
<!-- for Pipeline Build -->
|
||||
<buildDirectory>${project.basedir}/target</buildDirectory>
|
||||
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-bom</artifactId>
|
||||
<version>${log4j2.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.cucumber</groupId>
|
||||
<artifactId>cucumber-bom</artifactId>
|
||||
<version>${cucumber.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit</groupId>
|
||||
<artifactId>junit-bom</artifactId>
|
||||
<version>${junit.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<!-- Fix whitesource finding from 202404029 Maybe fixed in Spring Boot 3.2.6-->
|
||||
<dependency>
|
||||
<groupId>org.bouncycastle</groupId>
|
||||
<artifactId>bcprov-jdk18on</artifactId>
|
||||
<version>1.83</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.yaml</groupId>
|
||||
<artifactId>snakeyaml</artifactId>
|
||||
<version>${snakeyaml.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.squareup.okio</groupId>
|
||||
<artifactId>okio-jvm</artifactId>
|
||||
<version>3.17.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents.core5</groupId>
|
||||
<artifactId>httpcore5</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- CVE-2025-48924 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
<version>3.20.0</version>
|
||||
</dependency>
|
||||
<!-- CVE-2025-53864 -->
|
||||
<dependency>
|
||||
<groupId>com.nimbusds</groupId>
|
||||
<artifactId>nimbus-jose-jwt</artifactId>
|
||||
<version>10.9</version>
|
||||
</dependency>
|
||||
<!-- CVE-2025-66566 -->
|
||||
<dependency>
|
||||
<groupId>at.yawk.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
<version>1.11.0</version>
|
||||
</dependency>
|
||||
<!-- CVE-2026-1002 -->
|
||||
<dependency>
|
||||
<groupId>io.vertx</groupId>
|
||||
<artifactId>vertx-core</artifactId>
|
||||
<version>4.5.26</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.vertx</groupId>
|
||||
<artifactId>vertx-web-client</artifactId>
|
||||
<version>4.5.26</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
<!-- spring boot dependencies start-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-logging</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-logging</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-validation</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<!-- Because of Talo we must use log4j2 instead of logback-->
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-log4j2</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-kubernetes-fabric8-config</artifactId>
|
||||
<version>${cloud.kubernetes.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-to-slf4j</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<!-- Wird benötigt von IDE um ConfigurationProperties in Konfig-Dateien aufzulösen: -->
|
||||
<!-- https://docs.spring.io/spring-boot/docs/current/reference/html/appendix-configuration-metadata.html -->
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<!-- spring boot dependencies end-->
|
||||
|
||||
<!-- database dependencies start -->
|
||||
<dependency>
|
||||
<groupId>org.postgresql</groupId>
|
||||
<artifactId>postgresql</artifactId>
|
||||
<version>${postgresql.version}</version>
|
||||
</dependency>
|
||||
<!-- TALO Logging Framework -->
|
||||
<dependency>
|
||||
<groupId>de.db.kolt.talo</groupId>
|
||||
<artifactId>talo-core</artifactId>
|
||||
<version>${de.db.kolt.talo.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<artifactId>talo-spring-boot</artifactId>
|
||||
<groupId>de.db.kolt.talo</groupId>
|
||||
<version>${de.db.kolt.talo-spring-boot.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- monitoring dependencies start -->
|
||||
<dependency>
|
||||
<groupId>io.micrometer</groupId>
|
||||
<artifactId>micrometer-registry-prometheus</artifactId>
|
||||
<version>${micrometer-registry-prometheus.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.opentelemetry.instrumentation</groupId>
|
||||
<artifactId>opentelemetry-instrumentation-annotations</artifactId>
|
||||
<version>${opentelemetry-instrumentation.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.ttddyy.observation</groupId>
|
||||
<artifactId>datasource-micrometer-spring-boot</artifactId>
|
||||
<version>${datasource-micrometer.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.micrometer</groupId>
|
||||
<artifactId>micrometer-tracing-bridge-otel</artifactId>
|
||||
<!-- version must be managed by spring-boot -->
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.opentelemetry</groupId>
|
||||
<artifactId>opentelemetry-exporter-zipkin</artifactId>
|
||||
<!-- version must be managed by spring-boot -->
|
||||
</dependency>
|
||||
<!-- monitoring dependencies end -->
|
||||
|
||||
<!-- utils dependencies start -->
|
||||
<dependency>
|
||||
<groupId>org.mapstruct</groupId>
|
||||
<artifactId>mapstruct</artifactId>
|
||||
<version>${mapstruct.version}</version>
|
||||
</dependency>
|
||||
<!-- Lock zum unterbinden doppelter Importe -->
|
||||
<dependency>
|
||||
<groupId>net.javacrumbs.shedlock</groupId>
|
||||
<artifactId>shedlock-spring</artifactId>
|
||||
<version>${shedlock-spring}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>net.javacrumbs.shedlock</groupId>
|
||||
<artifactId>shedlock-provider-jdbc-template</artifactId>
|
||||
<version>${shedlock-spring}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>${commons-io.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-text</artifactId>
|
||||
<version>${commons-text.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-codec</groupId>
|
||||
<artifactId>commons-codec</artifactId>
|
||||
<version>${commons-codec.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents.client5</groupId>
|
||||
<artifactId>httpclient5</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.aspectj</groupId>
|
||||
<artifactId>aspectjweaver</artifactId>
|
||||
<version>${aspectjweaver.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- openapi codegen -->
|
||||
<dependency>
|
||||
<groupId>org.openapitools</groupId>
|
||||
<artifactId>jackson-databind-nullable</artifactId>
|
||||
<version>${openapi.jackson.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
<version>${jackson.databind.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-annotations</artifactId>
|
||||
<version>${jackson.databind.annotation.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-core</artifactId>
|
||||
<version>${jackson.databind.version}</version>
|
||||
</dependency>
|
||||
<!-- Integration von JAX-RS + CXF -->
|
||||
<dependency>
|
||||
<groupId>org.apache.cxf</groupId>
|
||||
<artifactId>cxf-rt-rs-client</artifactId>
|
||||
<version>${apache.cxf.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.swagger.core.v3</groupId>
|
||||
<artifactId>swagger-jaxrs2-jakarta</artifactId>
|
||||
<version>${io.swagger.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
<version>${com.google.guava.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.jaxrs</groupId>
|
||||
<artifactId>jackson-jaxrs-xml-provider</artifactId>
|
||||
<version>${fasterxml.jackson.jaxrs.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.jaxrs</groupId>
|
||||
<artifactId>jackson-jaxrs-json-provider</artifactId>
|
||||
<version>${fasterxml.jackson.jaxrs.version}</version>
|
||||
</dependency>
|
||||
<!-- ENDE: Integration von JAX-RS + CXF -->
|
||||
|
||||
<!-- Für javax.validation.Nullable in OpenApi generierten Klassen (fehlt
|
||||
sonst ab Java 9) -->
|
||||
<dependency>
|
||||
<groupId>com.google.code.findbugs</groupId>
|
||||
<artifactId>jsr305</artifactId>
|
||||
<version>${jsr305.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.swagger.core.v3</groupId>
|
||||
<artifactId>swagger-annotations</artifactId>
|
||||
<version>${io.swagger.version}</version>
|
||||
</dependency>
|
||||
<!-- swagger/openapi dependencies end -->
|
||||
|
||||
<!-- test dependencies start-->
|
||||
<!-- Zur Simulation von HTTP APIs. Details siehe http://wiremock.org/ -->
|
||||
<dependency>
|
||||
<groupId>org.wiremock</groupId>
|
||||
<artifactId>wiremock-standalone</artifactId>
|
||||
<version>${wiremock.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-suite</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency> <!-- für @Suite in KIT -->
|
||||
<!-- Cucumber BDD Support -->
|
||||
<dependency>
|
||||
<groupId>io.cucumber</groupId>
|
||||
<artifactId>cucumber-java</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.cucumber</groupId>
|
||||
<artifactId>cucumber-java8</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.cucumber</groupId>
|
||||
<artifactId>cucumber-junit-platform-engine</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.cucumber</groupId>
|
||||
<artifactId>cucumber-spring</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.awaitility</groupId>
|
||||
<artifactId>awaitility</artifactId>
|
||||
<version>${org.awaitility.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<directory>${buildDirectory}</directory>
|
||||
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
<includes>
|
||||
<include>**/log4j2-spring.xml</include>
|
||||
<include>*.yml</include>
|
||||
</includes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>false</filtering>
|
||||
<excludes>
|
||||
<exclude>**/log4j2-spring.xml</exclude>
|
||||
<exclude>*.yml</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<configuration>
|
||||
<layers>
|
||||
<enabled>true</enabled>
|
||||
</layers>
|
||||
<excludeGroupIds>io.springfox</excludeGroupIds>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>build-info</id>
|
||||
<goals>
|
||||
<goal>build-info</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<!-- repackaging required as docker expects a layered jar
|
||||
which is only enabled by default when using spring-boot-starter-parent as parent pom -->
|
||||
<execution>
|
||||
<id>repackage</id>
|
||||
<goals>
|
||||
<goal>repackage</goal>
|
||||
</goals>
|
||||
<phase>package</phase>
|
||||
<configuration>
|
||||
<layers>
|
||||
<enabled>true</enabled>
|
||||
<configuration>layers.xml</configuration>
|
||||
</layers>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<!-- Generates git.properties for Spring Actuators: -->
|
||||
<!-- https://docs.spring.io/spring-boot/docs/current/reference/html/howto.html#howto-git-info -->
|
||||
<groupId>pl.project13.maven</groupId>
|
||||
<artifactId>git-commit-id-plugin</artifactId>
|
||||
<version>${git.commit.id.plugin.version}</version>
|
||||
<configuration>
|
||||
<offline>true</offline>
|
||||
<includeOnlyProperties>
|
||||
<includeOnlyProperty>^git.branch$</includeOnlyProperty>
|
||||
<includeOnlyProperty>^git.commit.id.abbrev$</includeOnlyProperty>
|
||||
<includeOnlyProperty>^git.commit.time$</includeOnlyProperty>
|
||||
</includeOnlyProperties>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- the jacoco plugin is being used for coverage reports in sonar -->
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>${jacoco-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>report</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- Runs integration tests during the maven verify phase -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>${build-helper-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-test-source</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>add-test-source</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<sources>
|
||||
<source>src/it/java</source>
|
||||
</sources>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>add-test-resource</id>
|
||||
<phase>generate-test-sources</phase>
|
||||
<goals>
|
||||
<goal>add-test-resource</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/it/resources</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${maven-surefire-plugin.version}</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-engine</artifactId>
|
||||
<version>${junit.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<configuration>
|
||||
<skipTests>${skipUnitTests}</skipTests>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- Ende: Runs integration tests during the maven verify phase -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-failsafe-plugin</artifactId>
|
||||
<version>${maven-failsafe-plugin.version}</version>
|
||||
<configuration>
|
||||
<!-- see issue https://github.com/spring-projects/spring-boot/issues/25473 -->
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>${basedir}/target/classes</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<skipITs>${skipITs}</skipITs>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>integration-test</id>
|
||||
<goals>
|
||||
<goal>integration-test</goal>
|
||||
<goal>verify</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.openapitools</groupId>
|
||||
<artifactId>openapi-generator-maven-plugin</artifactId>
|
||||
<version>${openapi.generator.version}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${maven-compiler-plugin.version}</version>
|
||||
<configuration>
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
<annotationProcessorPaths>
|
||||
<path>
|
||||
<groupId>org.mapstruct</groupId>
|
||||
<artifactId>mapstruct-processor</artifactId>
|
||||
<version>${mapstruct.version}</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
<compilerArgs>
|
||||
<arg>-parameters</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>kolt-maven-release-local</id>
|
||||
<url>https://bahnhub.tech.rz.db.de/artifactory/kolt-maven-release-local/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,298 @@
|
||||
<?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.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>bestellsystem-parent-pom</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<relativePath>../bestellsystem-parent-pom</relativePath>
|
||||
</parent>
|
||||
|
||||
<!--suppress MavenRedundantGroupId -->
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>common-interface</artifactId>
|
||||
<version>1.8.1-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
<!-- General -->
|
||||
<java.version>21</java.version>
|
||||
<maven.compiler.target>21</maven.compiler.target>
|
||||
<skipTests>false</skipTests>
|
||||
|
||||
<!-- APIs -->
|
||||
<trassenanmeldung.api.version>8.11.0</trassenanmeldung.api.version>
|
||||
<taftap.api.version>3.8.0</taftap.api.version>
|
||||
<versandauftrag.api.version>3.11.0</versandauftrag.api.version>
|
||||
<versandergebnis.api.version>2.14.0</versandergebnis.api.version>
|
||||
<ci.event.model.version>2.0.0</ci.event.model.version>
|
||||
<partnerverwaltung.api.version>2.9.0</partnerverwaltung.api.version>
|
||||
|
||||
<!-- Dependencies -->
|
||||
<logging-util.version>1.3.0</logging-util.version>
|
||||
<signature-message.version>1.7.0</signature-message.version>
|
||||
<jakarta.ws.rs-api.version>2.1.6</jakarta.ws.rs-api.version>
|
||||
<dom4j.version>2.2.0</dom4j.version>
|
||||
<logback.version>1.4.14</logback.version>
|
||||
<!-- Kafka Dependencies -->
|
||||
<spring-kafka.version>3.3.14</spring-kafka.version>
|
||||
<aws-msk-iam-auth.version>2.3.5</aws-msk-iam-auth.version>
|
||||
|
||||
<!-- Test Dependencies -->
|
||||
<mockito-inline.version>5.2.0</mockito-inline.version>
|
||||
<assertj-core.version>3.27.7</assertj-core.version>
|
||||
|
||||
<!-- Plugins -->
|
||||
<exec-maven-plugin.version>3.6.3</exec-maven-plugin.version>
|
||||
|
||||
<!-- Build -->
|
||||
<buildDirectory>${project.basedir}/target</buildDirectory>
|
||||
<jaxb-api.version>2.3.1</jaxb-api.version>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<!-- findings tomcat-embed-core
|
||||
GHSA-95jq-rwvf-vjx4, GHSA-69cc-cv78-qc8g,
|
||||
GHSA-x4m4-345f-5h5g, GHSA-h468-7pvh-8vr8,
|
||||
GHSA-rv64-5gf8-9qq8, GHSA-9m3c-qcxr-9x87,
|
||||
GHSA-8mc5-53m5-3qj2, GHSA-24j9-x2wg-9qv6 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tomcat.embed</groupId>
|
||||
<artifactId>tomcat-embed-core</artifactId>
|
||||
<version>10.1.54</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency><!-- IT Start Fehler ohne diese Dependency -->
|
||||
<groupId>javax.xml.bind</groupId>
|
||||
<artifactId>jaxb-api</artifactId>
|
||||
<version>${jaxb-api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web-services</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-security</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.ws</groupId>
|
||||
<artifactId>spring-ws-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-aop</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-validation</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- CI needs to access KB as a client from a Resource Server -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-oauth2-client</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>versandergebnis</artifactId>
|
||||
<version>${versandergebnis.api.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>data-model</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>taftap</artifactId>
|
||||
<version>${taftap.api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>ci-event-model</artifactId>
|
||||
<version>${ci.event.model.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>versandauftrag</artifactId>
|
||||
<version>${versandauftrag.api.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>data-model</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>trassenanmeldung</artifactId>
|
||||
<version>${trassenanmeldung.api.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>data-model</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>partnerverwaltung</artifactId>
|
||||
<version>${partnerverwaltung.api.version}</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>org.dom4j</groupId>
|
||||
<artifactId>dom4j</artifactId>
|
||||
<version>${dom4j.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.assertj</groupId>
|
||||
<artifactId>assertj-core</artifactId>
|
||||
<version>${assertj-core.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-inline</artifactId>
|
||||
<version>${mockito-inline.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>logging-util</artifactId>
|
||||
<version>${logging-util.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>signature-message</artifactId>
|
||||
<version>${signature-message.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.kafka</groupId>
|
||||
<artifactId>spring-kafka</artifactId>
|
||||
<version>${spring-kafka.version}</version>
|
||||
<exclusions>
|
||||
<!-- CVE-2025-12183 und CVE-2025-66566 -->
|
||||
<exclusion>
|
||||
<groupId>org.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<!-- CVE-2025-12183 und CVE-2025-66566 -->
|
||||
<dependency>
|
||||
<groupId>at.yawk.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>software.amazon.msk</groupId>
|
||||
<artifactId>aws-msk-iam-auth</artifactId>
|
||||
<version>${aws-msk-iam-auth.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-cache</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<directory>${buildDirectory}</directory>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<version>${exec-maven-plugin.version}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${maven-surefire-plugin.version}</version>
|
||||
<configuration>
|
||||
<argLine>@{argLine} --add-opens java.xml/com.sun.org.apache.xerces.internal.jaxp.datatype=ALL-UNNAMED</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>${jacoco-maven-plugin.version}</version>
|
||||
<configuration combine.self="override">
|
||||
<excludes>
|
||||
<exclude>**/it/*.*</exclude>
|
||||
<exclude>**/test/*.*</exclude>
|
||||
<exclude>**/CommonInterfaceApplication.*</exclude>
|
||||
<exclude>**/*Configuration.*</exclude>
|
||||
<exclude>**/*Config.*</exclude>
|
||||
<exclude>**/*Properties.*</exclude>
|
||||
<exclude>**/*Exception.*</exclude>
|
||||
<exclude>**/repository/**/*</exclude>
|
||||
<exclude>**/logging/**/*</exclude>
|
||||
<exclude>**/ci/model/**/*</exclude>
|
||||
<exclude>**/ci/api/**/*</exclude>
|
||||
<exclude>**/ci/config/partner/BackendPartnerSetup.*</exclude>
|
||||
<exclude>**/ci/config/partner/BackendPartnersSettings.*</exclude>
|
||||
<exclude>**/boundary/messaging/model/**/*</exclude>
|
||||
<exclude>**/*MessageResponseInfo.*</exclude>
|
||||
|
||||
<exclude>**/HealthCheck.*</exclude>
|
||||
<exclude>**/*HealthIndicator.*</exclude>
|
||||
<exclude>**/TafTapConstants.*</exclude>
|
||||
<exclude>**/MessageKey.*</exclude>
|
||||
<exclude>**/*Type.*</exclude>
|
||||
<exclude>**/*Info.*</exclude>
|
||||
<exclude>**/*Probe.*</exclude>
|
||||
<exclude>**/SteuerungVertriebServiceHealthIndicator.*</exclude>
|
||||
|
||||
<exclude>**/gateway/heartbeat/**.*</exclude>
|
||||
<exclude>**/control/partner/PartnerSetup.*</exclude>
|
||||
<exclude>**/control/partner/PartnerSettings.*</exclude>
|
||||
<exclude>**/NspNames.*</exclude>
|
||||
<exclude>**/messaging/wsdl/**/*</exclude>
|
||||
|
||||
<exclude>**/metrics/**/*</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>report</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,205 @@
|
||||
<?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>
|
||||
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>core-components-common</artifactId>
|
||||
<name>core-components-common</name>
|
||||
<version>1.1.0-SNAPSHOT</version>
|
||||
<description>core-components-common</description>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<java.version>21</java.version>
|
||||
<maven.compiler.release>${java.version}</maven.compiler.release>
|
||||
<maven.surefire.version>3.5.5</maven.surefire.version>
|
||||
<junit-jupiter.version>5.14.3</junit-jupiter.version>
|
||||
<assertj.version>3.27.7</assertj.version>
|
||||
<mockito.version>5.23.0</mockito.version>
|
||||
<log4j.version>2.25.4</log4j.version>
|
||||
<jakarta.validation-api.version>3.1.1</jakarta.validation-api.version>
|
||||
<hibernate-validator.version>9.1.0.Final</hibernate-validator.version>
|
||||
<expressly.version>6.0.0</expressly.version>
|
||||
|
||||
<jackson.version>2.21.2</jackson.version>
|
||||
|
||||
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
|
||||
<maven-source-plugin.version>3.4.0</maven-source-plugin.version>
|
||||
<jacoco-maven-plugin.version>0.8.14</jacoco-maven-plugin.version>
|
||||
<trassenanmeldung.api.version>8.11.0</trassenanmeldung.api.version>
|
||||
<lombok.version>1.18.44</lombok.version>
|
||||
|
||||
<buildDirectory>${project.basedir}/target</buildDirectory>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson</groupId>
|
||||
<artifactId>jackson-bom</artifactId>
|
||||
<version>${jackson.version}</version>
|
||||
<scope>import</scope>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>jakarta.validation</groupId>
|
||||
<artifactId>jakarta.validation-api</artifactId>
|
||||
<version>${jakarta.validation-api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hibernate.validator</groupId>
|
||||
<artifactId>hibernate-validator</artifactId>
|
||||
<version>${hibernate-validator.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.glassfish.expressly</groupId>
|
||||
<artifactId>expressly</artifactId>
|
||||
<version>${expressly.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter</artifactId>
|
||||
<version>${junit-jupiter.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.assertj</groupId>
|
||||
<artifactId>assertj-core</artifactId>
|
||||
<version>${assertj.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-junit-jupiter</artifactId>
|
||||
<version>${mockito.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-api</artifactId>
|
||||
<version>${log4j.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-annotations</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.datatype</groupId>
|
||||
<artifactId>jackson-datatype-jdk8</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.datatype</groupId>
|
||||
<artifactId>jackson-datatype-jsr310</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.module</groupId>
|
||||
<artifactId>jackson-module-parameter-names</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>${lombok.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>trassenanmeldung</artifactId>
|
||||
<version>${trassenanmeldung.api.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<directory>${buildDirectory}</directory>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${maven-compiler-plugin.version}</version>
|
||||
<configuration>
|
||||
<release>${maven.compiler.release}</release>
|
||||
<compilerArgument>-proc:full</compilerArgument>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>${maven-source-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar-no-fork</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${maven.surefire.version}</version>
|
||||
<configuration>
|
||||
<argLine>
|
||||
-javaagent:${settings.localRepository}/org/mockito/mockito-core/${mockito.version}/mockito-core-${mockito.version}.jar
|
||||
-Xshare:off
|
||||
</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- the jacoco plugin is being used for coverage reports in sonar -->
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>${jacoco-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>report</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>skip-integration-tests-profile</id>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>${env.PAJS_REPO_NAME}</id>
|
||||
<url>${env.PAJS_REPO_URL}</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,190 @@
|
||||
<?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>
|
||||
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>core-components-kafka</artifactId>
|
||||
<name>core-components-kafka</name>
|
||||
<version>0.3.0-SNAPSHOT</version>
|
||||
<description>core-components-kafka</description>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<java.version>21</java.version>
|
||||
<maven.compiler.release>${java.version}</maven.compiler.release>
|
||||
|
||||
<signature-message.version>1.7.0</signature-message.version>
|
||||
<core-components-common.version>1.6.1</core-components-common.version>
|
||||
<trassenanmeldung.api.version>8.11.0</trassenanmeldung.api.version>
|
||||
<jackson.version>2.21.2</jackson.version>
|
||||
<spring-boot.version>3.5.13</spring-boot.version>
|
||||
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
|
||||
<jacoco-maven-plugin.version>0.8.14</jacoco-maven-plugin.version>
|
||||
<logcaptor.version>2.12.6</logcaptor.version>
|
||||
<at.yawk.lz.version>1.11.0</at.yawk.lz.version>
|
||||
|
||||
<buildDirectory>${project.basedir}/target</buildDirectory>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson</groupId>
|
||||
<artifactId>jackson-bom</artifactId>
|
||||
<version>${jackson.version}</version>
|
||||
<scope>import</scope>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>${spring-boot.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>core-components-common</artifactId>
|
||||
<version>${core-components-common.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>signature-message</artifactId>
|
||||
<version>${signature-message.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.kafka</groupId>
|
||||
<artifactId>spring-kafka</artifactId>
|
||||
<exclusions>
|
||||
<!-- High Finding: CVE-2025-12183, CVE-2025-66566 -->
|
||||
<exclusion>
|
||||
<groupId>org.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.kafka</groupId>
|
||||
<artifactId>spring-kafka-test</artifactId>
|
||||
<scope>test</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<groupId>commons-io</groupId>
|
||||
</exclusion>
|
||||
<!-- High Finding: CVE-2025-12183, CVE-2025-66566 -->
|
||||
<exclusion>
|
||||
<groupId>org.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<!-- High Finding: CVE-2025-12183, CVE-2025-66566 -->
|
||||
<dependency>
|
||||
<groupId>at.yawk.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
<version>${at.yawk.lz.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-log4j2</artifactId>
|
||||
<scope>test</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>log4j-slf4j2-impl</artifactId>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-autoconfigure</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>trassenanmeldung</artifactId>
|
||||
<version>${trassenanmeldung.api.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hibernate.validator</groupId>
|
||||
<artifactId>hibernate-validator</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.github.hakky54</groupId>
|
||||
<artifactId>logcaptor</artifactId>
|
||||
<version>${logcaptor.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<directory>${buildDirectory}</directory>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${maven-compiler-plugin.version}</version>
|
||||
<configuration>
|
||||
<release>${maven.compiler.release}</release>
|
||||
<compilerArgument>-proc:full</compilerArgument>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- the jacoco plugin is being used for coverage reports in sonar -->
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>${jacoco-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>report</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>${env.PAJS_REPO_NAME}</id>
|
||||
<url>${env.PAJS_REPO_URL}</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
</project>
|
||||
@@ -0,0 +1,116 @@
|
||||
<?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>
|
||||
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>core-components-test</artifactId>
|
||||
<name>core-components-test</name>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<description>core-components-test</description>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<java.version>21</java.version>
|
||||
<maven.compiler.release>${java.version}</maven.compiler.release>
|
||||
<maven.surefire.version>3.5.5</maven.surefire.version>
|
||||
<junit-jupiter.version>5.12.1</junit-jupiter.version>
|
||||
<assertj.version>3.27.3</assertj.version>
|
||||
<mockito.version>5.17.0</mockito.version>
|
||||
<log4j.version>2.24.3</log4j.version>
|
||||
<jakarta.validation-api.version>3.1.1</jakarta.validation-api.version>
|
||||
<hibernate-validator.version>8.0.2.Final</hibernate-validator.version>
|
||||
<expressly.version>5.0.0</expressly.version>
|
||||
|
||||
<awaitility.version>4.3.0</awaitility.version>
|
||||
|
||||
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
|
||||
<maven-source-plugin.version>3.4.0</maven-source-plugin.version>
|
||||
<jacoco-maven-plugin.version>0.8.14</jacoco-maven-plugin.version>
|
||||
<lombok.version>1.18.38</lombok.version>
|
||||
|
||||
<buildDirectory>${project.basedir}/target</buildDirectory>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.awaitility</groupId>
|
||||
<artifactId>awaitility</artifactId>
|
||||
<version>${awaitility.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<directory>${buildDirectory}</directory>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${maven-compiler-plugin.version}</version>
|
||||
<configuration>
|
||||
<release>${maven.compiler.release}</release>
|
||||
<compilerArgument>-proc:full</compilerArgument>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>${maven-source-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar-no-fork</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${maven.surefire.version}</version>
|
||||
<configuration>
|
||||
<argLine>
|
||||
-javaagent:${settings.localRepository}/org/mockito/mockito-core/${mockito.version}/mockito-core-${mockito.version}.jar
|
||||
-Xshare:off
|
||||
</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- the jacoco plugin is being used for coverage reports in sonar -->
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>${jacoco-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>report</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>${env.PAJS_REPO_NAME}</id>
|
||||
<url>${env.PAJS_REPO_URL}</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>skip-integration-tests-profile</id>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
<?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.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>api-parent-pom</artifactId>
|
||||
<version>3.1.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>data-model</artifactId>
|
||||
<version>10.0.0-SNAPSHOT</version>
|
||||
<packaging>pom</packaging><!-- disable java-jar -->
|
||||
|
||||
<properties>
|
||||
<base.package>com.dbnetz.bestellsystem.taftap</base.package>
|
||||
<doc.path>${output.directory}/doc/</doc.path>
|
||||
<skipDataModelUnpack>true</skipDataModelUnpack>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.openapitools</groupId>
|
||||
<artifactId>jackson-databind-nullable</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jakarta.validation</groupId>
|
||||
<artifactId>jakarta.validation-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-webflux</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.swagger.core.v3</groupId>
|
||||
<artifactId>swagger-annotations</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jakarta.servlet</groupId>
|
||||
<artifactId>jakarta.servlet-api</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,181 @@
|
||||
<?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.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>bestellsystem-parent-pom</artifactId>
|
||||
<version>1.8.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>ifp-connector</artifactId>
|
||||
<version>0.9.1-SNAPSHOT</version>
|
||||
<name>ifp-connector</name>
|
||||
<description>Um die Kommunikation zwischen einem oder mehreren Bestellsystem-Umgebungen und IFP/TPN zu etablieren</description>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<java.version>21</java.version>
|
||||
|
||||
<base.package>com.dbnetz.bestellsystem.ifp-connector</base.package>
|
||||
<aws-java-sdk2.version>2.42.37</aws-java-sdk2.version>
|
||||
<aws.msk.iam.auth.version>2.3.5</aws.msk.iam.auth.version>
|
||||
<vertriebsauftraege-api.version>8.3.0</vertriebsauftraege-api.version>
|
||||
<produktionsauftrag-api.version>3.6.0</produktionsauftrag-api.version>
|
||||
<buildDirectory>${project.basedir}/target</buildDirectory>
|
||||
<lombok.version>1.18.44</lombok.version>
|
||||
<lombok-mapstruct-binding.version>0.2.0</lombok-mapstruct-binding.version>
|
||||
<hypersistence.utils.version>3.9.4</hypersistence.utils.version>
|
||||
<signature-message.version>1.7.0</signature-message.version>
|
||||
<!--core-components-->
|
||||
<core-component-common.version>1.6.1</core-component-common.version>
|
||||
<core-component-kafka.version>1.2.1</core-component-kafka.version>
|
||||
<core-components-test.version>1.1.0</core-components-test.version>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>software.amazon.awssdk</groupId>
|
||||
<artifactId>bom</artifactId>
|
||||
<version>${aws-java-sdk2.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<!-- findings netty-core GHSA-w9fj-cfpg-grvv & GHSA-pwqr-wmgm-9rr8 -->
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-bom</artifactId>
|
||||
<version>4.2.12.Final</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.xerial.snappy</groupId>
|
||||
<artifactId>snappy-java</artifactId>
|
||||
<version>1.1.10.8</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>${lombok.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.hypersistence</groupId>
|
||||
<artifactId>hypersistence-utils-hibernate-62</artifactId>
|
||||
<version>${hypersistence.utils.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.datatype</groupId>
|
||||
<artifactId>jackson-datatype-jdk8</artifactId>
|
||||
<version>${jackson.databind.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.datatype</groupId>
|
||||
<artifactId>jackson-datatype-jsr310</artifactId>
|
||||
<version>${jackson.databind.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>vertriebsauftraege</artifactId>
|
||||
<version>${vertriebsauftraege-api.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>produktionsauftrag</artifactId>
|
||||
<version>${produktionsauftrag-api.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-actuator-autoconfigure</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>software.amazon.msk</groupId>
|
||||
<artifactId>aws-msk-iam-auth</artifactId>
|
||||
<version>${aws.msk.iam.auth.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>software.amazon.awssdk</groupId>
|
||||
<artifactId>sts</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>signature-message</artifactId>
|
||||
<version>${signature-message.version}</version>
|
||||
</dependency>
|
||||
<!--core-components-->
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>core-components-common</artifactId>
|
||||
<version>${core-component-common.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>core-components-kafka</artifactId>
|
||||
<version>${core-component-kafka.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>core-components-test</artifactId>
|
||||
<version>${core-components-test.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<directory>${buildDirectory}</directory>
|
||||
|
||||
<outputDirectory>${project.build.directory}/classes</outputDirectory>
|
||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||
<testOutputDirectory>${project.build.directory}/test-classes</testOutputDirectory>
|
||||
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.15.0</version>
|
||||
<configuration>
|
||||
<release>${java.version}</release>
|
||||
<compilerArgs>
|
||||
<arg>-parameters</arg>
|
||||
</compilerArgs>
|
||||
<annotationProcessorPaths>
|
||||
<path>
|
||||
<groupId>org.mapstruct</groupId>
|
||||
<artifactId>mapstruct-processor</artifactId>
|
||||
<version>${mapstruct.version}</version>
|
||||
</path>
|
||||
<path>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>${lombok.version}</version>
|
||||
</path>
|
||||
<path>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok-mapstruct-binding</artifactId>
|
||||
<version>${lombok-mapstruct-binding.version}</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,141 @@
|
||||
<?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>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>bestellsystem-parent-pom</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<relativePath>../bestellsystem-parent-pom</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>kundendaten-bereitstellung</artifactId>
|
||||
<version>1.7.1-SNAPSHOT</version>
|
||||
<name>kundendaten-bereitstellung</name>
|
||||
<description>Demo project for Spring Boot</description>
|
||||
|
||||
<properties>
|
||||
<java.version>21</java.version>
|
||||
<maven.compiler.target>21</maven.compiler.target>
|
||||
|
||||
<!-- Signature Message -->
|
||||
<signature-message.version>1.7.0</signature-message.version>
|
||||
|
||||
<kundendaten.version>2.9.0</kundendaten.version>
|
||||
<bszkundendaten.version>2.9.0</bszkundendaten.version>
|
||||
<kundenAdmin.version>2.9.0</kundenAdmin.version>
|
||||
<partnerverwaltung.api.version>2.9.0</partnerverwaltung.api.version>
|
||||
<partnerverwaltungAdmin.api.version>2.9.0</partnerverwaltungAdmin.api.version>
|
||||
<logging-util.version>1.3.0</logging-util.version>
|
||||
|
||||
<jsonwebtoken>0.13.0</jsonwebtoken>
|
||||
|
||||
<buildDirectory>${project.basedir}/target</buildDirectory>
|
||||
|
||||
<jaxb-api.version>2.3.1</jaxb-api.version>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<!-- findings tomcat-embed-core
|
||||
GHSA-95jq-rwvf-vjx4, GHSA-69cc-cv78-qc8g,
|
||||
GHSA-x4m4-345f-5h5g, GHSA-h468-7pvh-8vr8,
|
||||
GHSA-rv64-5gf8-9qq8, GHSA-9m3c-qcxr-9x87,
|
||||
GHSA-8mc5-53m5-3qj2, GHSA-24j9-x2wg-9qv6 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tomcat.embed</groupId>
|
||||
<artifactId>tomcat-embed-core</artifactId>
|
||||
<version>10.1.54</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
<!-- Für kunden daten OpenApi Klassen -->
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>kundendaten</artifactId>
|
||||
<version>${kundendaten.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>bszkundendaten</artifactId>
|
||||
<version>${bszkundendaten.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>partnerverwaltung</artifactId>
|
||||
<version>${partnerverwaltung.api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>partnerverwaltungAdmin</artifactId>
|
||||
<version>${partnerverwaltungAdmin.api.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>logging-util</artifactId>
|
||||
<version>${logging-util.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- necessary for update to spring boot 3.1.0 -->
|
||||
<dependency>
|
||||
<groupId>javax.xml.bind</groupId>
|
||||
<artifactId>jaxb-api</artifactId>
|
||||
<version>${jaxb-api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>kundenAdmin</artifactId>
|
||||
<version>${kundenAdmin.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Spring Security -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-security</artifactId>
|
||||
</dependency>
|
||||
<!-- https://mvnrepository.com/artifact/org.springframework.security/spring-security-test -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Signature Message -->
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>signature-message</artifactId>
|
||||
<version>${signature-message.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Dependency for it - test jwt generate -->
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-impl</artifactId>
|
||||
<version>${jsonwebtoken}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Dependency for it - test jwt generate -->
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-jackson</artifactId>
|
||||
<version>${jsonwebtoken}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<directory>${buildDirectory}</directory>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,262 @@
|
||||
<?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>
|
||||
|
||||
<!--suppress MavenRedundantGroupId -->
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>logging-util</artifactId>
|
||||
<version>0.4.8-SNAPSHOT</version>
|
||||
<name>Logging-Util</name>
|
||||
<description>Project for Spring Boot Logging Extension</description>
|
||||
|
||||
<properties>
|
||||
<java.version>21</java.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
|
||||
<spring.boot.version>3.5.13</spring.boot.version>
|
||||
<log4j2.version>2.25.4</log4j2.version>
|
||||
<de.db.kolt.talo.version>4.11.5</de.db.kolt.talo.version>
|
||||
<de.db.kolt.talo-spring-boot.version>5.0.4</de.db.kolt.talo-spring-boot.version>
|
||||
<aspectjweaver.version>1.9.25.1</aspectjweaver.version>
|
||||
|
||||
<jacoco-maven-plugin.version>0.8.14</jacoco-maven-plugin.version>
|
||||
<maven-failsafe-plugin.version>3.5.5</maven-failsafe-plugin.version>
|
||||
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
|
||||
<maven-jar-plugin.version>3.5.0</maven-jar-plugin.version>
|
||||
<maven-source-plugin.version>3.4.0</maven-source-plugin.version>
|
||||
|
||||
<buildDirectory>${project.basedir}/target</buildDirectory>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-bom</artifactId>
|
||||
<version>${log4j2.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-logging</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-logging</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<!-- TALO Logging Framework -->
|
||||
<dependency>
|
||||
<groupId>de.db.kolt.talo</groupId>
|
||||
<artifactId>talo-core</artifactId>
|
||||
<version>${de.db.kolt.talo.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<artifactId>talo-spring-boot</artifactId>
|
||||
<groupId>de.db.kolt.talo</groupId>
|
||||
<version>${de.db.kolt.talo-spring-boot.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.aspectj</groupId>
|
||||
<artifactId>aspectjweaver</artifactId>
|
||||
<version>${aspectjweaver.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<directory>${buildDirectory}</directory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
<includes>
|
||||
<include>**/log4j2.xml</include>
|
||||
<include>*.yml</include>
|
||||
</includes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>false</filtering>
|
||||
<excludes>
|
||||
<exclude>**/log4j2.xml</exclude>
|
||||
<exclude>*.yml</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>${jacoco-maven-plugin.version}</version>
|
||||
<configuration>
|
||||
<excludes>
|
||||
<exclude>**/i18n/*.*</exclude>
|
||||
<exclude>**/*Config.*</exclude>
|
||||
<exclude>**/*Application.*</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>report</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${maven-compiler-plugin.version}</version>
|
||||
<configuration>
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-failsafe-plugin</artifactId>
|
||||
<version>${maven-failsafe-plugin.version}</version>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>${maven-jar-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>${maven-source-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>release</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>release</name>
|
||||
</property>
|
||||
</activation>
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>bestellsystem-maven-prod-local</id>
|
||||
<url>https://bahnhub.tech.rz.db.de/artifactory/bestellsystem-maven-prod-local</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>stage</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>stage</name>
|
||||
</property>
|
||||
</activation>
|
||||
<distributionManagement>
|
||||
<snapshotRepository>
|
||||
<id>bestellsystem-maven-stage-dev-local</id>
|
||||
<url>https://bahnhub.tech.rz.db.de/artifactory/bestellsystem-maven-stage-dev-local/</url>
|
||||
</snapshotRepository>
|
||||
<repository>
|
||||
<id>bestellsystem-maven-stage-dev-local</id>
|
||||
<url>https://bahnhub.tech.rz.db.de/artifactory/bestellsystem-maven-stage-dev-local/</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>kolt-maven-release-local</id>
|
||||
<url>https://bahnhub.tech.rz.db.de/artifactory/kolt-maven-release-local/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>mavenDefault</id>
|
||||
<name>Default Maven Repository</name>
|
||||
<url>https://bahnhub.tech.rz.db.de/artifactory/default-maven-3rdparty/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,280 @@
|
||||
<?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>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>bestellsystem-parent-pom</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<relativePath>../bestellsystem-parent-pom</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>portal-middleware</artifactId>
|
||||
<version>1.49.1-SNAPSHOT</version>
|
||||
<name>portal-middleware</name>
|
||||
<description>Portal Middleware</description>
|
||||
|
||||
<organization>
|
||||
<name>DB Netz AG</name>
|
||||
<url>https://fahrweg.dbnetze.com/fahrweg-de</url>
|
||||
</organization>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>kolt-release</id>
|
||||
<name>KOLT release repository</name>
|
||||
<url>https://bahnhub.tech.rz.db.de/artifactory/kolt-maven-release-local/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<properties>
|
||||
<java.version>21</java.version>
|
||||
<jsonwebtoken>0.13.0</jsonwebtoken>
|
||||
<shedlock-spring>4.47.0</shedlock-spring>
|
||||
<hypersistence-utils-hibernate-60>3.9.4</hypersistence-utils-hibernate-60>
|
||||
<keycloak-adapter-bom>24.0.1</keycloak-adapter-bom>
|
||||
<portal.api.version>4.0.0</portal.api.version>
|
||||
<kundendaten.api.version>2.9.0</kundendaten.api.version>
|
||||
<stammdatenPMW.api.version>1.5.0</stammdatenPMW.api.version>
|
||||
<eingangsnachricht.api.version>2.13.0</eingangsnachricht.api.version>
|
||||
<auftraege.api.version>6.0.0</auftraege.api.version>
|
||||
<versandauftrag.api.version>3.11.0</versandauftrag.api.version>
|
||||
<rabattnummernPMW>1.16.0</rabattnummernPMW>
|
||||
<nurPMW>1.12.0</nurPMW>
|
||||
<LoggingUtil.version>1.0.0</LoggingUtil.version>
|
||||
<swagger.version>1.6.16</swagger.version>
|
||||
<nimbus-jose-jwt>10.9</nimbus-jose-jwt>
|
||||
<spring-kafka.version>3.3.14</spring-kafka.version>
|
||||
<aws-msk-iam-auth.version>2.3.5</aws-msk-iam-auth.version>
|
||||
<signature-message>1.7.0</signature-message>
|
||||
<guava.version>33.6.0-jre</guava.version>
|
||||
<lz4.version>1.11.0</lz4.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- for hibernate orm to use postgersql json/jsonb type-->
|
||||
<dependency>
|
||||
<groupId>io.hypersistence</groupId>
|
||||
<artifactId>hypersistence-utils-hibernate-60</artifactId>
|
||||
<version>${hypersistence-utils-hibernate-60}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web-services</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-logging</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<!-- PM is a resource server for the UI -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
|
||||
</dependency>
|
||||
<!-- PM needs to access RB, AV and SB as a client from a Resource Server -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-oauth2-client</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Dependency for it - test jwt generate -->
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-impl</artifactId>
|
||||
<version>${jsonwebtoken}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Dependency for it - test jwt generate -->
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-jackson</artifactId>
|
||||
<version>${jsonwebtoken}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- dependencies to internal packages -->
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>kundendaten</artifactId>
|
||||
<version>${kundendaten.api.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>stammdatenPMW</artifactId>
|
||||
<version>${stammdatenPMW.api.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>rabattnummernPMW</artifactId>
|
||||
<version>${rabattnummernPMW}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>nurPMW</artifactId>
|
||||
<version>${nurPMW}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>eingangsnachricht</artifactId>
|
||||
<version>${eingangsnachricht.api.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>data-model</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>versandauftrag</artifactId>
|
||||
<version>${versandauftrag.api.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>data-model</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>LoggingUtil</artifactId>
|
||||
<version>${LoggingUtil.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>signature-message</artifactId>
|
||||
<version>${signature-message}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>auftraege</artifactId>
|
||||
<version>${auftraege.api.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>data-model</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<!-- Für die Portal Schnittstelle-->
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>portal</artifactId>
|
||||
<version>${portal.api.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>springfox-boot-starter</artifactId>
|
||||
<groupId>io.springfox</groupId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<artifactId>springfox-oas</artifactId>
|
||||
<groupId>io.springfox</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.swagger</groupId>
|
||||
<artifactId>swagger-jaxrs</artifactId>
|
||||
<version>${swagger.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.nimbusds</groupId>
|
||||
<artifactId>nimbus-jose-jwt</artifactId>
|
||||
<version>${nimbus-jose-jwt}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.kafka</groupId>
|
||||
<artifactId>spring-kafka</artifactId>
|
||||
<version>${spring-kafka.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<!-- High Finding: CVE-2025-12183, CVE-2025-66566 -->
|
||||
<dependency>
|
||||
<groupId>at.yawk.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
<version>${lz4.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>software.amazon.msk</groupId>
|
||||
<artifactId>aws-msk-iam-auth</artifactId>
|
||||
<version>${aws-msk-iam-auth.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
<version>${guava.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.bouncycastle</groupId>
|
||||
<artifactId>bcpkix-jdk18on</artifactId>
|
||||
<version>1.83</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- findings tomcat-embed-core
|
||||
GHSA-95jq-rwvf-vjx4, GHSA-69cc-cv78-qc8g,
|
||||
GHSA-x4m4-345f-5h5g, GHSA-h468-7pvh-8vr8,
|
||||
GHSA-rv64-5gf8-9qq8, GHSA-9m3c-qcxr-9x87,
|
||||
GHSA-8mc5-53m5-3qj2, GHSA-24j9-x2wg-9qv6 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tomcat.embed</groupId>
|
||||
<artifactId>tomcat-embed-core</artifactId>
|
||||
<version>10.1.54</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>macos-apple-silicon</id>
|
||||
<activation>
|
||||
<os>
|
||||
<family>mac</family>
|
||||
<arch>aarch64</arch>
|
||||
</os>
|
||||
</activation>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-resolver-dns-native-macos</artifactId>
|
||||
<classifier>osx-aarch_64</classifier>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"name": "bestellportal-ui",
|
||||
"version": "1.9.1",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"cy:open": "cypress open",
|
||||
"cy:run": "cypress run",
|
||||
"ng": "ng",
|
||||
"standardize": "prettier **/*.ts --write",
|
||||
"prestart": "npm run standardize",
|
||||
"start": "ng serve --proxy-config proxy.conf.json",
|
||||
"preinstall": "node ci-preinstall-check.js",
|
||||
"postinstall": "node build-scripts/git-describe.js",
|
||||
"update-nginx": "start=$(date '+%s'); node build-scripts/nginx-conf-update.js && echo Duration: $(( $(date '+%s') - $start ))secs",
|
||||
"prebuild": "npm run standardize",
|
||||
"list": "start=$(date '+%s'); npm list --depth=0 > /workspace/npm_list.txt && echo Duration: $(( $(date '+%s') - $start ))secs || true",
|
||||
"build": "ng build",
|
||||
"build-prod": "start=$(date '+%s'); ng build --subresource-integrity --configuration production && echo Duration: $(( $(date '+%s') - $start ))secs",
|
||||
"build-prod-gz": "find dist/bestellportal-ui -type f -not \\( -name config.json -o -name index.html \\) | xargs -n 1 gzip --best -k",
|
||||
"test": "start=$(date '+%s'); ng test --no-watch --code-coverage && echo Duration: $(( $(date '+%s') - $start ))secs",
|
||||
"test-coverage": "start=$(date '+%s'); ng test --no-watch --code-coverage && echo Duration: $(( $(date '+%s') - $start ))secs",
|
||||
"test-local": "start=$(date '+%s'); ng test --watch=true --browsers=Chrome && echo Duration: $(( $(date '+%s') - $start ))secs",
|
||||
"lint": "ng lint --fix",
|
||||
"eslint": "start=$(date '+%s'); npx eslint -c eslint.config.mjs --ignore-pattern '**/*.js' --ignore-pattern '**/*.mjs' --ignore-pattern '**/*.cjs' src -f html -o report.html && echo Duration: $(( $(date '+%s') - $start ))secs",
|
||||
"e2e": "ng e2e",
|
||||
"cy-docker:prepare": "docker run --rm -p 4201:4201 -v %INIT_CWD%:/app trion/ng-cli ng serve --host 0.0.0.0 --port 4201 --disableHostCheck",
|
||||
"cy-docker:run": "docker run -it -v %INIT_CWD%:/e2e -w /e2e --env CYPRESS_baseUrl=http://host.docker.internal:4201 cypress/included:8.4.0",
|
||||
"generate-compodoc": "npx compodoc -p tsconfig.doc.json --minimal --open",
|
||||
"audit-resolve": "npx resolve-audit",
|
||||
"audit-html-with-workaround": "start=$(date '+%s'); echo \"[WARN] WARNING: This removes /workspace/node_modules as this is a soft link...\"; npm install --location=global npm-audit-html@2.0.0-beta.2 && npm audit || true && npm audit --json | tee /workspace/audit.json | npm-audit-html -o /workspace/audit.html && npx check-audit && npm uninstall npm-audit-html && echo Duration: $(( $(date '+%s') - $start ))secs",
|
||||
"audit": "start=$(date '+%s'); npm audit --json | tee /workspace/audit.json && npx check-audit && echo Duration: $(( $(date '+%s') - $start ))secs"
|
||||
},
|
||||
"prettier": {
|
||||
"printWidth": 120,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "es5",
|
||||
"parser": "typescript"
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular-devkit/architect": "0.2102.2",
|
||||
"@angular/animations": "21.2.4",
|
||||
"@angular/cdk": "^21.2.2",
|
||||
"@angular/common": "21.2.4",
|
||||
"@angular/compiler": "21.2.4",
|
||||
"@angular/core": "21.2.4",
|
||||
"@angular/forms": "21.2.4",
|
||||
"@angular/platform-browser": "21.2.4",
|
||||
"@angular/platform-browser-dynamic": "21.2.4",
|
||||
"@angular/router": "21.2.4",
|
||||
"@angular/service-worker": "21.2.4",
|
||||
"@bestellsystem/portal-api": "4.0.0",
|
||||
"@kuk/kuk-ui-library": "^0.45.0",
|
||||
"angular-auth-oidc-client": "^21.0.0",
|
||||
"date-fns": "^4.1.0",
|
||||
"dialog-polyfill": "0.5.6",
|
||||
"jspdf": "^4.2.1",
|
||||
"jspdf-autotable": "^5.0.7",
|
||||
"postcss": "8.5.6",
|
||||
"rxjs": "7.8.2",
|
||||
"tslib": "2.6.2",
|
||||
"zone.js": "0.15.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "^21.2.2",
|
||||
"@angular-eslint/builder": "^21.3.1",
|
||||
"@angular-eslint/eslint-plugin": "^21.3.1",
|
||||
"@angular-eslint/eslint-plugin-template": "^21.3.1",
|
||||
"@angular-eslint/template-parser": "^21.3.1",
|
||||
"@angular/build": "^21.2.2",
|
||||
"@angular/cli": "^21.2.2",
|
||||
"@angular/compiler-cli": "21.2.4",
|
||||
"@angular/language-service": "21.2.4",
|
||||
"@badeball/cypress-cucumber-preprocessor": "24.0.1",
|
||||
"@compodoc/compodoc": "^1.1.26",
|
||||
"@cypress/webpack-preprocessor": "^7.0.2",
|
||||
"@eslint/js": "9.31.0",
|
||||
"@smarttools/eslint-plugin-rxjs": "1.0.22",
|
||||
"@types/jasmine": "6.0.0",
|
||||
"@types/jasminewd2": "2.0.13",
|
||||
"@types/jspdf": "^2.0.0",
|
||||
"@types/node": "22.16.5",
|
||||
"@types/node-fetch": "2.6.13",
|
||||
"@typescript-eslint/eslint-plugin": "^8.56.0",
|
||||
"@typescript-eslint/parser": "^8.56.0",
|
||||
"cypress-fail-fast": "7.1.1",
|
||||
"eslint": "^9.39.2",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-import": "2.32.0",
|
||||
"eslint-plugin-jsdoc": "51.4.1",
|
||||
"eslint-plugin-no-unsanitized": "^4.1.5",
|
||||
"eslint-plugin-prefer-arrow": "1.2.3",
|
||||
"eslint-plugin-prettier": "^5.5.5",
|
||||
"jasmine-core": "5.13.0",
|
||||
"jasmine-spec-reporter": "7.0.0",
|
||||
"jsdoc": "^4.0.0",
|
||||
"karma": "6.4.4",
|
||||
"karma-chrome-launcher": "3.2.0",
|
||||
"karma-coverage": "2.2.1",
|
||||
"karma-jasmine": "5.1.0",
|
||||
"karma-jasmine-html-reporter": "2.2.0",
|
||||
"karma-junit-reporter": "2.0.1",
|
||||
"karma-viewport": "1.0.9",
|
||||
"node-fetch": "3.3.2",
|
||||
"npm-audit-resolver": "3.0.0-RC.0",
|
||||
"path-browserify": "1.0.1",
|
||||
"prettier": "3.6.2",
|
||||
"prettier-plugin-organize-imports": "4.2.0",
|
||||
"process": "0.11.10",
|
||||
"stylelint": "16.22.0",
|
||||
"stylelint-config-standard-scss": "15.0.1",
|
||||
"ts-loader": "9.5.7",
|
||||
"ts-node": "10.9.2",
|
||||
"tsx": "^4.19.3",
|
||||
"typescript": "^5.9.2",
|
||||
"typescript-eslint": "^8.56.1"
|
||||
},
|
||||
"cypress-cucumber-preprocessor": {
|
||||
"stepDefinitions": [
|
||||
"cypress/integration/[filepath]/**/*.ts",
|
||||
"cypress/[filepath]/**/*.ts",
|
||||
"**/common.spec.ts"
|
||||
]
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@cypress/schematic": "2.5.2",
|
||||
"cypress": "^13.16.1"
|
||||
},
|
||||
"overrides": {
|
||||
"tough-cookie": "^6.0.0",
|
||||
"protobufjs": "^8.0.0",
|
||||
"semver": "^7.5.2",
|
||||
"import-in-the-middle": "^3.0.0",
|
||||
"cross-spawn": "^7.0.4",
|
||||
"nanoid": "3.3.11"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,152 @@
|
||||
<?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>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>bestellsystem-parent-pom</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<relativePath>../bestellsystem-parent-pom</relativePath>
|
||||
</parent>
|
||||
|
||||
<groupId>com.dbnetzt.bestellsystem</groupId>
|
||||
<artifactId>rabattnummern-bereitstellung</artifactId>
|
||||
<version>1.7.1-SNAPSHOT</version>
|
||||
<name>rabattnummern-bereitstellung</name>
|
||||
<description>Demo project for Spring Boot</description>
|
||||
|
||||
<properties>
|
||||
<java.version>21</java.version>
|
||||
<nvntool>1.16.0</nvntool>
|
||||
<pzp>1.13.0</pzp>
|
||||
<rabattnummernPMW>1.16.0</rabattnummernPMW>
|
||||
<LoggingUtil.version>1.0.0</LoggingUtil.version>
|
||||
<buildDirectory>${project.basedir}/target</buildDirectory>
|
||||
<hypersistence-utils-hibernate-60>3.9.4</hypersistence-utils-hibernate-60>
|
||||
<jsonwebtoken>0.13.0</jsonwebtoken>
|
||||
<oauth2resourceserver>3.5.13</oauth2resourceserver>
|
||||
<nimbusjosejwt>10.9</nimbusjosejwt>
|
||||
<signature-message>1.7.0</signature-message>
|
||||
<lz4.version>1.11.0</lz4.version>
|
||||
</properties>
|
||||
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>nvntool</artifactId>
|
||||
<version>${nvntool}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>pzp</artifactId>
|
||||
<version>${pzp}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>LoggingUtil</artifactId>
|
||||
<version>${LoggingUtil.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>signature-message</artifactId>
|
||||
<version>${signature-message}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<!-- High Finding: CVE-2025-12183, CVE-2025-66566 -->
|
||||
<dependency>
|
||||
<groupId>at.yawk.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
<version>${lz4.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>rabattnummernPMW</artifactId>
|
||||
<version>${rabattnummernPMW}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
|
||||
<version>${oauth2resourceserver}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.nimbusds</groupId>
|
||||
<artifactId>nimbus-jose-jwt</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.nimbusds</groupId>
|
||||
<artifactId>nimbus-jose-jwt</artifactId>
|
||||
<version>${nimbusjosejwt}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Dependency for it - test jwt generate -->
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-impl</artifactId>
|
||||
<version>${jsonwebtoken}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Dependency for it - test jwt generate -->
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-jackson</artifactId>
|
||||
<version>${jsonwebtoken}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Diese Fehler wird ohne die Library geworfen
|
||||
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory'
|
||||
defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]:
|
||||
javax/xml/bind/annotation/XmlEl ...-->
|
||||
|
||||
<dependency>
|
||||
<groupId>io.hypersistence</groupId>
|
||||
<artifactId>hypersistence-utils-hibernate-60</artifactId>
|
||||
<version>${hypersistence-utils-hibernate-60}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk18on -->
|
||||
<dependency>
|
||||
<groupId>org.bouncycastle</groupId>
|
||||
<artifactId>bcprov-jdk18on</artifactId>
|
||||
<version>1.84</version>
|
||||
</dependency>
|
||||
|
||||
<!-- findings tomcat-embed-core
|
||||
GHSA-95jq-rwvf-vjx4, GHSA-69cc-cv78-qc8g,
|
||||
GHSA-x4m4-345f-5h5g, GHSA-h468-7pvh-8vr8,
|
||||
GHSA-rv64-5gf8-9qq8, GHSA-9m3c-qcxr-9x87,
|
||||
GHSA-8mc5-53m5-3qj2, GHSA-24j9-x2wg-9qv6 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tomcat.embed</groupId>
|
||||
<artifactId>tomcat-embed-core</artifactId>
|
||||
<version>10.1.54</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<directory>${buildDirectory}</directory>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,156 @@
|
||||
<?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>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>3.5.13</version>
|
||||
<relativePath/> <!-- lookup parent from repository -->
|
||||
</parent>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>signature-database</artifactId>
|
||||
<version>0.0.5-SNAPSHOT</version>
|
||||
<name>signature-database</name>
|
||||
<description>signature-database library</description>
|
||||
<properties>
|
||||
<java.version>21</java.version>
|
||||
|
||||
<junit-jupiter-api.version>6.0.3</junit-jupiter-api.version>
|
||||
<jackson.databind.annotation.version>2.21</jackson.databind.annotation.version>
|
||||
<jackson.databind.version>2.21.2</jackson.databind.version>
|
||||
<hibernate.core.version>6.6.49.Final</hibernate.core.version>
|
||||
|
||||
<jacoco-maven-plugin.version>0.8.14</jacoco-maven-plugin.version>
|
||||
|
||||
<buildDirectory>${project.basedir}/target</buildDirectory>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.junit</groupId>
|
||||
<artifactId>junit-bom</artifactId>
|
||||
<version>${junit-jupiter-api.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-core</artifactId>
|
||||
<version>${hibernate.core.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
<version>${jackson.databind.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-annotations</artifactId>
|
||||
<version>${jackson.databind.annotation.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-core</artifactId>
|
||||
<version>${jackson.databind.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.datatype</groupId>
|
||||
<artifactId>jackson-datatype-jsr310</artifactId>
|
||||
<version>${jackson.databind.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-api</artifactId>
|
||||
<version>${junit-jupiter-api.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<directory>${buildDirectory}</directory>
|
||||
<plugins>
|
||||
<!-- the jacoco plugin is being used for coverage reports in sonar -->
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>${jacoco-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>report</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
<compilerArgs>
|
||||
<arg>-parameters</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>3.4.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>${env.PAJS_REPO_NAME}</id>
|
||||
<url>${env.PAJS_REPO_URL}</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,225 @@
|
||||
<?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>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>signature-message</artifactId>
|
||||
<version>0.2.3-SNAPSHOT</version>
|
||||
<name>signature-message</name>
|
||||
<description>signature-message library</description>
|
||||
<properties>
|
||||
<java.version>21</java.version>
|
||||
<maven.compiler.release>${java.version}</maven.compiler.release>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<wiremock.version>3.13.2</wiremock.version>
|
||||
<jacoco-maven-plugin.version>0.8.14</jacoco-maven-plugin.version>
|
||||
<buildDirectory>${project.basedir}/target</buildDirectory>
|
||||
<spring.boot.version>3.5.13</spring.boot.version>
|
||||
<lz4-java.version>1.11.0</lz4-java.version>
|
||||
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
|
||||
<maven-jar-plugin.version>3.5.0</maven-jar-plugin.version>
|
||||
<jackson.version>2.21.2</jackson.version>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson</groupId>
|
||||
<artifactId>jackson-bom</artifactId>
|
||||
<version>${jackson.version}</version>
|
||||
<scope>import</scope>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<!-- CVE-2025-12183, CVE-2025-66566 -->
|
||||
<dependency>
|
||||
<groupId>at.yawk.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
<version>${lz4-java.version}</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-webmvc</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-webflux</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-api</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>jakarta.annotation</groupId>
|
||||
<artifactId>jakarta.annotation-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jakarta.servlet</groupId>
|
||||
<artifactId>jakarta.servlet-api</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.datatype</groupId>
|
||||
<artifactId>jackson-datatype-jsr310</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.kafka</groupId>
|
||||
<artifactId>spring-kafka</artifactId>
|
||||
<exclusions>
|
||||
<!-- CVE-2025-12183 und CVE-2025-66566 -->
|
||||
<exclusion>
|
||||
<groupId>org.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<!-- CVE-2025-12183 und CVE-2025-66566 -->
|
||||
<dependency>
|
||||
<groupId>at.yawk.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.projectreactor</groupId>
|
||||
<artifactId>reactor-test</artifactId>
|
||||
<scope>test</scope>
|
||||
<version>3.8.5</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.wiremock</groupId>
|
||||
<artifactId>wiremock-standalone</artifactId>
|
||||
<version>${wiremock.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.kafka</groupId>
|
||||
<artifactId>spring-kafka-test</artifactId>
|
||||
<scope>test</scope>
|
||||
<exclusions>
|
||||
<!-- CVE-2025-12183 und CVE-2025-66566 -->
|
||||
<exclusion>
|
||||
<groupId>org.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<directory>${buildDirectory}</directory>
|
||||
<plugins>
|
||||
<!-- the jacoco plugin is being used for coverage reports in sonar -->
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>${jacoco-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>report</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${maven-compiler-plugin.version}</version>
|
||||
<configuration>
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
<compilerArgs>
|
||||
<arg>-parameters</arg>
|
||||
</compilerArgs>
|
||||
<annotationProcessorPaths>
|
||||
<path>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>${maven-jar-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>3.4.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>${env.PAJS_REPO_NAME}</id>
|
||||
<url>${env.PAJS_REPO_URL}</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,161 @@
|
||||
<?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>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>bestellsystem-parent-pom</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<relativePath>../bestellsystem-parent-pom</relativePath>
|
||||
</parent>
|
||||
<artifactId>stammdaten-bereitstellung</artifactId>
|
||||
<version>1.7.1-SNAPSHOT</version>
|
||||
<name>stammdaten-bereitstellung</name>
|
||||
<description>Project for Spring Boot</description>
|
||||
|
||||
<properties>
|
||||
<java.version>21</java.version>
|
||||
<maven.compiler.target>21</maven.compiler.target>
|
||||
|
||||
<lucene.version>10.4.0</lucene.version>
|
||||
|
||||
<stammdaten.admin.api.version>1.5.0</stammdaten.admin.api.version>
|
||||
<stammdaten.evu.api.version>1.5.0</stammdaten.evu.api.version>
|
||||
<stammdaten.pmw.api.version>1.5.0</stammdaten.pmw.api.version>
|
||||
<imstammdaten.api.version>2.0.0</imstammdaten.api.version>
|
||||
<imordnungsrahmen.api.version>2.0.0</imordnungsrahmen.api.version>
|
||||
<imcrdservice.api.version>2.0.0</imcrdservice.api.version>
|
||||
|
||||
<keycloak.admin-client.version>26.0.8</keycloak.admin-client.version>
|
||||
<logging-util.version>1.3.0</logging-util.version>
|
||||
<signature.message.version>1.7.0</signature.message.version>
|
||||
|
||||
<buildDirectory>${project.basedir}/target</buildDirectory>
|
||||
|
||||
<jjwt-impl.version>0.13.0</jjwt-impl.version>
|
||||
<jjwt-jackson.version>0.13.0</jjwt-jackson.version>
|
||||
<jackson-databind-nullable.version>0.2.10</jackson-databind-nullable.version>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.james</groupId>
|
||||
<artifactId>apache-mime4j-dom</artifactId>
|
||||
<version>0.8.13</version>
|
||||
</dependency>
|
||||
<!-- findings tomcat-embed-core
|
||||
GHSA-95jq-rwvf-vjx4, GHSA-69cc-cv78-qc8g,
|
||||
GHSA-x4m4-345f-5h5g, GHSA-h468-7pvh-8vr8,
|
||||
GHSA-rv64-5gf8-9qq8, GHSA-9m3c-qcxr-9x87,
|
||||
GHSA-8mc5-53m5-3qj2, GHSA-24j9-x2wg-9qv6 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tomcat.embed</groupId>
|
||||
<artifactId>tomcat-embed-core</artifactId>
|
||||
<version>10.1.54</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>stammdatenEVU</artifactId>
|
||||
<version>${stammdaten.evu.api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>stammdatenPMW</artifactId>
|
||||
<version>${stammdaten.pmw.api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>stammdatenadmin</artifactId>
|
||||
<version>${stammdaten.admin.api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>imstammdaten</artifactId>
|
||||
<version>${imstammdaten.api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>imordnungsrahmen</artifactId>
|
||||
<version>${imordnungsrahmen.api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>imcrdservice</artifactId>
|
||||
<version>${imcrdservice.api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>signature-message</artifactId>
|
||||
<version>${signature.message.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.openapitools</groupId>
|
||||
<artifactId>jackson-databind-nullable</artifactId>
|
||||
<version>${jackson-databind-nullable.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.lucene</groupId>
|
||||
<artifactId>lucene-core</artifactId>
|
||||
<version>${lucene.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.lucene</groupId>
|
||||
<artifactId>lucene-analysis-common</artifactId>
|
||||
<version>${lucene.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>keycloak-admin-client</artifactId>
|
||||
<version>${keycloak.admin-client.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-security</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Dependency for it - test jwt generate -->
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-impl</artifactId>
|
||||
<version>${jjwt-impl.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Dependency for it - test jwt generate -->
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-jackson</artifactId>
|
||||
<version>${jjwt-jackson.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- für Spring WebClient, soll eventuell nach parent-pom gehen -->
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>logging-util</artifactId>
|
||||
<version>${logging-util.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-cache</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,735 @@
|
||||
<?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>
|
||||
|
||||
<groupId>com.dbnetz.bestellsystem.steuerung-vertrieb</groupId>
|
||||
<artifactId>parent</artifactId>
|
||||
<name>Steuerung-Vertrieb Parent</name>
|
||||
<version>1.6.1-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<description>Prozesssteuerung für die Trassen-Bestellung.</description>
|
||||
|
||||
<modules>
|
||||
<module>testutils</module>
|
||||
<module>model-process</module>
|
||||
<module>model</module>
|
||||
<module>tdm-utils</module>
|
||||
<module>kafka-utils</module>
|
||||
<module>i18n</module>
|
||||
<module>api-adapter</module>
|
||||
<module>persistence</module>
|
||||
<module>monitoring-utils</module>
|
||||
<module>process-configuration</module>
|
||||
<module>camunda-interface</module>
|
||||
<module>camunda8</module>
|
||||
<module>application</module>
|
||||
<module>camunda8-jobworker</module>
|
||||
<module>assemblies</module>
|
||||
<module>kit</module>
|
||||
<module>kafka</module>
|
||||
<module>feature-toggle</module>
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
<skipUnitTests>false</skipUnitTests>
|
||||
<skipITs>false</skipITs>
|
||||
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<java.version>21</java.version>
|
||||
|
||||
<!-- Dependency Versions for Applications -->
|
||||
<spring.boot.version>3.5.13</spring.boot.version>
|
||||
<log4j2.version>2.25.4</log4j2.version>
|
||||
<mapstruct.version>1.6.3</mapstruct.version>
|
||||
<opentelemetry-instrumentation.version>2.26.1</opentelemetry-instrumentation.version>
|
||||
<micrometer-registry-prometheus.version>1.16.5</micrometer-registry-prometheus.version>
|
||||
<datasource-micrometer.version>1.4.1</datasource-micrometer.version>
|
||||
<aspectjweaver.version>1.9.25.1</aspectjweaver.version>
|
||||
<jackson-bom.version>2.21.2</jackson-bom.version>
|
||||
|
||||
<commons-io.version>2.21.0</commons-io.version>
|
||||
<commons-text.version>1.15.0</commons-text.version>
|
||||
<rhino-engine.version>1.9.1</rhino-engine.version>
|
||||
<git.commit.id.plugin.version>4.9.10</git.commit.id.plugin.version>
|
||||
|
||||
<!-- Code Generation from Openapi yaml -->
|
||||
<openapi.generator.version>7.21.0</openapi.generator.version>
|
||||
<openapi.jackson.version>0.2.10</openapi.jackson.version>
|
||||
<jsr305.version>3.0.2</jsr305.version>
|
||||
<io.swagger.version>2.2.48</io.swagger.version>
|
||||
<com.google.guava.version>33.6.0-jre</com.google.guava.version>
|
||||
<apache.cxf.version>4.2.0</apache.cxf.version>
|
||||
|
||||
<!-- for Tests/Integrationtests -->
|
||||
<cucumber.version>7.23.0</cucumber.version> <!-- https://github.com/spring-projects/spring-boot/issues/46058 - max compatible version with Spring Boot 3.5.x (JUnit Platform 1.12) -->
|
||||
<wiremock.version>3.13.2</wiremock.version>
|
||||
|
||||
<!-- Build Plugins -->
|
||||
<jacoco-maven-plugin.version>0.8.14</jacoco-maven-plugin.version>
|
||||
<maven-failsafe-plugin.version>3.5.5</maven-failsafe-plugin.version>
|
||||
<maven-surefire-plugin.version>3.5.5</maven-surefire-plugin.version>
|
||||
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
|
||||
|
||||
<!-- version is only used for local test -->
|
||||
<pipeline.version>${project.version}</pipeline.version>
|
||||
|
||||
<camunda8.version>8.8.22</camunda8.version>
|
||||
<camunda8-starter.version>8.8.22</camunda8-starter.version>
|
||||
<camunda8-zeebe-process-test.version>8.8.22</camunda8-zeebe-process-test.version>
|
||||
<camunda8.java-client-operate.version>8.8.1</camunda8.java-client-operate.version>
|
||||
<camunda8.tasklist-client.version>8.8.3</camunda8.tasklist-client.version>
|
||||
|
||||
<base.package.api>com.dbnetz.bestellsystem.api</base.package.api>
|
||||
|
||||
<aws-java-sdk2.version>2.42.34</aws-java-sdk2.version>
|
||||
<mockito-junit-jupiter.version>5.17.0</mockito-junit-jupiter.version>
|
||||
<groovy-jsr.version>3.0.25</groovy-jsr.version>
|
||||
|
||||
<lombok.version>1.18.44</lombok.version>
|
||||
<lombok-mapstruct-binding.version>0.2.0</lombok-mapstruct-binding.version>
|
||||
<aws.msk.iam.auth.version>2.3.5</aws.msk.iam.auth.version>
|
||||
|
||||
<kundendaten.api.version>2.9.0</kundendaten.api.version>
|
||||
<objectinfomessage.api.version>2.11.0</objectinfomessage.api.version>
|
||||
<trassenanmeldung.api.version>8.11.0</trassenanmeldung.api.version>
|
||||
<versandauftrag.api.version>3.11.0</versandauftrag.api.version>
|
||||
<versandergebnis.api.version>2.14.0</versandergebnis.api.version>
|
||||
<vertriebsauftraege-api.version>8.3.0</vertriebsauftraege-api.version>
|
||||
<produktionsauftrag-api.version>3.5.0</produktionsauftrag-api.version>
|
||||
<eventmodel.api.version>3.2.0</eventmodel.api.version>
|
||||
<data-model.version>10.0.0</data-model.version>
|
||||
<signature-message.version>1.7.0</signature-message.version>
|
||||
<camunda-events.version>2.2.0</camunda-events.version>
|
||||
<nimbus.jose.jwt.version>10.9</nimbus.jose.jwt.version>
|
||||
|
||||
<hypersistence.utils.version>3.15.2</hypersistence.utils.version>
|
||||
<mockito.version>5.17.0</mockito.version>
|
||||
|
||||
<!--core-components-->
|
||||
<core-component-common.version>1.6.1</core-component-common.version>
|
||||
<core-component-kafka.version>1.2.1</core-component-kafka.version>
|
||||
<togglz.version>4.6.1</togglz.version>
|
||||
</properties>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>skip-all-tests-profile</id>
|
||||
<properties>
|
||||
<skipITs>true</skipITs>
|
||||
<skipUnitTests>true</skipUnitTests>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>skip-integration-tests-profile</id>
|
||||
<properties>
|
||||
<skipITs>true</skipITs>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>skip-unit-tests-profile</id>
|
||||
<properties>
|
||||
<skipUnitTests>true</skipUnitTests>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<!-- finding GHSA-72hv-8253-57qq https://github.com/spring-projects/spring-boot/issues/49365 -->
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson</groupId>
|
||||
<artifactId>jackson-bom</artifactId>
|
||||
<version>${jackson-bom.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<!-- overwrite spring boot versions -->
|
||||
<dependency>
|
||||
<groupId>com.nimbusds</groupId>
|
||||
<artifactId>nimbus-jose-jwt</artifactId>
|
||||
<version>${nimbus.jose.jwt.version}</version>
|
||||
</dependency>
|
||||
<!-- end overwrite spring boot versions -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.camunda</groupId>
|
||||
<artifactId>zeebe-bom</artifactId>
|
||||
<version>${camunda8.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>software.amazon.awssdk</groupId>
|
||||
<artifactId>bom</artifactId>
|
||||
<version>${aws-java-sdk2.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.camunda</groupId>
|
||||
<artifactId>spring-boot-starter-camunda-sdk</artifactId>
|
||||
<version>${camunda8-starter.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.camunda</groupId>
|
||||
<artifactId>zeebe-process-test-extension</artifactId>
|
||||
<version>${camunda8-zeebe-process-test.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-bom</artifactId>
|
||||
<version>${log4j2.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.cucumber</groupId>
|
||||
<artifactId>cucumber-bom</artifactId>
|
||||
<version>${cucumber.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- spring boot dependencies start-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-logging</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-logging</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-logging</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-jdbc</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<!-- spring boot dependencies end-->
|
||||
|
||||
<!-- monitoring dependencies start -->
|
||||
<dependency>
|
||||
<groupId>io.opentelemetry.instrumentation</groupId>
|
||||
<artifactId>opentelemetry-instrumentation-annotations</artifactId>
|
||||
<version>${opentelemetry-instrumentation.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.ttddyy.observation</groupId>
|
||||
<artifactId>datasource-micrometer-spring-boot</artifactId>
|
||||
<version>${datasource-micrometer.version}</version>
|
||||
</dependency>
|
||||
<!-- monitoring dependencies end -->
|
||||
|
||||
<!-- utils dependencies start -->
|
||||
<dependency>
|
||||
<groupId>org.mapstruct</groupId>
|
||||
<artifactId>mapstruct</artifactId>
|
||||
<version>${mapstruct.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>${commons-io.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-text</artifactId>
|
||||
<version>${commons-text.version}</version>
|
||||
</dependency>
|
||||
<!-- Javascript-Engine zur Ausführung von Skripten in der log4j2.xml mittels ScriptPatternSelector -->
|
||||
<dependency>
|
||||
<groupId>org.mozilla</groupId>
|
||||
<artifactId>rhino-engine</artifactId>
|
||||
<version>${rhino-engine.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.aspectj</groupId>
|
||||
<artifactId>aspectjweaver</artifactId>
|
||||
<version>${aspectjweaver.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- openapi codegen -->
|
||||
<dependency>
|
||||
<groupId>org.openapitools</groupId>
|
||||
<artifactId>jackson-databind-nullable</artifactId>
|
||||
<version>${openapi.jackson.version}</version>
|
||||
</dependency><!-- Integration von JAX-RS + CXF -->
|
||||
<dependency>
|
||||
<groupId>org.apache.cxf</groupId>
|
||||
<artifactId>cxf-rt-rs-client</artifactId>
|
||||
<version>${apache.cxf.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.swagger.core.v3</groupId>
|
||||
<artifactId>swagger-jaxrs2-jakarta</artifactId>
|
||||
<version>${io.swagger.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
<version>${com.google.guava.version}</version>
|
||||
</dependency>
|
||||
<!-- ENDE: Integration von JAX-RS + CXF -->
|
||||
|
||||
<!-- Für javax.validation.Nullable in OpenApi generierten Klassen (fehlt
|
||||
sonst ab Java 9) -->
|
||||
<dependency>
|
||||
<groupId>com.google.code.findbugs</groupId>
|
||||
<artifactId>jsr305</artifactId>
|
||||
<version>${jsr305.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.swagger.core.v3</groupId>
|
||||
<artifactId>swagger-annotations</artifactId>
|
||||
<version>${io.swagger.version}</version>
|
||||
</dependency>
|
||||
<!-- swagger/openapi dependencies end -->
|
||||
|
||||
<!-- test dependencies start-->
|
||||
<!-- Zur Simulation von HTTP APIs. Details siehe http://wiremock.org/ -->
|
||||
<dependency>
|
||||
<groupId>org.wiremock</groupId>
|
||||
<artifactId>wiremock</artifactId>
|
||||
<version>${wiremock.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.xerial.snappy</groupId>
|
||||
<artifactId>snappy-java</artifactId>
|
||||
<version>1.1.10.8</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>${lombok.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.hypersistence</groupId>
|
||||
<artifactId>hypersistence-utils-hibernate-63</artifactId>
|
||||
<version>${hypersistence.utils.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.h2database</groupId>
|
||||
<artifactId>h2</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Mandatory for dmn tests -->
|
||||
<dependency>
|
||||
<groupId>de.odysseus.juel</groupId>
|
||||
<artifactId>juel-api</artifactId>
|
||||
<version>2.2.7</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>de.odysseus.juel</groupId>
|
||||
<artifactId>juel-impl</artifactId>
|
||||
<version>2.2.7</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>de.odysseus.juel</groupId>
|
||||
<artifactId>juel-spi</artifactId>
|
||||
<version>2.2.7</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>camunda-events</artifactId>
|
||||
<version>${camunda-events.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>vertriebsauftraege</artifactId>
|
||||
<version>${vertriebsauftraege-api.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>produktionsauftrag</artifactId>
|
||||
<version>${produktionsauftrag-api.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.camunda.spring</groupId>
|
||||
<artifactId>java-client-operate</artifactId>
|
||||
<version>${camunda8.java-client-operate.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.camunda</groupId>
|
||||
<artifactId>camunda-tasklist-client-java</artifactId>
|
||||
<version>${camunda8.tasklist-client.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Für kunden daten OpenApi Klassen -->
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>kundendaten</artifactId>
|
||||
<version>${kundendaten.api.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>trassenanmeldung</artifactId>
|
||||
<version>${trassenanmeldung.api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>versandergebnis</artifactId>
|
||||
<version>${versandergebnis.api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>versandauftrag</artifactId>
|
||||
<version>${versandauftrag.api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>objectinfomessage</artifactId>
|
||||
<version>${objectinfomessage.api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>event-model</artifactId>
|
||||
<version>${eventmodel.api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>data-model</artifactId>
|
||||
<version>${data-model.version}</version>
|
||||
<classifier>openapi</classifier>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>signature-message</artifactId>
|
||||
<version>${signature-message.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.codehaus.groovy</groupId>
|
||||
<artifactId>groovy-jsr223</artifactId>
|
||||
<version>${groovy-jsr.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt</artifactId>
|
||||
<version>0.13.0</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- kafka dependencies-->
|
||||
<dependency>
|
||||
<groupId>software.amazon.msk</groupId>
|
||||
<artifactId>aws-msk-iam-auth</artifactId>
|
||||
<version>${aws.msk.iam.auth.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!--core-components-->
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>core-components-common</artifactId>
|
||||
<version>${core-component-common.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>core-components-kafka</artifactId>
|
||||
<version>${core-component-kafka.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.togglz</groupId>
|
||||
<artifactId>togglz-spring-boot-starter</artifactId>
|
||||
<version>${togglz.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.thymeleaf</groupId>
|
||||
<artifactId>thymeleaf</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.junit.platform</groupId>
|
||||
<artifactId>junit-platform-engine</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-params</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-junit-jupiter</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.assertj</groupId>
|
||||
<artifactId>assertj-core</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/config</directory>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>false</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
<testResources>
|
||||
<testResource>
|
||||
<directory>src/it/config</directory>
|
||||
<filtering>true</filtering>
|
||||
</testResource>
|
||||
<testResource>
|
||||
<directory>src/it/resources</directory>
|
||||
<filtering>false</filtering>
|
||||
</testResource>
|
||||
<testResource>
|
||||
<directory>src/test/resources</directory>
|
||||
<filtering>false</filtering>
|
||||
</testResource>
|
||||
</testResources>
|
||||
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>3.5.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.10.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.openapitools</groupId>
|
||||
<artifactId>openapi-generator-maven-plugin</artifactId>
|
||||
<version>${openapi.generator.version}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${maven-compiler-plugin.version}</version>
|
||||
<configuration>
|
||||
<release>${java.version}</release>
|
||||
<compilerArgs>
|
||||
<arg>-parameters</arg>
|
||||
</compilerArgs>
|
||||
<annotationProcessorPaths>
|
||||
<path>
|
||||
<groupId>org.mapstruct</groupId>
|
||||
<artifactId>mapstruct-processor</artifactId>
|
||||
<version>${mapstruct.version}</version>
|
||||
</path>
|
||||
<path>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>${lombok.version}</version>
|
||||
</path>
|
||||
<path>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok-mapstruct-binding</artifactId>
|
||||
<version>${lombok-mapstruct-binding.version}</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<configuration>
|
||||
<layers>
|
||||
<enabled>true</enabled>
|
||||
</layers>
|
||||
<excludeGroupIds>io.springfox</excludeGroupIds>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>build-info</id>
|
||||
<goals>
|
||||
<goal>build-info</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<!-- repackaging required as docker expects a layered jar
|
||||
which is only enabled by default when using spring-boot-starter-parent as parent pom -->
|
||||
<execution>
|
||||
<id>repackage</id>
|
||||
<goals>
|
||||
<goal>repackage</goal>
|
||||
</goals>
|
||||
<phase>package</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<!-- Generates git.properties for Spring Actuators: -->
|
||||
<!-- https://docs.spring.io/spring-boot/docs/current/reference/html/howto.html#howto-git-info -->
|
||||
<groupId>pl.project13.maven</groupId>
|
||||
<artifactId>git-commit-id-plugin</artifactId>
|
||||
<version>${git.commit.id.plugin.version}</version>
|
||||
<configuration>
|
||||
<offline>true</offline>
|
||||
<includeOnlyProperties>
|
||||
<includeOnlyProperty>^git.branch$</includeOnlyProperty>
|
||||
<includeOnlyProperty>^git.commit.id.abbrev$</includeOnlyProperty>
|
||||
<includeOnlyProperty>^git.commit.time$</includeOnlyProperty>
|
||||
</includeOnlyProperties>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- the jacoco plugin is being used for coverage reports in sonar -->
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>${jacoco-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>report</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- Ende: Runs integration tests during the maven verify phase -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${maven-surefire-plugin.version}</version>
|
||||
<configuration>
|
||||
<argLine>
|
||||
-Duser.language=en -Duser.region=GB
|
||||
-javaagent:${settings.localRepository}/org/mockito/mockito-core/${mockito.version}/mockito-core-${mockito.version}.jar
|
||||
-Xshare:off
|
||||
${argLine}
|
||||
</argLine>
|
||||
<skipTests>${skipUnitTests}</skipTests>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-failsafe-plugin</artifactId>
|
||||
<version>${maven-failsafe-plugin.version}</version>
|
||||
<configuration>
|
||||
<!-- see issue https://github.com/spring-projects/spring-boot/issues/25473 -->
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>${basedir}/target/classes</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<skipITs>${skipITs}</skipITs>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>integration-test</id>
|
||||
<goals>
|
||||
<goal>integration-test</goal>
|
||||
<goal>verify</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>pl.project13.maven</groupId>
|
||||
<artifactId>git-commit-id-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,207 @@
|
||||
<?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>
|
||||
|
||||
<groupId>com.dbnetz.bestellsystem.tadef-connector</groupId>
|
||||
<artifactId>parent</artifactId>
|
||||
<version>1.1.1-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<properties>
|
||||
<skipUnitTests>false</skipUnitTests>
|
||||
<skipITs>false</skipITs>
|
||||
|
||||
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
|
||||
<maven-surefire-plugin.version>3.5.5</maven-surefire-plugin.version>
|
||||
<maven-failsafe-plugin.version>3.5.4</maven-failsafe-plugin.version>
|
||||
<spring-boot.version>3.5.13</spring-boot.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
|
||||
<log4j2.version>2.25.4</log4j2.version>
|
||||
|
||||
<signature-message.version>1.7.0</signature-message.version>
|
||||
<jackson.version>2.21.2</jackson.version>
|
||||
</properties>
|
||||
|
||||
<modules>
|
||||
<module>entities</module>
|
||||
<module>application</module>
|
||||
<module>kit</module>
|
||||
</modules>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>skip-integration-tests-profile</id>
|
||||
<properties>
|
||||
<skipITs>true</skipITs>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>skip-unit-tests-profile</id>
|
||||
<properties>
|
||||
<skipUnitTests>true</skipUnitTests>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson</groupId>
|
||||
<artifactId>jackson-bom</artifactId>
|
||||
<version>${jackson.version}</version>
|
||||
<scope>import</scope>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>ci-event-model</artifactId>
|
||||
<version>1.7.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>taftap</artifactId>
|
||||
<version>3.6.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>software.amazon.awssdk</groupId>
|
||||
<artifactId>bom</artifactId>
|
||||
<version>2.42.37</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-bom</artifactId>
|
||||
<version>${log4j2.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>${spring-boot.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>tadefconnector</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>core-components-kafka</artifactId>
|
||||
<version>1.2.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.hypersistence</groupId>
|
||||
<artifactId>hypersistence-utils-hibernate-63</artifactId>
|
||||
<version>3.15.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.postgresql</groupId>
|
||||
<artifactId>postgresql</artifactId>
|
||||
<version>42.7.10</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>1.18.46</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.kubernetes</groupId>
|
||||
<artifactId>client-java</artifactId>
|
||||
<version>25.0.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>software.amazon.msk</groupId>
|
||||
<artifactId>aws-msk-iam-auth</artifactId>
|
||||
<version>2.3.5</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>signature-message</artifactId>
|
||||
<version>${signature-message.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>${spring-boot.version}</version>
|
||||
<configuration>
|
||||
<mainClass>com.dbnetz.bestellsystem.tadefconnector.Application</mainClass>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>repackage</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${maven-compiler-plugin.version}</version>
|
||||
<configuration>
|
||||
<annotationProcessorPaths>
|
||||
<path>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>1.18.46</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
<release>21</release>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${maven-surefire-plugin.version}</version>
|
||||
<configuration>
|
||||
<skipTests>${skipUnitTests}</skipTests>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-failsafe-plugin</artifactId>
|
||||
<version>${maven-failsafe-plugin.version}</version>
|
||||
<configuration>
|
||||
<!-- see issue https://github.com/spring-projects/spring-boot/issues/25473 -->
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>${basedir}/target/classes</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<skipITs>${skipITs}</skipITs>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>integration-test</id>
|
||||
<goals>
|
||||
<goal>integration-test</goal>
|
||||
<goal>verify</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,325 @@
|
||||
<?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.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>bestellsystem-parent-pom</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<relativePath>../bestellsystem-parent-pom</relativePath>
|
||||
</parent>
|
||||
|
||||
<!--suppress MavenRedundantGroupId -->
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>taftap-tdm-konverter</artifactId>
|
||||
<version>1.7.1-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
<!-- General -->
|
||||
<java.version>21</java.version>
|
||||
<maven.compiler.target>21</maven.compiler.target>
|
||||
<skipTests>false</skipTests>
|
||||
|
||||
<!-- Signature Message -->
|
||||
<signature-message.version>1.7.0</signature-message.version>
|
||||
|
||||
<!-- APIs -->
|
||||
<partnerverwaltung.api.version>2.9.0</partnerverwaltung.api.version>
|
||||
<eingangsnachricht.api.version>2.13.0</eingangsnachricht.api.version>
|
||||
<taftap.api.version>3.8.0</taftap.api.version>
|
||||
<versandauftrag.api.version>3.11.0</versandauftrag.api.version>
|
||||
<versandergebnis.api.version>2.14.0</versandergebnis.api.version>
|
||||
<ci-event-model.api.version>2.0.0</ci-event-model.api.version>
|
||||
<maven-artifact.version>3.9.14</maven-artifact.version>
|
||||
|
||||
<!-- Dependencies -->
|
||||
<logging-util.version>1.3.0</logging-util.version>
|
||||
<jakarta.ws.rs-api.version>2.1.6</jakarta.ws.rs-api.version>
|
||||
<dom4j.version>2.2.0</dom4j.version>
|
||||
<jackson-datatype-jsr310.version>2.21.2</jackson-datatype-jsr310.version>
|
||||
<!-- Kafka Dependencies -->
|
||||
<spring-kafka.version>3.3.14</spring-kafka.version>
|
||||
<aws-msk-iam-auth.version>2.3.5</aws-msk-iam-auth.version>
|
||||
|
||||
<!-- Test Dependencies -->
|
||||
<mockito-inline.version>5.2.0</mockito-inline.version>
|
||||
<assertj-core.version>3.27.7</assertj-core.version>
|
||||
|
||||
<togglz.version>4.6.1</togglz.version>
|
||||
|
||||
<!-- Plugins -->
|
||||
<exec-maven-plugin.version>3.6.3</exec-maven-plugin.version>
|
||||
|
||||
<!-- Build -->
|
||||
<buildDirectory>${project.basedir}/target</buildDirectory>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-security</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-validation</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-cache</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.ws</groupId>
|
||||
<artifactId>spring-ws-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.kafka</groupId>
|
||||
<artifactId>spring-kafka</artifactId>
|
||||
<version>${spring-kafka.version}</version>
|
||||
<exclusions>
|
||||
<!-- CVE-2025-12183 und CVE-2025-66566 -->
|
||||
<exclusion>
|
||||
<groupId>org.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<!-- CVE-2025-12183 und CVE-2025-66566 -->
|
||||
<dependency>
|
||||
<groupId>at.yawk.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>software.amazon.msk</groupId>
|
||||
<artifactId>aws-msk-iam-auth</artifactId>
|
||||
<version>${aws-msk-iam-auth.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.datatype</groupId>
|
||||
<artifactId>jackson-datatype-jsr310</artifactId>
|
||||
<version>${jackson-datatype-jsr310.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>signature-message</artifactId>
|
||||
<version>${signature-message.version}</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>partnerverwaltung</artifactId>
|
||||
<version>${partnerverwaltung.api.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>eingangsnachricht</artifactId>
|
||||
<version>${eingangsnachricht.api.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>data-model</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>versandergebnis</artifactId>
|
||||
<version>${versandergebnis.api.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>data-model</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>taftap</artifactId>
|
||||
<version>${taftap.api.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>versandauftrag</artifactId>
|
||||
<version>${versandauftrag.api.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>data-model</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>ci-event-model</artifactId>
|
||||
<version>${ci-event-model.api.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>data-model</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.dom4j</groupId>
|
||||
<artifactId>dom4j</artifactId>
|
||||
<version>${dom4j.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.assertj</groupId>
|
||||
<artifactId>assertj-core</artifactId>
|
||||
<version>${assertj-core.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-inline</artifactId>
|
||||
<version>${mockito-inline.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>logging-util</artifactId>
|
||||
<version>${logging-util.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- TTK needs to access KB as a client from a Resource Server -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-oauth2-client</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-artifact</artifactId>
|
||||
<version>${maven-artifact.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.togglz</groupId>
|
||||
<artifactId>togglz-spring-boot-starter</artifactId>
|
||||
<version>${togglz.version}</version>
|
||||
<exclusions>
|
||||
<!-- CVE-2026-40477 und CVE-2026-40478 -->
|
||||
<exclusion>
|
||||
<groupId>org.thymeleaf</groupId>
|
||||
<artifactId>thymeleaf</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<!-- findings tomcat-embed-core
|
||||
GHSA-95jq-rwvf-vjx4, GHSA-69cc-cv78-qc8g,
|
||||
GHSA-x4m4-345f-5h5g, GHSA-h468-7pvh-8vr8,
|
||||
GHSA-rv64-5gf8-9qq8, GHSA-9m3c-qcxr-9x87,
|
||||
GHSA-8mc5-53m5-3qj2, GHSA-24j9-x2wg-9qv6 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tomcat.embed</groupId>
|
||||
<artifactId>tomcat-embed-core</artifactId>
|
||||
<version>10.1.54</version>
|
||||
</dependency>
|
||||
|
||||
<!-- findings log4j-core GHSA-3pxv-7cmr-fjr4e -->
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-core</artifactId>
|
||||
<version>2.25.4</version>
|
||||
</dependency>
|
||||
|
||||
<!-- findings plexus-utils GHSA-6fmv-xxpf-w3cw -->
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-utils</artifactId>
|
||||
<version>4.0.3</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<directory>${buildDirectory}</directory>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<version>${exec-maven-plugin.version}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${maven-surefire-plugin.version}</version>
|
||||
<configuration>
|
||||
<argLine>@{argLine} --add-opens java.xml/com.sun.org.apache.xerces.internal.jaxp.datatype=ALL-UNNAMED</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>${jacoco-maven-plugin.version}</version>
|
||||
<configuration combine.self="override">
|
||||
<excludes>
|
||||
<exclude>**/it/*.*</exclude>
|
||||
<exclude>**/test/*.*</exclude>
|
||||
<exclude>**/*Configuration.*</exclude>
|
||||
<exclude>**/*Config.*</exclude>
|
||||
<exclude>**/*MetricKey.*</exclude>
|
||||
<exclude>**/*WhitelistErrorCodeRange.*</exclude>
|
||||
<exclude>**/exception/*.*</exclude>
|
||||
<exclude>**/i18n/*.*</exclude>
|
||||
<exclude>**/message/EventSource.*</exclude>
|
||||
<exclude>**/message/MessageType.*</exclude>
|
||||
<exclude>**/message/PartnerChannel.*</exclude>
|
||||
<exclude>**/message/TafTapConstants.*</exclude>
|
||||
<exclude>**/message/VersandErgebnisCode.*</exclude>
|
||||
<exclude>**/message/wsdl/*.*</exclude>
|
||||
<exclude>**/message/adapter/*.*</exclude>
|
||||
<exclude>**/*Application.*</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>report</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,444 @@
|
||||
<?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>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>3.5.13</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
<artifactId>tbv-absicherung-konverter</artifactId>
|
||||
<version>1.6.1-SNAPSHOT</version>
|
||||
<name>tbv-absicherung-konverter</name>
|
||||
<description>tbv-absicherung-konverter</description>
|
||||
<properties>
|
||||
<skipUnitTests>false</skipUnitTests>
|
||||
<skipITs>false</skipITs>
|
||||
<java.version>21</java.version>
|
||||
|
||||
<jackson.version>2.21.2</jackson.version>
|
||||
<tbv-absicherung-api.version>3.1.0</tbv-absicherung-api.version>
|
||||
<eventmodel.api.version>3.3.0</eventmodel.api.version>
|
||||
<opentelemetry-instrumentation.version>2.26.1</opentelemetry-instrumentation.version>
|
||||
<micrometer-registry-prometheus.version>1.16.5</micrometer-registry-prometheus.version>
|
||||
<datasource-micrometer.version>1.4.1</datasource-micrometer.version>
|
||||
|
||||
<buildDirectory>${project.basedir}/target</buildDirectory>
|
||||
|
||||
<spring.boot.version>3.5.13</spring.boot.version>
|
||||
<cloud.kubernetes.version>3.1.2</cloud.kubernetes.version>
|
||||
<de.db.kolt.talo.version>4.8.2</de.db.kolt.talo.version>
|
||||
<de.db.kolt.talo-spring-boot.version>5.0.0</de.db.kolt.talo-spring-boot.version>
|
||||
<log4j2.version>2.24.3</log4j2.version>
|
||||
|
||||
<git.commit.id.plugin.version>4.9.10</git.commit.id.plugin.version>
|
||||
|
||||
<!--core-components-->
|
||||
<core-component-common.version>1.6.1</core-component-common.version>
|
||||
<core-component-kafka.version>1.2.1</core-component-kafka.version>
|
||||
<core-components-test.version>1.1.0</core-components-test.version>
|
||||
|
||||
<!-- Build Plugins -->
|
||||
<jacoco-maven-plugin.version>0.8.14</jacoco-maven-plugin.version>
|
||||
<build-helper-maven-plugin.version>3.6.1</build-helper-maven-plugin.version>
|
||||
<maven-surefire-plugin.version>3.5.5</maven-surefire-plugin.version>
|
||||
<maven-failsafe-plugin.version>3.5.5</maven-failsafe-plugin.version>
|
||||
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
|
||||
<snakeyaml.version>2.2</snakeyaml.version>
|
||||
<aws.msk.iam.auth.version>2.3.5</aws.msk.iam.auth.version>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson</groupId>
|
||||
<artifactId>jackson-bom</artifactId>
|
||||
<version>${jackson.version}</version>
|
||||
<scope>import</scope>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-logging</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<!-- Because of Talo we must use log4j2 instead of logback-->
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-log4j2</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.kafka</groupId>
|
||||
<artifactId>spring-kafka-test</artifactId>
|
||||
<scope>test</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<groupId>commons-io</groupId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>software.amazon.msk</groupId>
|
||||
<artifactId>aws-msk-iam-auth</artifactId>
|
||||
<version>${aws.msk.iam.auth.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-annotations</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.datatype</groupId>
|
||||
<artifactId>jackson-datatype-jsr310</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>tbv-absicherung</artifactId>
|
||||
<version>${tbv-absicherung-api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>event-model</artifactId>
|
||||
<version>${eventmodel.api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.github.hakky54</groupId>
|
||||
<artifactId>logcaptor</artifactId>
|
||||
<version>2.12.6</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-slf4j2-impl</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- monitoring dependencies start -->
|
||||
<dependency>
|
||||
<groupId>io.micrometer</groupId>
|
||||
<artifactId>micrometer-registry-prometheus</artifactId>
|
||||
<version>${micrometer-registry-prometheus.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.opentelemetry.instrumentation</groupId>
|
||||
<artifactId>opentelemetry-instrumentation-annotations</artifactId>
|
||||
<version>${opentelemetry-instrumentation.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.ttddyy.observation</groupId>
|
||||
<artifactId>datasource-micrometer-spring-boot</artifactId>
|
||||
<version>${datasource-micrometer.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.micrometer</groupId>
|
||||
<artifactId>micrometer-tracing-bridge-otel</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.opentelemetry</groupId>
|
||||
<artifactId>opentelemetry-exporter-zipkin</artifactId>
|
||||
</dependency>
|
||||
<!-- monitoring dependencies end -->
|
||||
<!--core-components-->
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>core-components-common</artifactId>
|
||||
<version>${core-component-common.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>core-components-kafka</artifactId>
|
||||
<version>${core-component-kafka.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>core-components-test</artifactId>
|
||||
<version>${core-components-test.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<directory>${buildDirectory}</directory>
|
||||
|
||||
<outputDirectory>${project.build.directory}/classes</outputDirectory>
|
||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||
<testOutputDirectory>${project.build.directory}/test-classes</testOutputDirectory>
|
||||
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
||||
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/config</directory>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
<includes>
|
||||
<include>**/log4j2-spring.xml</include>
|
||||
<include>*.yml</include>
|
||||
</includes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>false</filtering>
|
||||
<excludes>
|
||||
<exclude>**/log4j2-spring.xml</exclude>
|
||||
<exclude>*.yml</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
</resources>
|
||||
<testResources>
|
||||
<testResource>
|
||||
<directory>src/it/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
<includes>
|
||||
<include>*.yaml</include>
|
||||
</includes>
|
||||
</testResource>
|
||||
<testResource>
|
||||
<directory>src/it/resources</directory>
|
||||
<filtering>false</filtering>
|
||||
<excludes>
|
||||
<exclude>*.yaml</exclude>
|
||||
</excludes>
|
||||
</testResource>
|
||||
</testResources>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<configuration>
|
||||
<layers>
|
||||
<enabled>true</enabled>
|
||||
</layers>
|
||||
<excludeGroupIds>io.springfox</excludeGroupIds>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>build-info</id>
|
||||
<goals>
|
||||
<goal>build-info</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<!-- repackaging required as docker expects a layered jar
|
||||
which is only enabled by default when using spring-boot-starter-parent as parent pom -->
|
||||
<execution>
|
||||
<id>repackage</id>
|
||||
<goals>
|
||||
<goal>repackage</goal>
|
||||
</goals>
|
||||
<phase>package</phase>
|
||||
<configuration>
|
||||
<layers>
|
||||
<enabled>true</enabled>
|
||||
<configuration>layers.xml</configuration>
|
||||
</layers>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<!-- Generates git.properties for Spring Actuators: -->
|
||||
<!-- https://docs.spring.io/spring-boot/docs/current/reference/html/howto.html#howto-git-info -->
|
||||
<groupId>pl.project13.maven</groupId>
|
||||
<artifactId>git-commit-id-plugin</artifactId>
|
||||
<version>${git.commit.id.plugin.version}</version>
|
||||
<configuration>
|
||||
<offline>true</offline>
|
||||
<includeOnlyProperties>
|
||||
<includeOnlyProperty>^git.branch$</includeOnlyProperty>
|
||||
<includeOnlyProperty>^git.commit.id.abbrev$</includeOnlyProperty>
|
||||
<includeOnlyProperty>^git.commit.time$</includeOnlyProperty>
|
||||
</includeOnlyProperties>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- the jacoco plugin is being used for coverage reports in sonar -->
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>${jacoco-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>report</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- Runs integration tests during the maven verify phase -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>${build-helper-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-test-source</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>add-test-source</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<sources>
|
||||
<source>src/it/java</source>
|
||||
</sources>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>add-test-resource</id>
|
||||
<phase>generate-test-sources</phase>
|
||||
<goals>
|
||||
<goal>add-test-resource</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/it/resources</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>properties</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${maven-surefire-plugin.version}</version>
|
||||
<configuration>
|
||||
<skipTests>${skipUnitTests}</skipTests>
|
||||
<!--suppress UnresolvedMavenProperty -->
|
||||
<argLine>@{argLine} -javaagent:${org.mockito:mockito-core:jar}</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- Ende: Runs integration tests during the maven verify phase -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-failsafe-plugin</artifactId>
|
||||
<version>${maven-failsafe-plugin.version}</version>
|
||||
<configuration>
|
||||
<!-- see issue https://github.com/spring-projects/spring-boot/issues/25473 -->
|
||||
<additionalClasspathElements>
|
||||
<additionalClasspathElement>${basedir}/target/classes</additionalClasspathElement>
|
||||
</additionalClasspathElements>
|
||||
<skipITs>${skipITs}</skipITs>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>integration-test</id>
|
||||
<goals>
|
||||
<goal>integration-test</goal>
|
||||
<goal>verify</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${maven-compiler-plugin.version}</version>
|
||||
<configuration>
|
||||
<release>${java.version}</release>
|
||||
<annotationProcessorPaths>
|
||||
<path>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>${lombok.version}</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
<compilerArgs>
|
||||
<arg>-parameters</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>3.5.0</version>
|
||||
<configuration>
|
||||
<delimiters>
|
||||
<delimiter>$[*]</delimiter>
|
||||
</delimiters>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>skip-integration-tests-profile</id>
|
||||
<properties>
|
||||
<skipITs>true</skipITs>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>skip-unit-tests-profile</id>
|
||||
<properties>
|
||||
<skipUnitTests>true</skipUnitTests>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
"Service";"SpringBoot";"Java";"Parent";"Camunda"
|
||||
"archivierungsservice";"3.5.13";"21";"";""
|
||||
"auftrag-service";"3.5.13";"";"";""
|
||||
"auftrags-verwaltung-trasse";"";"21";"";""
|
||||
"bestellsystem-parent-pom";"5.0.4";"17";"";""
|
||||
"common-interface";"";"21";"";""
|
||||
"core-components-common";"";"21";"";""
|
||||
"core-components-kafka";"3.5.13";"21";"";""
|
||||
"core-components-test";"";"21";"";""
|
||||
"data-model-api";"";"";"";""
|
||||
"ifp-connector";"";"21";"";""
|
||||
"kundendaten-bereitstellung";"";"21";"";""
|
||||
"logging-utils";"5.0.4";"21";"";""
|
||||
"portal-middleware";"";"21";"";""
|
||||
"rabattnummern-bereitstellung";"";"21";"";""
|
||||
"signature-database";"";"21";"";""
|
||||
"signature-message";"3.5.13";"21";"";""
|
||||
"stammdaten-bereitstellung";"";"21";"";""
|
||||
"steuerung-vertrieb";"3.5.13";"21";"";""
|
||||
"tadef-connector";"3.5.13";"";"";""
|
||||
"taftap-tdm-konverter";"";"21";"";""
|
||||
"tbv-absicherung-konverter";"5.0.0";"21";"";""
|
||||
"vertragsdaten-verteiler";"";"21";"";""
|
||||
"portal-ui";"";"";"";""
|
||||
|
@@ -0,0 +1,27 @@
|
||||
# Versionsanalyse pathOS Kern-Services
|
||||
|
||||
| Service | Spring Boot | Java | Parent POM | Camunda |
|
||||
|---------|------------|------|------------|---------|
|
||||
| archivierungsservice | 3.5.13 | 21 | | |
|
||||
| auftrag-service | 3.5.13 | | | |
|
||||
| auftrags-verwaltung-trasse | | 21 | | |
|
||||
| bestellsystem-parent-pom | 5.0.4 | 17 | | |
|
||||
| common-interface | | 21 | | |
|
||||
| core-components-common | | 21 | | |
|
||||
| core-components-kafka | 3.5.13 | 21 | | |
|
||||
| core-components-test | | 21 | | |
|
||||
| data-model-api | | | | |
|
||||
| ifp-connector | | 21 | | |
|
||||
| kundendaten-bereitstellung | | 21 | | |
|
||||
| logging-utils | 5.0.4 | 21 | | |
|
||||
| portal-middleware | | 21 | | |
|
||||
| rabattnummern-bereitstellung | | 21 | | |
|
||||
| signature-database | | 21 | | |
|
||||
| signature-message | 3.5.13 | 21 | | |
|
||||
| stammdaten-bereitstellung | | 21 | | |
|
||||
| steuerung-vertrieb | 3.5.13 | 21 | | |
|
||||
| tadef-connector | 3.5.13 | | | |
|
||||
| taftap-tdm-konverter | | 21 | | |
|
||||
| tbv-absicherung-konverter | 5.0.0 | 21 | | |
|
||||
| vertragsdaten-verteiler | | 21 | | |
|
||||
| portal-ui | | | | |
|
||||
@@ -0,0 +1,215 @@
|
||||
<?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.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>bestellsystem-parent-pom</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<relativePath>../bestellsystem-parent-pom</relativePath>
|
||||
</parent>
|
||||
|
||||
<!--suppress MavenRedundantGroupId -->
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>vertragsdaten-verteiler</artifactId>
|
||||
<version>1.2.1-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
<!-- General -->
|
||||
<java.version>21</java.version>
|
||||
<maven.compiler.target>21</maven.compiler.target>
|
||||
<skipTests>false</skipTests>
|
||||
<lombok.version>1.18.42</lombok.version>
|
||||
|
||||
<!-- Signature Message -->
|
||||
<signature-message.version>1.7.0</signature-message.version>
|
||||
|
||||
<!-- APIs -->
|
||||
<eventmodel.api.version>3.2.0</eventmodel.api.version>
|
||||
<stationsportal.api.version>2.1.0</stationsportal.api.version>
|
||||
|
||||
<!-- Dependencies -->
|
||||
<logging-util.version>2.0.0</logging-util.version>
|
||||
<spring-kafka.version>3.3.14</spring-kafka.version>
|
||||
<aws-msk-iam-auth.version>2.3.5</aws-msk-iam-auth.version>
|
||||
<core-component-kafka.version>1.2.1</core-component-kafka.version>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<!-- findings tomcat-embed-core
|
||||
GHSA-95jq-rwvf-vjx4, GHSA-69cc-cv78-qc8g,
|
||||
GHSA-x4m4-345f-5h5g, GHSA-h468-7pvh-8vr8,
|
||||
GHSA-rv64-5gf8-9qq8, GHSA-9m3c-qcxr-9x87,
|
||||
GHSA-8mc5-53m5-3qj2, GHSA-24j9-x2wg-9qv6 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tomcat.embed</groupId>
|
||||
<artifactId>tomcat-embed-core</artifactId>
|
||||
<version>10.1.54</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.kafka</groupId>
|
||||
<artifactId>spring-kafka</artifactId>
|
||||
<version>${spring-kafka.version}</version>
|
||||
<exclusions>
|
||||
<!-- CVE-2025-12183 und CVE-2025-66566 -->
|
||||
<exclusion>
|
||||
<groupId>org.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>at.yawk.lz4</groupId>
|
||||
<artifactId>lz4-java</artifactId>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>software.amazon.msk</groupId>
|
||||
<artifactId>aws-msk-iam-auth</artifactId>
|
||||
<version>${aws-msk-iam-auth.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>signature-message</artifactId>
|
||||
<version>${signature-message.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>logging-util</artifactId>
|
||||
<version>${logging-util.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem</groupId>
|
||||
<artifactId>core-components-kafka</artifactId>
|
||||
<version>${core-component-kafka.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>event-model</artifactId>
|
||||
<version>${eventmodel.api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.dbnetz.bestellsystem.api</groupId>
|
||||
<artifactId>stationsportal</artifactId>
|
||||
<version>${stationsportal.api.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/config</directory>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
<includes>
|
||||
<include>**/log4j2-spring.xml</include>
|
||||
<include>*.yml</include>
|
||||
</includes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>false</filtering>
|
||||
<excludes>
|
||||
<exclude>**/log4j2-spring.xml</exclude>
|
||||
<exclude>*.yml</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${maven-compiler-plugin.version}</version>
|
||||
<configuration>
|
||||
<release>${java.version}</release>
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
<annotationProcessorPaths>
|
||||
<path>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>${lombok.version}</version>
|
||||
</path>
|
||||
<path>
|
||||
<groupId>org.mapstruct</groupId>
|
||||
<artifactId>mapstruct-processor</artifactId>
|
||||
<version>${mapstruct.version}</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
<compilerArgs>
|
||||
<arg>-parameters</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>@{argLine} --add-opens java.xml/com.sun.org.apache.xerces.internal.jaxp.datatype=ALL-UNNAMED -XX:+EnableDynamicAgentLoading</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-failsafe-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>@{argLine} --add-opens java.xml/com.sun.org.apache.xerces.internal.jaxp.datatype=ALL-UNNAMED -XX:+EnableDynamicAgentLoading</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<configuration combine.self="override">
|
||||
<excludes>
|
||||
<exclude>**/*Application.*</exclude>
|
||||
<exclude>**/it/*.*</exclude>
|
||||
<exclude>**/test/*.*</exclude>
|
||||
<exclude>**/*Configuration.*</exclude>
|
||||
<exclude>**/*Config.*</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-report-plugin</artifactId>
|
||||
<version>3.2.5</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>integration-test-report</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>failsafe-report-only</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputName>it-test-failsafe-report</outputName>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user