diff --git a/mail-service/pom.xml b/mail-service/pom.xml index d37bb573487f97cf4126c6d14a53d23cc4cb57d5..6b2b2443f73c7baab2158b9d6d43c475d4738740 100644 --- a/mail-service/pom.xml +++ b/mail-service/pom.xml @@ -2,11 +2,12 @@ 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>2.4.12</version> - <relativePath /> <!-- lookup parent from repository --> + <groupId>de.itvsh.kop</groupId> + <artifactId>kop-common-parent</artifactId> + <version>0.0.1-SNAPSHOT</version> + <relativePath /> </parent> <groupId>de.itvsh.ozg.mail</groupId> @@ -16,13 +17,9 @@ <properties> <java.version>17</java.version> <!-- TODO version management --> - <grpc.spring-boot-starter.version>2.10.1.RELEASE</grpc.spring-boot-starter.version> - <mapstruct.version>1.4.1.Final</mapstruct.version> <shedlock.version>4.25.0</shedlock.version> - <lombok.version>edge-SNAPSHOT</lombok.version> - - <sonarqube.version>3.8.2</sonarqube.version> +<!-- <sonarqube.version>3.8.2</sonarqube.version> --> </properties> <dependencies> @@ -55,14 +52,12 @@ <dependency> <groupId>org.mapstruct</groupId> <artifactId>mapstruct</artifactId> - <version>${mapstruct.version}</version> </dependency> <!-- grpc --> <dependency> <groupId>net.devh</groupId> <artifactId>grpc-server-spring-boot-starter</artifactId> - <version>${grpc.spring-boot-starter.version}</version> </dependency> <!-- commons --> @@ -86,7 +81,6 @@ <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <optional>true</optional> - <version>${lombok.version}</version> </dependency> <!-- TEST --> @@ -108,15 +102,10 @@ <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> - <excludes> - <exclude> - <groupId>org.projectlombok</groupId> - <artifactId>lombok</artifactId> - </exclude> - </excludes> <skip>true</skip> </configuration> </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> @@ -132,92 +121,27 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>${java.version}</source> - <target>${java.version}</target> - <fork>true</fork> - <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> - - <showWarnings>true</showWarnings> - <compilerArgs> - <compilerArg> - -Amapstruct.defaultComponentModel=spring - </compilerArg> - <compilerArg> - -Amapstruct.unmappedTargetPolicy=IGNORE - </compilerArg> - </compilerArgs> - </configuration> </plugin> <plugin> <groupId>org.sonarsource.scanner.maven</groupId> <artifactId>sonar-maven-plugin</artifactId> - <version>${sonarqube.version}</version> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> - <version>0.8.7</version> - <executions> - <execution> - <id>start-agent</id> - <goals> - <goal>prepare-agent</goal> - </goals> - <configuration> - <propertyName>surefire.jacoco.args</propertyName> - </configuration> - </execution> - <execution> - <id>generate-report</id> - <phase>package</phase> - <goals> - <goal>report</goal> - </goals> - </execution> - </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> - <configuration> - <argLine>${surefire.jacoco.args}</argLine> - </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <argLine>${surefire.jacoco.args}</argLine> - </configuration> </plugin> </plugins> </build> - <repositories> - <repository> - <id>ozg-nexus</id> - <name>ozg nexus</name> - <url>https://nexus.ozg-sh.de/repository/ozg-group/</url> - </repository> - <repository> - <id>projectlombok.org</id> - <url>https://projectlombok.org/edge-releases</url> - </repository> - </repositories> - <distributionManagement> <repository> <id>ozg-nexus</id> @@ -225,7 +149,7 @@ <url>https://nexus.ozg-sh.de/repository/ozg-releases/</url> </repository> <snapshotRepository> - <id>ozg-nexus</id> + <id>ozg-snapshots-nexus</id> <name>ozg-snapshots</name> <url>https://nexus.ozg-sh.de/repository/ozg-snapshots/</url> </snapshotRepository>