2019-10-31 21:43:47 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<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>spring-boot-kotlin</artifactId>
|
|
|
|
<name>spring-boot-kotlin</name>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<description>Demo project showing how to use non-blocking in Kotlin with Spring Boot</description>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
2019-12-05 09:56:52 -05:00
|
|
|
<artifactId>parent-kotlin</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
<relativePath>../parent-kotlin</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>spring-snapshots</id>
|
|
|
|
<name>Spring Snapshots</name>
|
|
|
|
<url>https://repo.spring.io/snapshot</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>spring-milestones</id>
|
|
|
|
<name>Spring Milestones</name>
|
|
|
|
<url>https://repo.spring.io/milestone</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>spring-snapshots</id>
|
|
|
|
<name>Spring Snapshots</name>
|
|
|
|
<url>https://repo.spring.io/snapshot</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</pluginRepository>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>spring-milestones</id>
|
|
|
|
<name>Spring Milestones</name>
|
|
|
|
<url>https://repo.spring.io/milestone</url>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-reflect</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlinx</groupId>
|
|
|
|
<artifactId>kotlinx-coroutines-core</artifactId>
|
|
|
|
<version>${kotlinx-coroutines.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlinx</groupId>
|
|
|
|
<artifactId>kotlinx-coroutines-reactor</artifactId>
|
|
|
|
<version>${kotlinx-coroutines.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-webflux</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.module</groupId>
|
|
|
|
<artifactId>jackson-module-kotlin</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.data</groupId>
|
|
|
|
<artifactId>spring-data-r2dbc</artifactId>
|
|
|
|
<version>${r2dbc.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.r2dbc</groupId>
|
|
|
|
<artifactId>r2dbc-h2</artifactId>
|
|
|
|
<version>${h2-r2dbc.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.r2dbc</groupId>
|
|
|
|
<artifactId>r2dbc-spi</artifactId>
|
|
|
|
<version>${r2dbc-spi.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.projectreactor</groupId>
|
|
|
|
<artifactId>reactor-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<args>
|
|
|
|
<arg>-Xjsr305=strict</arg>
|
|
|
|
</args>
|
|
|
|
<compilerPlugins>
|
|
|
|
<plugin>spring</plugin>
|
|
|
|
</compilerPlugins>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-maven-allopen</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<kotlin.version>1.3.31</kotlin.version>
|
|
|
|
<r2dbc.version>1.0.0.M1</r2dbc.version>
|
|
|
|
<r2dbc-spi.version>1.0.0.M7</r2dbc-spi.version>
|
|
|
|
<h2-r2dbc.version>1.0.0.BUILD-SNAPSHOT</h2-r2dbc.version>
|
|
|
|
<kotlinx-coroutines.version>1.2.1</kotlinx-coroutines.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
</project>
|