Skip to content
Snippets Groups Projects
pom.xml 2.85 KiB
Newer Older
  • Learn to ignore specific revisions
  • <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.api-lib</groupId>
    		<artifactId>api-lib-parent</artifactId>
    		<version>0.1.0-SNAPSHOT</version>
    	</parent>
    
    	<artifactId>api-lib-core</artifactId>
    
    	<properties>
    		<lombok.version>1.18.26</lombok.version>
    		<mapstruct.version>1.5.4.Final</mapstruct.version>
    	</properties>
    
    
    	<dependencies>
    		<!--ozg cloud project -->
    		<dependency>
    			<groupId>de.itvsh.kop.common</groupId>
    			<artifactId>kop-common-lib</artifactId>
    		</dependency>
    
    		<dependency>
    			<groupId>org.springframework</groupId>
    			<artifactId>spring-context</artifactId>
    		</dependency>
    
    
    		<dependency>
    			<groupId>de.itvsh.ozg.pluto</groupId>
    			<artifactId>pluto-interface</artifactId>
    		</dependency>
    
    		<!--spring -->
    		<dependency>
    			<groupId>net.devh</groupId>
    
    			<artifactId>grpc-client-spring-boot-autoconfigure</artifactId>
    			<version>2.14.0.RELEASE</version>
    
    		</dependency>
    
    		<dependency>
    			<groupId>org.mapstruct</groupId>
    			<artifactId>mapstruct</artifactId>
    		</dependency>
    
    		<!-- test -->
    		<dependency>
    			<groupId>org.junit.jupiter</groupId>
    			<artifactId>junit-jupiter</artifactId>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.assertj</groupId>
    			<artifactId>assertj-core</artifactId>
    		</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>
    
    
    		<!--dev-tools -->
    		<dependency>
    			<groupId>org.projectlombok</groupId>
    			<artifactId>lombok</artifactId>
    			<scope>compile</scope>
    			<optional>true</optional>
    		</dependency>
    	</dependencies>
    
    	<build>
    		<plugins>
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-compiler-plugin</artifactId>
    				<version>3.10.1</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>
    						<!-- other annotation processors -->
    					</annotationProcessorPaths>
    
    					<showWarnings>true</showWarnings>
    					<compilerArgs>
    						<compilerArg>
    							-Amapstruct.defaultComponentModel=spring
    						</compilerArg>
    						<compilerArg>
    							-Amapstruct.unmappedTargetPolicy=WARN
    						</compilerArg>
    					</compilerArgs>
    				</configuration>
    			</plugin>
    		</plugins>
    	</build>