Skip to content
Snippets Groups Projects
Commit d8be0eb8 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-1518 use kop-common on mailservice

parent 51aebcc0
Branches
Tags
No related merge requests found
...@@ -2,11 +2,12 @@ ...@@ -2,11 +2,12 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"> 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> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>de.itvsh.kop</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>kop-common-parent</artifactId>
<version>2.4.12</version> <version>0.0.1-SNAPSHOT</version>
<relativePath /> <!-- lookup parent from repository --> <relativePath />
</parent> </parent>
<groupId>de.itvsh.ozg.mail</groupId> <groupId>de.itvsh.ozg.mail</groupId>
...@@ -16,13 +17,9 @@ ...@@ -16,13 +17,9 @@
<properties> <properties>
<java.version>17</java.version> <java.version>17</java.version>
<!-- TODO version management --> <!-- 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> <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> </properties>
<dependencies> <dependencies>
...@@ -55,14 +52,12 @@ ...@@ -55,14 +52,12 @@
<dependency> <dependency>
<groupId>org.mapstruct</groupId> <groupId>org.mapstruct</groupId>
<artifactId>mapstruct</artifactId> <artifactId>mapstruct</artifactId>
<version>${mapstruct.version}</version>
</dependency> </dependency>
<!-- grpc --> <!-- grpc -->
<dependency> <dependency>
<groupId>net.devh</groupId> <groupId>net.devh</groupId>
<artifactId>grpc-server-spring-boot-starter</artifactId> <artifactId>grpc-server-spring-boot-starter</artifactId>
<version>${grpc.spring-boot-starter.version}</version>
</dependency> </dependency>
<!-- commons --> <!-- commons -->
...@@ -86,7 +81,6 @@ ...@@ -86,7 +81,6 @@
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
<optional>true</optional> <optional>true</optional>
<version>${lombok.version}</version>
</dependency> </dependency>
<!-- TEST --> <!-- TEST -->
...@@ -108,15 +102,10 @@ ...@@ -108,15 +102,10 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<configuration> <configuration>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
<skip>true</skip> <skip>true</skip>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>
...@@ -132,92 +121,27 @@ ...@@ -132,92 +121,27 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <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>
<plugin> <plugin>
<groupId>org.sonarsource.scanner.maven</groupId> <groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId> <artifactId>sonar-maven-plugin</artifactId>
<version>${sonarqube.version}</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.jacoco</groupId> <groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId> <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>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId> <artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<argLine>${surefire.jacoco.args}</argLine>
</configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>${surefire.jacoco.args}</argLine>
</configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </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> <distributionManagement>
<repository> <repository>
<id>ozg-nexus</id> <id>ozg-nexus</id>
...@@ -225,7 +149,7 @@ ...@@ -225,7 +149,7 @@
<url>https://nexus.ozg-sh.de/repository/ozg-releases/</url> <url>https://nexus.ozg-sh.de/repository/ozg-releases/</url>
</repository> </repository>
<snapshotRepository> <snapshotRepository>
<id>ozg-nexus</id> <id>ozg-snapshots-nexus</id>
<name>ozg-snapshots</name> <name>ozg-snapshots</name>
<url>https://nexus.ozg-sh.de/repository/ozg-snapshots/</url> <url>https://nexus.ozg-sh.de/repository/ozg-snapshots/</url>
</snapshotRepository> </snapshotRepository>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment