Skip to content
Snippets Groups Projects
pom.xml 7.6 KiB
Newer Older
  • Learn to ignore specific revisions
  • <?xml version="1.0"?>
    
    <!--
    
    OZGCloud's avatar
    OZGCloud committed
    
    
        Copyright (C) 2022 Das Land Schleswig-Holstein vertreten durch den
    
    OZGCloud's avatar
    OZGCloud committed
        Ministerpräsidenten des Landes Schleswig-Holstein
        Staatskanzlei
        Abteilung Digitalisierung und zentrales IT-Management der Landesregierung
    
        Lizenziert unter der EUPL, Version 1.2 oder - sobald
        diese von der Europäischen Kommission genehmigt wurden -
        Folgeversionen der EUPL ("Lizenz");
        Sie dürfen dieses Werk ausschließlich gemäß
        dieser Lizenz nutzen.
        Eine Kopie der Lizenz finden Sie hier:
    
        https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
    
        Sofern nicht durch anwendbare Rechtsvorschriften
        gefordert oder in schriftlicher Form vereinbart, wird
        die unter der Lizenz verbreitete Software "so wie sie
        ist", OHNE JEGLICHE GEWÄHRLEISTUNG ODER BEDINGUNGEN -
        ausdrücklich oder stillschweigend - verbreitet.
        Die sprachspezifischen Genehmigungen und Beschränkungen
        unter der Lizenz sind dem Lizenztext zu entnehmen.
    
    
    <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">
    
    		<groupId>de.ozgcloud.common</groupId>
    		<artifactId>ozgcloud-common-dependencies</artifactId>
    
    		<version>4.10.0</version>
    
    	<modelVersion>4.0.0</modelVersion>
    
    	<groupId>de.ozgcloud.user</groupId>
    
    OZGCloud's avatar
    OZGCloud committed
    	<artifactId>user-manager</artifactId>
    
    OZGCloud's avatar
    OZGCloud committed
    	<version>2.17.0-SNAPSHOT</version>
    
    	<name>OZG-Cloud User Manager</name>
    
    	<packaging>pom</packaging>
    
    	<inceptionYear>2022</inceptionYear>
    
    	<properties>
    
    		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    
    
    		<lombok.version>1.18.34</lombok.version>
    
    		<quarkus.mongock.version>0.3.0</quarkus.mongock.version>
    
    
    		<!-- plugins -->
    
    		<maven.compiler.release>21</maven.compiler.release>
    
    		<jandex-maven-plugin-version>1.2.3</jandex-maven-plugin-version>
    
    		<compiler-plugin.version>3.11.0</compiler-plugin.version>
    
    		<jacoco.plugin.version>0.8.11</jacoco.plugin.version>
    
    		<maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version>
    
    		<maven-failsafe-plugin.version>3.2.5</maven-failsafe-plugin.version>
    		<git-commit-id-maven-plugin.version>7.0.0</git-commit-id-maven-plugin.version>
    
    		<maven-source.plugin.version>3.3.0</maven-source.plugin.version>
    
    		<dependency-track-maven-plugin.version>1.7.0</dependency-track-maven-plugin.version>
    
    Felix Reichenbach's avatar
    Felix Reichenbach committed
    		<jakarta.annotation-api.version>2.1.1</jakarta.annotation-api.version>
    
    
    		<!-- TODO move to common-dependencies -->
    		<cyclonedx-maven-plugin.version>2.7.11</cyclonedx-maven-plugin.version>
    
    
    	</properties>
    
    	<modules>
    		<module>user-manager-interface</module>
    
    		<module>user-manager-server</module>
    
    
    	<dependencyManagement>
    		<dependencies>
    			<!-- Modules -->
    			<dependency>
    				<groupId>de.ozgcloud.user</groupId>
    				<artifactId>user-manager-interface</artifactId>
    
    				<version>${project.version}</version>
    
    			</dependency>
    
    			<!-- Quarkus -->
    			<dependency>
    				<groupId>io.quarkus.platform</groupId>
    				<artifactId>quarkus-bom</artifactId>
    				<version>${quarkus.platform.version}</version>
    				<type>pom</type>
    				<scope>import</scope>
    			</dependency>
    
    			<!-- Jakarta -->
    			<dependency>
    				<groupId>jakarta.interceptor</groupId>
    				<artifactId>jakarta.interceptor-api</artifactId>
    
    				<version>${jakarta.version}</version>
    
    			</dependency>
    			<dependency>
    				<groupId>jakarta.annotation</groupId>
    				<artifactId>jakarta.annotation-api</artifactId>
    
    Felix Reichenbach's avatar
    Felix Reichenbach committed
    				<version>${jakarta.annotation-api.version}</version>
    
    			<!-- Mapstruct -->
    			<dependency>
    				<groupId>org.mapstruct</groupId>
    				<artifactId>mapstruct</artifactId>
    				<version>${mapstruct.version}</version>
    				<scope>provided</scope>
    			</dependency>
    
    			<dependency>
    				<groupId>org.mapstruct</groupId>
    				<artifactId>mapstruct-processor</artifactId>
    				<version>${mapstruct.version}</version>
    				<scope>provided</scope>
    			</dependency>
    		</dependencies>
    	</dependencyManagement>
    
    	<build>
    		<pluginManagement>
    
    				<plugin>
    					<groupId>com.mycila</groupId>
    					<artifactId>license-maven-plugin</artifactId>
    				</plugin>
    
    				<plugin>
    					<groupId>io.quarkus.platform</groupId>
    					<artifactId>quarkus-maven-plugin</artifactId>
    					<version>${quarkus.platform.version}</version>
    					<executions>
    						<execution>
    							<goals>
    								<goal>build</goal>
    								<goal>generate-code</goal>
    								<goal>generate-code-tests</goal>
    							</goals>
    						</execution>
    					</executions>
    				</plugin>
    				<plugin>
    					<groupId>org.jboss.jandex</groupId>
    					<artifactId>jandex-maven-plugin</artifactId>
    					<version>${jandex-maven-plugin-version}</version>
    					<executions>
    						<execution>
    							<id>make-index</id>
    							<goals>
    								<goal>jandex</goal>
    							</goals>
    						</execution>
    					</executions>
    				</plugin>
    				<plugin>
    					<artifactId>maven-compiler-plugin</artifactId>
    					<version>${compiler-plugin.version}</version>
    				</plugin>
    				<plugin>
    					<artifactId>maven-surefire-plugin</artifactId>
    
    					<version>${maven-surefire-plugin.version}</version>
    
    				</plugin>
    				<plugin>
    					<artifactId>maven-failsafe-plugin</artifactId>
    					<version>${maven-failsafe-plugin.version}</version>
    				</plugin>
    				<plugin>
    
    					<groupId>io.github.git-commit-id</groupId>
    					<artifactId>git-commit-id-maven-plugin</artifactId>
    					<version>${git-commit-id-maven-plugin.version}</version>
    
    					<executions>
    						<execution>
    							<id>get-the-git-infos</id>
    							<phase>initialize</phase>
    							<goals>
    								<goal>revision</goal>
    							</goals>
    						</execution>
    					</executions>
    					<configuration>
    						<offline>true</offline>
    					</configuration>
    				</plugin>
    				<plugin>
    					<groupId>org.jacoco</groupId>
    					<artifactId>jacoco-maven-plugin</artifactId>
    					<version>${jacoco.plugin.version}</version>
    					<executions>
    						<execution>
    							<id>start-agent</id>
    							<goals>
    								<goal>prepare-agent</goal>
    							</goals>
    							<configuration>
    								<propertyName>surefire.jacoco.args</propertyName>
    								<exclClassLoaders>*QuarkusClassLoader</exclClassLoaders>
    
    OZGCloud's avatar
    OZGCloud committed
    								<destFile>${project.build.directory}/jacoco-quarkus.exec</destFile>
    
    								<append>true</append>
    							</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-source-plugin</artifactId>
    					<version>${maven-source.plugin.version}</version>
    					<executions>
    						<execution>
    							<id>attach-sources</id>
    							<goals>
    								<goal>jar</goal>
    							</goals>
    						</execution>
    					</executions>
    				</plugin>
    
    
    				<plugin>
    					<groupId>io.github.pmckeown</groupId>
    					<artifactId>dependency-track-maven-plugin</artifactId>
    					<version>${dependency-track-maven-plugin.version}</version>
    					<configuration>
    						<dependencyTrackBaseUrl>https://dependency-track.ozg-sh.de</dependencyTrackBaseUrl>
    						<failOnError>true</failOnError>
    
    						<!--						<createProject>true</createProject>-->
    
    					</configuration>
    				</plugin>
    
    
    			</plugins>
    		</pluginManagement>
    
    
    		<plugins>
    			<plugin>
    				<groupId>org.cyclonedx</groupId>
    				<artifactId>cyclonedx-maven-plugin</artifactId>
    				<version>${cyclonedx-maven-plugin.version}</version>
    				<executions>
    					<execution>
    						<phase>package</phase>
    						<goals>
    							<goal>makeAggregateBom</goal>
    						</goals>
    					</execution>
    				</executions>
    			</plugin>
    		</plugins>
    
    
    	</build>
    
    Felix Reichenbach's avatar
    Felix Reichenbach committed
    </project>