Skip to content
Snippets Groups Projects
pom.xml 6.17 KiB
Newer Older
  • Learn to ignore specific revisions
  • OZGCloud's avatar
    OZGCloud committed
    <?xml version="1.0" encoding="UTF-8"?>
    
    OZGCloud's avatar
    OZGCloud committed
        Copyright (C) 2023 Das Land Schleswig-Holstein vertreten durch den
    
        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">
    
    	<modelVersion>4.0.0</modelVersion>
    
    	<parent>
    
    		<groupId>de.ozgcloud.common</groupId>
    		<artifactId>ozgcloud-common-dependencies</artifactId>
    
    OZGCloud's avatar
    OZGCloud committed
    		<version>4.7.0</version>
    
    		<relativePath/>
    
    	</parent>
    
    
    	<groupId>de.ozgcloud.vorgang</groupId>
    	<artifactId>vorgang-manager-utils</artifactId>
    	<name>OZG-Cloud Vorgang Manager Utils</name>
    
    Evgeny Bardin's avatar
    Evgeny Bardin committed
    	<version>2.20.0</version>
    
    	<inceptionYear>2020</inceptionYear>
    
    
    	<properties>
    
    		<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
    
    		<maven-jar-plugin.version>3.2.2</maven-jar-plugin.version>
    
    OZGCloud's avatar
    OZGCloud committed
    
    
    OZGCloud's avatar
    OZGCloud committed
    		<maven-surefire-plugin.version>3.2.2</maven-surefire-plugin.version>
    		<maven-failsafe-plugin.version>3.2.2</maven-failsafe-plugin.version>
    
    OZGCloud's avatar
    OZGCloud committed
    		<lombok.version>1.18.34</lombok.version>
    
    OZGCloud's avatar
    OZGCloud committed
    
    
    	</properties>
    
    	<dependencies>
    		<dependency>
    
    			<groupId>de.ozgcloud.common</groupId>
    			<artifactId>ozgcloud-common-lib</artifactId>
    
    		</dependency>
    		<dependency>
    
    			<groupId>de.ozgcloud.vorgang</groupId>
    			<artifactId>vorgang-manager-interface</artifactId>
    
    			<version>${project.version}</version>
    
    		</dependency>
    
    		<dependency>
    			<groupId>org.mapstruct</groupId>
    			<artifactId>mapstruct</artifactId>
    		</dependency>
    		<dependency>
    			<groupId>org.mapstruct</groupId>
    			<artifactId>mapstruct-processor</artifactId>
    			<version>${mapstruct.version}</version>
    		</dependency>
    
    		<!--TEST-->
    		<dependency>
    			<groupId>org.junit.jupiter</groupId>
    			<artifactId>junit-jupiter-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-core</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>
    
    OZGCloud's avatar
    OZGCloud committed
    
    
    		<!-- commons -->
    		<dependency>
    			<groupId>commons-beanutils</groupId>
    			<artifactId>commons-beanutils</artifactId>
    
    OZGCloud's avatar
    OZGCloud committed
    			<exclusions>
    				<exclusion>
    					<groupId>commons-logging</groupId>
    					<artifactId>commons-logging</artifactId>
    				</exclusion>
    			</exclusions>
    
    		</dependency>
    
    	</dependencies>
    
    	<build>
    		<plugins>
    
    			<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-compiler-plugin</artifactId>
    
    				<version>${maven-compiler-plugin.version}</version>
    
    				<configuration>
    					<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=WARN
    						</compilerArg>
    						<compilerArg>
    							-Amapstruct.unmappedSourcePolicy=WARN
    						</compilerArg>
    					</compilerArgs>
    					<generatedSourcesDirectory>target/generated-sources</generatedSourcesDirectory>
    
    					<release>${java.version}</release>
    
    				</configuration>
    			</plugin>
    
    
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-surefire-plugin</artifactId>
    				<version>${maven-surefire-plugin.version}</version>
    				<configuration>
    					<argLine>
    
    OZGCloud's avatar
    OZGCloud committed
    						${surefire.jacoco.args}
    					</argLine>
    
    				</configuration>
    			</plugin>
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-failsafe-plugin</artifactId>
    				<version>${maven-failsafe-plugin.version}</version>
    				<configuration>
    					<argLine>
    
    OZGCloud's avatar
    OZGCloud committed
    						${surefire.jacoco.args}
    					</argLine>
    
    					<classesDirectory>${project.build.outputDirectory}</classesDirectory>
    				</configuration>
    				<executions>
    					<execution>
    						<goals>
    							<goal>integration-test</goal>
    							<goal>verify</goal>
    						</goals>
    					</execution>
    				</executions>
    			</plugin>
    			<plugin>
    				<groupId>org.jacoco</groupId>
    				<artifactId>jacoco-maven-plugin</artifactId>
    				<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>
    
    		</plugins>
    	</build>
    
    OZGCloud's avatar
    OZGCloud committed
    </project>