Skip to content
Snippets Groups Projects
pom.xml 5.03 KiB
Newer Older
  • Learn to ignore specific revisions
  • <?xml version="1.0" encoding="UTF-8"?>
    <!--
      Copyright 2017-2020, Schlumberger
    
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at
    
           http://www.apache.org/licenses/LICENSE-2.0
    
      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.
    -->
    
    <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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    
    	<modelVersion>4.0.0</modelVersion>
    	<artifactId>partition-core</artifactId>
    	<description>Core project for the partition service</description>
    	<packaging>jar</packaging>
    
    	<parent>
    		<groupId>org.opengroup.osdu</groupId>
    		<artifactId>partition</artifactId>
    
    		<version>0.13.0-SNAPSHOT</version>
    
    		<relativePath>../pom.xml</relativePath>
    	</parent>
    
    	<properties>
    		<java.version>1.8</java.version>
    		<maven.compiler.target>1.8</maven.compiler.target>
    		<maven.compiler.source>1.8</maven.compiler.source>
    		<springfox-version>2.7.0</springfox-version>
    		<powermock.version>2.0.6</powermock.version>
    		<mockito.core.version>3.3.3</mockito.core.version>
    		<assertj_core_version>3.16.1</assertj_core_version>
    		<kotlin_stdlib_version>1.3.60</kotlin_stdlib_version>
    		<cobertura_maven_plugin_version>2.7</cobertura_maven_plugin_version>
    		<maven_surefire_plugin_version>3.0.0-M4</maven_surefire_plugin_version>
    		<maven_failsafe_plugin_version>3.0.0-M4</maven_failsafe_plugin_version>
    	</properties>
    
    	<dependencies>
    		<dependency>
    			<groupId>org.projectlombok</groupId>
    			<artifactId>lombok</artifactId>
    		</dependency>
    
    		<dependency>
    			<groupId>org.opengroup.osdu</groupId>
    			<artifactId>os-core-common</artifactId>
    		</dependency>
    		<dependency>
    			<groupId>org.springframework.boot</groupId>
    			<artifactId>spring-boot-starter-web</artifactId>
    		</dependency>
    
    		<dependency>
    			<groupId>org.springframework.boot</groupId>
    			<artifactId>spring-boot-starter-actuator</artifactId>
    		</dependency>
    
    		<dependency>
    			<groupId>org.springframework.boot</groupId>
    			<artifactId>spring-boot-starter-security</artifactId>
    			<exclusions>
    				<exclusion>
    					<groupId>ch.qos.logback</groupId>
    					<artifactId>logback-classic</artifactId>
    				</exclusion>
    				<exclusion>
    					<groupId>org.apache.logging.log4j</groupId>
    					<artifactId>log4j-to-slf4j</artifactId>
    				</exclusion>
    			</exclusions>
    		</dependency>
    
    		<dependency>
    			<groupId>org.springframework.boot</groupId>
    			<artifactId>spring-boot-starter-validation</artifactId>
    		</dependency>
    
    		<!-- test dependencies -->
    		<dependency>
    			<groupId>org.jetbrains.kotlin</groupId>
    			<artifactId>kotlin-stdlib</artifactId>
    			<version>${kotlin_stdlib_version}</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.springframework.boot</groupId>
    			<artifactId>spring-boot-starter-test</artifactId>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.powermock</groupId>
    			<artifactId>powermock-module-junit4</artifactId>
    			<version>${powermock.version}</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.powermock</groupId>
    			<artifactId>powermock-api-mockito2</artifactId>
    			<version>${powermock.version}</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.mockito</groupId>
    			<artifactId>mockito-core</artifactId>
    			<version>${mockito.core.version}</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.codehaus.mojo</groupId>
    			<artifactId>cobertura-maven-plugin</artifactId>
    			<version>${cobertura_maven_plugin_version}</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.assertj</groupId>
    			<artifactId>assertj-core</artifactId>
    			<version>${assertj_core_version}</version>
    			<scope>test</scope>
    		</dependency>
    
    		<!-- swagger dependencies -->
    		<dependency>
    			<groupId>io.springfox</groupId>
    			<artifactId>springfox-swagger2</artifactId>
    			<version>${springfox-version}</version>
    
    			<exclusions>
    				<exclusion>
    					<!--
    					Excluding com.google.guava:guava:jar:18.0, because it has security vulnerability
    					-->
    					<groupId>com.google.guava</groupId>
    					<artifactId>guava</artifactId>
    				</exclusion>
    			</exclusions>
    
    		</dependency>
    		<dependency>
    			<groupId>io.springfox</groupId>
    			<artifactId>springfox-swagger-ui</artifactId>
    			<version>${springfox-version}</version>
    		</dependency>
    	</dependencies>
    
    	<build>
    		<plugins>
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-surefire-plugin</artifactId>
    				<version>${maven_surefire_plugin_version}</version>
    				<configuration>
    					<useSystemClassLoader>false</useSystemClassLoader>
    					<threadCount>1</threadCount>
    				</configuration>
    			</plugin>
    		</plugins>
    	</build>
    </project>