2017-08-18 23:08:06 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
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>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-modules</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>spring-mvc-kotlin</artifactId>
|
|
|
|
<version>0.1-SNAPSHOT</version>
|
|
|
|
|
|
|
|
<name>spring-mvc-kotlin</name>
|
|
|
|
|
|
|
|
<packaging>war</packaging>
|
|
|
|
|
2018-02-22 03:52:40 -05:00
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2018-03-19 20:28:37 -04:00
|
|
|
<hibernate.version>5.2.15.Final</hibernate.version>
|
2018-03-08 06:31:06 -05:00
|
|
|
<kotlin.version>1.2.30</kotlin.version>
|
2018-02-22 03:52:40 -05:00
|
|
|
<spring.version>4.3.10.RELEASE</spring.version>
|
|
|
|
<thymeleaf.version>3.0.7.RELEASE</thymeleaf.version>
|
|
|
|
<h2.version>1.4.196</h2.version>
|
|
|
|
</properties>
|
|
|
|
|
2017-08-18 23:08:06 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
2018-02-22 03:52:40 -05:00
|
|
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
2017-08-18 23:08:06 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-web</artifactId>
|
2018-02-22 03:52:40 -05:00
|
|
|
<version>${spring.version}</version>
|
2017-08-18 23:08:06 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-webmvc</artifactId>
|
2018-02-22 03:52:40 -05:00
|
|
|
<version>${spring.version}</version>
|
2017-08-18 23:08:06 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2017-08-25 14:33:03 -04:00
|
|
|
<groupId>org.thymeleaf</groupId>
|
|
|
|
<artifactId>thymeleaf</artifactId>
|
2018-02-22 03:52:40 -05:00
|
|
|
<version>${thymeleaf.version}</version>
|
2017-08-25 14:33:03 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.thymeleaf</groupId>
|
|
|
|
<artifactId>thymeleaf-spring4</artifactId>
|
2018-02-22 03:52:40 -05:00
|
|
|
<version>${thymeleaf.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-core</artifactId>
|
|
|
|
<version>${hibernate.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-testing</artifactId>
|
|
|
|
<version>${hibernate.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<version>${h2.version}</version>
|
|
|
|
<scope>test</scope>
|
2017-08-18 23:08:06 -04:00
|
|
|
</dependency>
|
2017-09-12 06:05:06 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
2018-02-22 03:52:40 -05:00
|
|
|
<version>${spring.version}</version>
|
2017-09-12 06:05:06 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-08-18 23:08:06 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
|
|
|
|
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
2018-02-22 03:52:40 -05:00
|
|
|
<version>${kotlin.version}</version>
|
2017-09-12 06:05:06 -04:00
|
|
|
<configuration>
|
|
|
|
<compilerPlugins>
|
|
|
|
<plugin>spring</plugin>
|
2018-02-22 03:52:40 -05:00
|
|
|
<plugin>jpa</plugin>
|
2017-09-12 06:05:06 -04:00
|
|
|
</compilerPlugins>
|
|
|
|
<jvmTarget>1.8</jvmTarget>
|
|
|
|
</configuration>
|
2017-08-18 23:08:06 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>compile</id>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>test-compile</id>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test-compile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2017-09-12 06:05:06 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-maven-allopen</artifactId>
|
2018-02-22 03:52:40 -05:00
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-maven-noarg</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
2017-09-12 06:05:06 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2017-08-18 23:08:06 -04:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|