2017-05-29 08:13:41 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2019-07-13 09:36:16 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2018-07-12 03:04:54 -04:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2018-04-26 08:37:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>spring-5-mvc</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<name>spring-5-mvc</name>
|
|
|
|
<description>spring 5 MVC sample project about new features</description>
|
2019-02-09 15:17:19 -05:00
|
|
|
<packaging>jar</packaging>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<parent>
|
2018-06-02 10:44:15 -04:00
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-boot-2</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<relativePath>../parent-boot-2</relativePath>
|
2018-04-26 08:37:47 -04:00
|
|
|
<!-- lookup parent from repository -->
|
|
|
|
</parent>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- utils -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--kotlin deps -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-stdlib-jre8</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-reflect</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.module</groupId>
|
|
|
|
<artifactId>jackson-module-kotlin</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- runtime and test scoped -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.jayway.restassured</groupId>
|
|
|
|
<artifactId>rest-assured</artifactId>
|
2018-06-02 10:44:15 -04:00
|
|
|
<version>${jayway-rest-assured.version}</version>
|
2018-04-26 08:37:47 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2018-04-26 02:50:35 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<build>
|
|
|
|
<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>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<compilerPlugins>
|
|
|
|
<plugin>spring</plugin>
|
|
|
|
</compilerPlugins>
|
2018-07-12 03:04:54 -04:00
|
|
|
<jvmTarget>${java.version}</jvmTarget>
|
2018-04-26 08:37:47 -04:00
|
|
|
</configuration>
|
|
|
|
<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>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-maven-allopen</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
2019-07-13 09:36:16 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>${basedir}/src/main/java</source>
|
|
|
|
<source>${basedir}/src/main/kotlin</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>test-compile</id>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>add-test-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>${basedir}/src/test/java</source>
|
|
|
|
<source>${basedir}/src/test/kotlin</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-04-26 08:37:47 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2019-07-13 09:36:16 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<properties>
|
2018-06-02 10:44:15 -04:00
|
|
|
<jayway-rest-assured.version>2.9.0</jayway-rest-assured.version>
|
2018-04-26 08:37:47 -04:00
|
|
|
<kotlin.version>1.1.2</kotlin.version>
|
2019-07-13 09:36:16 -04:00
|
|
|
<start-class>com.baeldung.Spring5Application</start-class>
|
2018-04-26 08:37:47 -04:00
|
|
|
</properties>
|
2017-05-29 08:13:41 -04:00
|
|
|
</project>
|