diff --git a/pom.xml b/pom.xml index 7c07e706ac75838b7bf80c27e4807ecbac5741ad..614d3d872ca28789d797b2ea6186934dc5b8b3b5 100644 --- a/pom.xml +++ b/pom.xml @@ -1,207 +1,207 @@ <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>de.itvsh.ozg</groupId> - <artifactId>goofy</artifactId> - <version>0.9.0-SNAPSHOT</version> - <name>Goofy Parent</name> - <packaging>pom</packaging> - - <modules> - <module>goofy-client</module> - <module>goofy-server</module> - </modules> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> - <java.version>16</java.version> - - <pluto.version>${project.version}</pluto.version> - - <spring.boot.version>2.4.5</spring.boot.version> - - <grpc.spring-boot-starter.version>2.10.1.RELEASE</grpc.spring-boot-starter.version> - <spring-admin.version>2.3.1</spring-admin.version> - <mapstruct.version>1.4.1.Final</mapstruct.version> - <commons-io.version>2.8.0</commons-io.version> - <keycloak-adapter.version>14.0.0</keycloak-adapter.version> - <lombok.version>1.18.20</lombok.version> - - <lorem.version>2.1</lorem.version> - - <!-- plugins --> - <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version> - <resources.plugin.version>3.1.0</resources.plugin.version> - <maven.surefire.version>3.0.0-M5</maven.surefire.version> - <maven.failsafe.version>3.0.0-M5</maven.failsafe.version> - <git-comit-id.plugin.version>4.0.3</git-comit-id.plugin.version> - <sonarqube.version>3.8.0.2131</sonarqube.version> - </properties> - - <dependencyManagement> - <dependencies> - <!-- spring --> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-dependencies</artifactId> - <version>${spring.boot.version}</version> - <type>pom</type> - <scope>import</scope> - </dependency> - - <!-- keycloak --> - <dependency> - <groupId>org.keycloak.bom</groupId> - <artifactId>keycloak-adapter-bom</artifactId> - <version>${keycloak-adapter.version}</version> - <type>pom</type> - <scope>import</scope> - </dependency> - <dependency> - <groupId>org.keycloak</groupId> - <artifactId>keycloak-admin-client</artifactId> - <version>${keycloak-adapter.version}</version> - </dependency> - - <dependency> - <groupId>de.codecentric</groupId> - <artifactId>spring-boot-admin-starter-client</artifactId> - <version>${spring-admin.version}</version> - </dependency> - - <!-- commons --> - <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - <version>${commons-io.version}</version> - </dependency> - - <!-- tools --> - <dependency> - <groupId>org.mapstruct</groupId> - <artifactId>mapstruct</artifactId> - <version>${mapstruct.version}</version> - </dependency> - <dependency> - <groupId>net.devh</groupId> - <artifactId>grpc-client-spring-boot-starter</artifactId> - <version>${grpc.spring-boot-starter.version}</version> - </dependency> - - <dependency> - <groupId>de.itvsh.ozg.pluto</groupId> - <artifactId>pluto-interface</artifactId> - <version>${pluto.version}</version> - </dependency> - - <dependency> - <groupId>com.thedeanda</groupId> - <artifactId>lorem</artifactId> - <version>${lorem.version}</version> - <!-- <scope>test</scope> --> - </dependency> - </dependencies> - </dependencyManagement> - - <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-resources-plugin</artifactId> - <version>${resources.plugin.version}</version> - </plugin> - - <plugin> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-maven-plugin</artifactId> - <version>${spring.boot.version}</version> - <configuration> - <image> - <builder>paketobuildpacks/builder:0.1.111-base</builder> - </image> - </configuration> - <executions> - <execution> - <id>repackage</id> - <goals> - <goal>repackage</goal> - </goals> - </execution> - - <execution> - <id>build info</id> - <goals> - <goal>build-info</goal> - </goals> - <!-- <configuration> <additionalProperties> <jenkins.build.number>${buildnumber}</jenkins.build.number> - </additionalProperties> </configuration> --> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <version>${maven-jar-plugin.version}</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <version>${maven.surefire.version}</version> - <configuration> - <argLine> - --illegal-access=permit - </argLine> - </configuration> - </plugin> - - <plugin> - <groupId>org.sonarsource.scanner.maven</groupId> - <artifactId>sonar-maven-plugin</artifactId> - <version>${sonarqube.version}</version> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-failsafe-plugin</artifactId> - <version>${maven.failsafe.version}</version> - <configuration> - <argLine> - --illegal-access=permit - </argLine> - <classesDirectory>${project.build.outputDirectory}</classesDirectory> - </configuration> - <executions> - <execution> - <goals> - <goal>integration-test</goal> - <goal>verify</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>pl.project13.maven</groupId> - <artifactId>git-commit-id-plugin</artifactId> - <version>${git-comit-id.plugin.version}</version> - </plugin> - </plugins> - </pluginManagement> - </build> - - <distributionManagement> - <repository> - <id>ozg-nexus</id> - <name>ozg-releases</name> - <url>https://nexus.ozg-sh.de/repository/ozg-releases/</url> - </repository> - <snapshotRepository> - <id>ozg-nexus</id> - <name>ozg-snapshots</name> - <url>https://nexus.ozg-sh.de/repository/ozg-snapshots/</url> - </snapshotRepository> - </distributionManagement> + 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>de.itvsh.ozg</groupId> + <artifactId>goofy</artifactId> + <version>0.9.0-SNAPSHOT</version> + <name>Goofy Parent</name> + <packaging>pom</packaging> + + <modules> + <module>goofy-client</module> + <module>goofy-server</module> + </modules> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + <java.version>16</java.version> + + <pluto.version>${project.version}</pluto.version> + + <spring.boot.version>2.4.5</spring.boot.version> + + <grpc.spring-boot-starter.version>2.10.1.RELEASE</grpc.spring-boot-starter.version> + <spring-admin.version>2.3.1</spring-admin.version> + <mapstruct.version>1.4.1.Final</mapstruct.version> + <commons-io.version>2.8.0</commons-io.version> + <keycloak-adapter.version>14.0.0</keycloak-adapter.version> + <lombok.version>1.18.20</lombok.version> + + <lorem.version>2.1</lorem.version> + + <!-- plugins --> + <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version> + <resources.plugin.version>3.1.0</resources.plugin.version> + <maven.surefire.version>3.0.0-M5</maven.surefire.version> + <maven.failsafe.version>3.0.0-M5</maven.failsafe.version> + <git-comit-id.plugin.version>4.0.3</git-comit-id.plugin.version> + <sonarqube.version>3.8.0.2131</sonarqube.version> + </properties> + + <dependencyManagement> + <dependencies> + <!-- spring --> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-dependencies</artifactId> + <version>${spring.boot.version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + + <!-- keycloak --> + <dependency> + <groupId>org.keycloak.bom</groupId> + <artifactId>keycloak-adapter-bom</artifactId> + <version>${keycloak-adapter.version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + <dependency> + <groupId>org.keycloak</groupId> + <artifactId>keycloak-admin-client</artifactId> + <version>${keycloak-adapter.version}</version> + </dependency> + + <dependency> + <groupId>de.codecentric</groupId> + <artifactId>spring-boot-admin-starter-client</artifactId> + <version>${spring-admin.version}</version> + </dependency> + + <!-- commons --> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>${commons-io.version}</version> + </dependency> + + <!-- tools --> + <dependency> + <groupId>org.mapstruct</groupId> + <artifactId>mapstruct</artifactId> + <version>${mapstruct.version}</version> + </dependency> + <dependency> + <groupId>net.devh</groupId> + <artifactId>grpc-client-spring-boot-starter</artifactId> + <version>${grpc.spring-boot-starter.version}</version> + </dependency> + + <dependency> + <groupId>de.itvsh.ozg.pluto</groupId> + <artifactId>pluto-interface</artifactId> + <version>${pluto.version}</version> + </dependency> + + <dependency> + <groupId>com.thedeanda</groupId> + <artifactId>lorem</artifactId> + <version>${lorem.version}</version> + <!-- <scope>test</scope> --> + </dependency> + </dependencies> + </dependencyManagement> + + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <version>${resources.plugin.version}</version> + </plugin> + + <plugin> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-maven-plugin</artifactId> + <version>${spring.boot.version}</version> + <configuration> + <image> + <builder>paketobuildpacks/builder:0.1.111-base</builder> + </image> + </configuration> + <executions> + <execution> + <id>repackage</id> + <goals> + <goal>repackage</goal> + </goals> + </execution> + + <execution> + <id>build info</id> + <goals> + <goal>build-info</goal> + </goals> + <!-- <configuration> <additionalProperties> <jenkins.build.number>${buildnumber}</jenkins.build.number> + </additionalProperties> </configuration> --> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>${maven-jar-plugin.version}</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>${maven.surefire.version}</version> + <configuration> + <argLine> + --illegal-access=permit + </argLine> + </configuration> + </plugin> + + <plugin> + <groupId>org.sonarsource.scanner.maven</groupId> + <artifactId>sonar-maven-plugin</artifactId> + <version>${sonarqube.version}</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-failsafe-plugin</artifactId> + <version>${maven.failsafe.version}</version> + <configuration> + <argLine> + --illegal-access=permit + </argLine> + <classesDirectory>${project.build.outputDirectory}</classesDirectory> + </configuration> + <executions> + <execution> + <goals> + <goal>integration-test</goal> + <goal>verify</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>pl.project13.maven</groupId> + <artifactId>git-commit-id-plugin</artifactId> + <version>${git-comit-id.plugin.version}</version> + </plugin> + </plugins> + </pluginManagement> + </build> + + <distributionManagement> + <repository> + <id>ozg-nexus</id> + <name>ozg-releases</name> + <url>https://nexus.ozg-sh.de/repository/ozg-releases/</url> + </repository> + <snapshotRepository> + <id>ozg-nexus</id> + <name>ozg-snapshots</name> + <url>https://nexus.ozg-sh.de/repository/ozg-snapshots/</url> + </snapshotRepository> + </distributionManagement> </project>