2017-11-16 14:42:27 +01: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>
|
|
|
|
|
|
|
|
|
|
<groupId>com.example</groupId>
|
|
|
|
|
<artifactId>demo</artifactId>
|
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
|
|
<name>demo</name>
|
|
|
|
|
<description>Demo project for Spring Boot</description>
|
|
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
|
<version>2.0.0.M6</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>9</java.version>
|
2017-12-28 13:42:04 +01:00
|
|
|
<kotlin.version>1.1.1</kotlin.version>
|
2017-11-16 14:42:27 +01:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
2018-02-01 11:24:22 +01:00
|
|
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
2017-11-16 14:42:27 +01:00
|
|
|
</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>
|
|
|
|
|
</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>
|
2018-02-07 16:13:48 +01:00
|
|
|
<args>
|
|
|
|
|
<arg>-Xjsr305=strict</arg>
|
|
|
|
|
</args>
|
2017-11-16 14:42:27 +01:00
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
<snapshots>
|
|
|
|
|
<enabled>false</enabled>
|
|
|
|
|
</snapshots>
|
|
|
|
|
</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>
|
|
|
|
|
<snapshots>
|
|
|
|
|
<enabled>false</enabled>
|
|
|
|
|
</snapshots>
|
|
|
|
|
</pluginRepository>
|
|
|
|
|
</pluginRepositories>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|