@@ -13,195 +13,48 @@
<groupId >org.springframework.boot</groupId >
<artifactId >spring-boot-starter-parent</artifactId >
<version >2.0.0.RC1</version >
<relativePath /> <!-- lookup parent from repository -->
<relativePath />
</parent >
<properties >
<kotlin .version>1.2.21</kotlin .version>
<spring-boot .version>2.0.0.RC1</spring-boot .version>
<spring-cloud .version>Finchley.M6</spring-cloud .version>
<spring-cloud-function .version>1.0.0.M3</spring-cloud-function .version>
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
<kotlin .compiler.incremental>true</kotlin .compiler.incremental>
<jakson-kotlin .version>2.9.4.1</jakson-kotlin .version>
<maven .compiler.source>1.8</maven .compiler.source>
<maven .compiler.target>1.8</maven .compiler.target>
<lombok .version>1.16.20</lombok .version>
<vavr .version>0.9.2</vavr .version>
<junit4 .version>4.12</junit4 .version>
<junit .jupiter.version>5.0.2</junit .jupiter.version>
<junit .platform.version>1.0.2</junit .platform.version>
<hibernate .core.version>4.2.18.Final</hibernate .core.version>
</properties >
<dependencies >
<!-- spring-boot -->
<dependency >
<groupId >org.springframework.cloud</groupId >
<artifactId >spring-cloud-function-web</artifactId >
<version >1.0.0.M3 </version >
<version >${spring-cloud-function.version} </version >
</dependency >
<dependency >
<groupId >org.springframework.boot</groupId >
<artifactId >spring-boot-starter-actuator</artifactId >
</dependency >
<dependency >
<groupId >org.springframework.boot</groupId >
<artifactId >spring-boot-starter-test</artifactId >
<scope >test</scope >
</dependency >
<!--
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
-->
<!-- JPA (+embedded) -->
<!--
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-rest</artifactId>
</dependency>
-->
<!-- Hibernate UUID -->
<!--
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>${hibernate.core.version}</version>
</dependency>
-->
<!-- Mongo (+embedded) -->
<!--
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-mongodb-reactive</artifactId>
</dependency>
<dependency>
<groupId>de.flapdoodle.embed</groupId>
<artifactId>de.flapdoodle.embed.mongo</artifactId>
</dependency>
-->
<!-- Kafka (+embedded) -->
<!--
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream-binder-kafka</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.kafka</groupId>
<artifactId>spring-kafka</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.kafka</groupId>
<artifactId>spring-kafka-test</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream-test-support</artifactId>
<scope>test</scope>
</dependency>
-->
<!-- In java we trust -->
<dependency >
<groupId >org.projectlombok</groupId >
<artifactId >lombok</artifactId >
<optional >true</optional >
</dependency >
<dependency >
<groupId >io.vavr</groupId >
<artifactId >vavr</artifactId >
<version >${vavr.version} </version >
</dependency >
<!-- Kotlin -->
<dependency >
<groupId >com.fasterxml.jackson.module</groupId >
<artifactId >jackson-module-kotlin</artifactId >
</dependency >
<dependency >
<groupId >org.jetbrains.kotlin</groupId >
<artifactId >kotlin-stdlib-jdk8</artifactId >
<version >${kotlin.version} </version >
</dependency >
<!--
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-reflect</artifactId>
</dependency >
<dependency >
<groupId >org.jetbrains.kotlin</groupId >
<artifactId >kotlin-test</artifactId >
<version>${kotlin.version}</version>
<scope >test</scope >
</dependency >
<!-- junit 4 -->
<dependency >
<groupId >junit</groupId >
<artifactId >junit</artifactId >
<version >${junit4.version} </version >
<scope >test</scope >
</dependency>
-->
<dependency >
<groupId >org.junit.vintage</groupId >
<artifactId >junit-vintage-engine</artifactId >
<version >${junit4.version} .3</version >
<scope >test</scope >
</dependency >
<!-- junit 5 -->
<dependency >
<groupId >org.junit.jupiter</groupId >
<artifactId >junit-jupiter-api</artifactId >
<version >${junit.jupiter.version} </version >
<scope >test</scope >
</dependency >
<dependency >
<groupId >org.junit.jupiter</groupId >
<artifactId >junit-jupiter-engine</artifactId >
<version >${junit.jupiter.version} </version >
<scope >test</scope >
</dependency >
<dependency >
<groupId >org.junit.platform</groupId >
<artifactId >junit-platform-launcher</artifactId >
<version >${junit.platform.version} </version >
<scope >test</scope >
</dependency >
<dependency >
<groupId >org.junit.platform</groupId >
<artifactId >junit-platform-runner</artifactId >
<version >${junit.platform.version} </version >
<scope >test</scope >
<groupId >com.fasterxml.jackson.module</groupId >
<artifactId >jackson-module-kotlin</artifactId >
<version >${jakson-kotlin.version} </version >
</dependency >
</dependencies >
@@ -217,7 +70,6 @@
</configuration >
</plugin >
<!-- Java spring no-arg / all-open -->
<plugin >
<artifactId >kotlin-maven-plugin</artifactId >
<groupId >org.jetbrains.kotlin</groupId >
@@ -227,14 +79,12 @@
<jvmTarget >1.8</jvmTarget >
<compilerPlugins >
<!-- Or "spring" for the Spring support -->
<plugin >all-open</plugin >
<plugin >no-arg</plugin >
<plugin >spring</plugin >
</compilerPlugins >
<pluginOptions >
<!-- Each annotation is placed on its own line -->
<option >all-open:annotation=javax.persistence.Entity</option >
<option >no-arg:annotation=javax.persistence.Entity</option >
</pluginOptions >
@@ -286,12 +136,10 @@
<artifactId >maven-compiler-plugin</artifactId >
<version >3.5.1</version >
<executions >
<!-- Replacing default-compile as it is treated specially by maven -->
<execution >
<id >default-compile</id >
<phase >none</phase >
</execution >
<!-- Replacing default-testCompile as it is treated specially by maven -->
<execution >
<id >default-testCompile</id >
<phase >none</phase >
@@ -309,48 +157,20 @@
</executions >
</plugin >
<!-- junit 5 -->
<plugin >
<groupId >org.apache.maven.plugins</groupId >
<artifactId >maven-surefire-plugin</artifactId >
<!--
there are issues with 2.20.1 version
The junit-platform-surefire-provider is not compatible with version 2.20 of the maven-surefire-plugin.
see https://github.com/junit-team/junit5/issues/809
-->
<!-- <version>2.20.1</version>-->
<version >2.19.1</version >
<dependencies >
<dependency >
<groupId >org.junit.platform</groupId >
<artifactId >junit-platform-surefire-provider</artifactId >
<version >${junit.platform.version} </version >
</dependency >
<dependency >
<groupId >org.junit.jupiter</groupId >
<artifactId >junit-jupiter-engine</artifactId >
<version >${junit.jupiter.version} </version >
</dependency >
</dependencies >
</plugin >
<!-- docker -->
<plugin >
<groupId >com.dkanejs.maven.plugins</groupId >
<artifactId >docker-compose-maven-plugin</artifactId >
<version >1.0.1</version >
<executions >
<execution >
<id >up</id >
<!-- <phase>process-resources</phase>-->
<phase >verify</phase >
<goals >
<goal >up</goal >
</goals >
</execution >
<execution >
<id >down</id >
<!-- <phase>test</phase>-->
<phase >verify</phase >
<goals >
<goal >down</goal >