2019-10-31 21:43:47 -04:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
2019-12-05 09:56:52 -05:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>parent-kotlin</artifactId>
|
|
|
|
<name>parent-kotlin</name>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<description>Parent for all kotlin modules</description>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
2019-12-05 09:56:52 -05:00
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-modules</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
2019-12-05 09:56:52 -05:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>jcenter</id>
|
|
|
|
<url>http://jcenter.bintray.com</url>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>kotlin-ktor</id>
|
|
|
|
<url>https://dl.bintray.com/kotlin/ktor/</url>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>kotlin-eap</id>
|
|
|
|
<url>http://dl.bintray.com/kotlin/kotlin-eap</url>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>spring-milestone</id>
|
|
|
|
<name>Spring Milestone Repository</name>
|
|
|
|
<url>http://repo.spring.io/milestone</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
2019-12-05 09:56:52 -05:00
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>kotlin-eap</id>
|
|
|
|
<url>http://dl.bintray.com/kotlin/kotlin-eap</url>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
2019-12-05 09:56:52 -05:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
<version>2.2.0.M4</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
2019-12-05 09:56:52 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-stdlib</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-reflect</artifactId>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
2019-12-05 09:56:52 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlinx</groupId>
|
|
|
|
<artifactId>kotlinx-coroutines-core</artifactId>
|
|
|
|
<version>${kotlinx.version}</version>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
2019-12-05 09:56:52 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.ktor</groupId>
|
|
|
|
<artifactId>ktor-server-netty</artifactId>
|
|
|
|
<version>${ktor.io.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.ktor</groupId>
|
|
|
|
<artifactId>ktor-gson</artifactId>
|
|
|
|
<version>${ktor.io.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.module</groupId>
|
|
|
|
<artifactId>jackson-module-kotlin</artifactId>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
2019-12-05 09:56:52 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-test-junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
2019-12-05 09:56:52 -05:00
|
|
|
</dependencies>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
2019-12-05 09:56:52 -05:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>compile</id>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sourceDirs>
|
|
|
|
<sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
|
|
|
|
<sourceDir>${project.basedir}/src/main/java</sourceDir>
|
|
|
|
</sourceDirs>
|
|
|
|
<jvmTarget>${java.version}</jvmTarget>
|
|
|
|
<args>
|
|
|
|
<arg>-Xjvm-default=enable</arg>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>test-compile</id>
|
|
|
|
<goals>
|
|
|
|
<goal>test-compile</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sourceDirs>
|
|
|
|
<sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
|
|
|
|
<sourceDir>${project.basedir}/src/test/java</sourceDir>
|
|
|
|
</sourceDirs>
|
|
|
|
<jvmTarget>${java.version}</jvmTarget>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<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>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${java.version}</source>
|
|
|
|
<target>${java.version}</target>
|
|
|
|
</configuration>
|
|
|
|
<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>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>java-compile</id>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>java-test-compile</id>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>testCompile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<version>${maven-failsafe-plugin.version}</version>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.platform</groupId>
|
|
|
|
<artifactId>junit-platform-surefire-provider</artifactId>
|
|
|
|
<version>${junit.platform.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>junit5</id>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>**/*Test5.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<kotlin.version>1.3.30</kotlin.version>
|
|
|
|
<kotlinx.version>1.0.0</kotlinx.version>
|
|
|
|
<ktor.io.version>0.9.5</ktor.io.version>
|
|
|
|
<assertj.version>3.12.0</assertj.version>
|
|
|
|
<junit.platform.version>1.3.2</junit.platform.version>
|
|
|
|
</properties>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
|
|
|
</project>
|