180 lines
6.9 KiB
XML
180 lines
6.9 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>be.vandewalleh</groupId>
|
|
<artifactId>api</artifactId>
|
|
<version>0.0.1</version>
|
|
<name>api</name>
|
|
<properties>
|
|
<ktor_version>1.3.2</ktor_version>
|
|
<kotlin.code.style>official</kotlin.code.style>
|
|
<kotlin_version>1.3.70</kotlin_version>
|
|
<logback_version>1.2.1</logback_version>
|
|
<junit_version>5.6.2</junit_version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<kotlin.compiler.incremental>true</kotlin.compiler.incremental>
|
|
<kotlin.compiler.jvmTarget>12</kotlin.compiler.jvmTarget>
|
|
<main.class>io.ktor.server.netty.EngineMain</main.class>
|
|
<java.version>13</java.version>
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
</properties>
|
|
<repositories>
|
|
<repository>
|
|
<id>jcenter</id>
|
|
<url>https://jcenter.bintray.com</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>ktor</id>
|
|
<url>https://kotlin.bintray.com/ktor</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
|
<version>${kotlin_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.ktor</groupId>
|
|
<artifactId>ktor-server-netty</artifactId>
|
|
<version>${ktor_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>${logback_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.ktor</groupId>
|
|
<artifactId>ktor-server-core</artifactId>
|
|
<version>${ktor_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.ktor</groupId>
|
|
<artifactId>ktor-locations</artifactId>
|
|
<version>${ktor_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.ktor</groupId>
|
|
<artifactId>ktor-jackson</artifactId>
|
|
<version>${ktor_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.ktor</groupId>
|
|
<artifactId>ktor-client-core</artifactId>
|
|
<version>${ktor_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.ktor</groupId>
|
|
<artifactId>ktor-client-core-jvm</artifactId>
|
|
<version>${ktor_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>${junit_version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-params</artifactId>
|
|
<version>${junit_version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<sourceDirectory>${project.basedir}/src</sourceDirectory>
|
|
<testSourceDirectory>${project.basedir}/test</testSourceDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>${project.basedir}/resources</directory>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<includes>
|
|
<include>Test*</include>
|
|
<include>*Test</include>
|
|
</includes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>13</source>
|
|
<target>13</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<version>${kotlin_version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>compile</id>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
</goals>
|
|
<configuration>
|
|
<experimentalCoroutines>enable</experimentalCoroutines>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>test-compile</id>
|
|
<goals>
|
|
<goal>test-compile</goal>
|
|
</goals>
|
|
<configuration>
|
|
<experimentalCoroutines>enable</experimentalCoroutines>
|
|
<sourceDirs>
|
|
<sourceDir>${project.basedir}/src/test</sourceDir>
|
|
</sourceDirs>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.6</version>
|
|
<executions>
|
|
<execution>
|
|
<id>make-assembly</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>${main.class}</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|