2018-09-15 12:23:21 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2018-10-03 11:35:15 +01:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2018-09-15 12:23:21 +01:00
|
|
|
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>
|
|
|
|
|
2018-10-03 11:35:15 +01:00
|
|
|
<groupId>uk.co.neviyn</groupId>
|
|
|
|
<artifactId>observationdatabase</artifactId>
|
|
|
|
<version>PRE-ALPHA</version>
|
2018-09-15 12:23:21 +01:00
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
2018-10-03 11:35:15 +01:00
|
|
|
<name>observationdatabase</name>
|
|
|
|
<description>Training observation database</description>
|
|
|
|
|
2018-09-15 12:23:21 +01:00
|
|
|
<parent>
|
2018-10-03 11:35:15 +01:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
<version>2.0.5.RELEASE</version>
|
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
2018-09-15 12:23:21 +01:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<java.version>1.8</java.version>
|
2018-10-03 11:35:15 +01:00
|
|
|
<kotlin.version>1.2.71</kotlin.version>
|
2018-09-15 12:23:21 +01:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2018-10-03 11:35:15 +01:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
2018-09-15 12:23:21 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2018-10-03 11:35:15 +01:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
2018-09-15 12:23:21 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2018-10-03 11:35:15 +01:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
2018-09-15 12:23:21 +01:00
|
|
|
</dependency>
|
2018-09-15 14:16:17 +01:00
|
|
|
<dependency>
|
2018-10-03 11:35:15 +01:00
|
|
|
<groupId>com.fasterxml.jackson.module</groupId>
|
|
|
|
<artifactId>jackson-module-kotlin</artifactId>
|
2018-09-15 14:16:17 +01:00
|
|
|
</dependency>
|
2018-09-21 12:03:21 +01:00
|
|
|
<dependency>
|
2018-10-03 11:35:15 +01:00
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
2018-09-21 12:03:21 +01:00
|
|
|
</dependency>
|
2018-09-18 13:18:24 +01:00
|
|
|
<dependency>
|
2018-10-03 11:35:15 +01:00
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-reflect</artifactId>
|
2018-09-18 13:18:24 +01:00
|
|
|
</dependency>
|
2018-10-03 11:35:15 +01:00
|
|
|
|
2018-09-18 13:18:24 +01:00
|
|
|
<dependency>
|
2018-10-03 11:35:15 +01:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
|
<scope>runtime</scope>
|
2018-09-18 13:18:24 +01:00
|
|
|
</dependency>
|
2018-09-15 14:16:17 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
2018-10-03 11:35:15 +01:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>joda-time</groupId>
|
|
|
|
<artifactId>joda-time</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
2018-09-15 14:16:17 +01:00
|
|
|
</dependency>
|
2018-09-15 12:23:21 +01:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2018-10-03 11:35:15 +01:00
|
|
|
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
|
|
|
|
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
|
2018-09-15 12:23:21 +01:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2018-10-03 11:35:15 +01:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
2018-09-15 12:23:21 +01:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2018-10-03 11:35:15 +01:00
|
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
2018-09-15 12:23:21 +01:00
|
|
|
<configuration>
|
2018-10-03 11:35:15 +01:00
|
|
|
<args>
|
|
|
|
<arg>-Xjsr305=strict</arg>
|
|
|
|
</args>
|
|
|
|
<compilerPlugins>
|
|
|
|
<plugin>spring</plugin>
|
|
|
|
<plugin>jpa</plugin>
|
|
|
|
</compilerPlugins>
|
2018-09-15 12:23:21 +01:00
|
|
|
</configuration>
|
2018-10-03 11:35:15 +01:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-maven-allopen</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-maven-noarg</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2018-09-15 12:23:21 +01:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2018-10-03 11:35:15 +01:00
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy Vue.js frontend content</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>src/main/resources/static</outputDirectory>
|
|
|
|
<overwrite>true</overwrite>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>../frontend/target/dist</directory>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*.map</exclude>
|
|
|
|
</excludes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>src/main/resources/static</directory>
|
|
|
|
<followSymlinks>false</followSymlinks>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2018-09-15 12:23:21 +01:00
|
|
|
</build>
|
|
|
|
</project>
|