94 lines
2.7 KiB
XML
94 lines
2.7 KiB
XML
|
<?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>
|
||
|
|
||
|
<groupId>com.baeldung</groupId>
|
||
|
<artifactId>springreactivekotlin</artifactId>
|
||
|
<version>0.0.1-SNAPSHOT</version>
|
||
|
<packaging>jar</packaging>
|
||
|
|
||
|
<name>springreactivekotlin</name>
|
||
|
<description>Demo project for Spring Boot</description>
|
||
|
|
||
|
<parent>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||
|
<version>2.0.3.RELEASE</version>
|
||
|
<relativePath/> <!-- lookup parent from repository -->
|
||
|
</parent>
|
||
|
|
||
|
<properties>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
|
<java.version>1.8</java.version>
|
||
|
<kotlin.version>1.2.41</kotlin.version>
|
||
|
</properties>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||
|
</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.jetbrains.kotlin</groupId>
|
||
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.jetbrains.kotlin</groupId>
|
||
|
<artifactId>kotlin-reflect</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-test</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.projectreactor</groupId>
|
||
|
<artifactId>reactor-test</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
|
||
|
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>kotlin-maven-plugin</artifactId>
|
||
|
<groupId>org.jetbrains.kotlin</groupId>
|
||
|
<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>
|
||
|
|
||
|
|
||
|
</project>
|