2017-02-24 06:57:32 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2017-02-24 06:50:46 -05:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2017-09-13 22:03:44 -04: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>
|
|
|
|
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>spring-5</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<name>spring-5</name>
|
|
|
|
<description>spring 5 sample project about new features</description>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
2017-12-06 05:00:56 -05:00
|
|
|
<version>2.0.0.M7</version>
|
2017-09-13 22:03:44 -04:00
|
|
|
<relativePath /> <!-- lookup parent from repository -->
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-webflux</artifactId>
|
|
|
|
</dependency>
|
2018-01-07 10:05:18 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-hateoas</artifactId>
|
|
|
|
</dependency>
|
2017-09-13 22:03:44 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectreactor</groupId>
|
|
|
|
<artifactId>reactor-spring</artifactId>
|
|
|
|
<version>${reactor-spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.json.bind</groupId>
|
|
|
|
<artifactId>javax.json.bind-api</artifactId>
|
|
|
|
<version>${jsonb-api.version}</version>
|
|
|
|
</dependency>
|
2017-11-09 22:53:43 -05:00
|
|
|
<!-- Dependencies for Yasson -->
|
|
|
|
<!-- <dependency> -->
|
|
|
|
<!-- <groupId>org.eclipse</groupId> -->
|
|
|
|
<!-- <artifactId>yasson</artifactId> -->
|
|
|
|
<!-- <version>1.0</version> -->
|
|
|
|
<!-- </dependency> -->
|
|
|
|
<!-- <dependency> -->
|
|
|
|
<!-- <groupId>org.glassfish</groupId> -->
|
|
|
|
<!-- <artifactId>javax.json</artifactId> -->
|
|
|
|
<!-- <version>1.1.2</version> -->
|
|
|
|
<!-- </dependency> -->
|
|
|
|
<!-- Dependencies for Johnzon -->
|
2017-09-13 22:03:44 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
|
|
<artifactId>geronimo-json_1.1_spec</artifactId>
|
|
|
|
<version>${geronimo-json_1.1_spec.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.johnzon</groupId>
|
|
|
|
<artifactId>johnzon-jsonb</artifactId>
|
|
|
|
<version>${johnzon.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- utils -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</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>
|
2017-11-17 13:41:59 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-09-13 22:03:44 -04:00
|
|
|
|
2017-11-09 22:53:43 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-collections4</artifactId>
|
|
|
|
<version>4.1</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2017-09-13 22:03:44 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
|
|
<version>${junit.jupiter.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
|
|
<version>${junit.jupiter.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.platform</groupId>
|
|
|
|
<artifactId>junit-platform-surefire-provider</artifactId>
|
|
|
|
<version>${junit.platform.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.platform</groupId>
|
|
|
|
<artifactId>junit-platform-runner</artifactId>
|
|
|
|
<version>${junit.platform.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-01-07 10:09:37 -05:00
|
|
|
<!-- restdocs -->
|
|
|
|
<dependency>
|
2018-01-07 10:05:18 -05:00
|
|
|
<groupId>org.springframework.restdocs</groupId>
|
|
|
|
<artifactId>spring-restdocs-mockmvc</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.restdocs</groupId>
|
|
|
|
<artifactId>spring-restdocs-webtestclient</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.restdocs</groupId>
|
|
|
|
<artifactId>spring-restdocs-restassured</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2017-09-13 22:03:44 -04:00
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<mainClass>com.baeldung.Spring5Application</mainClass>
|
|
|
|
<layout>JAR</layout>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<forkCount>3</forkCount>
|
|
|
|
<reuseForks>true</reuseForks>
|
|
|
|
<parallel>methods</parallel>
|
|
|
|
<useUnlimitedThreads>true</useUnlimitedThreads>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*IntegrationTest.java</exclude>
|
|
|
|
<exclude>**/*LiveTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-01-07 10:09:37 -05:00
|
|
|
<plugin>
|
2018-01-07 10:05:18 -05:00
|
|
|
<groupId>org.asciidoctor</groupId>
|
|
|
|
<artifactId>asciidoctor-maven-plugin</artifactId>
|
|
|
|
<version>${asciidoctor-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generate-docs</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>process-asciidoc</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<backend>html</backend>
|
|
|
|
<doctype>book</doctype>
|
|
|
|
<attributes>
|
|
|
|
<snippets>${snippetsDirectory}</snippets>
|
|
|
|
</attributes>
|
|
|
|
<sourceDirectory>src/docs/asciidocs</sourceDirectory>
|
|
|
|
<outputDirectory>target/generated-docs</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2017-09-13 22:03:44 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>spring-milestones</id>
|
|
|
|
<name>Spring Milestones</name>
|
|
|
|
<url>https://repo.spring.io/milestone</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>spring-milestones</id>
|
|
|
|
<name>Spring Milestones</name>
|
|
|
|
<url>https://repo.spring.io/milestone</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<java.version>1.8</java.version>
|
2017-10-02 09:14:27 -04:00
|
|
|
<junit.platform.version>1.0.0</junit.platform.version>
|
|
|
|
<junit.jupiter.version>5.0.0</junit.jupiter.version>
|
2017-09-13 22:03:44 -04:00
|
|
|
<maven-surefire-plugin.version>2.20</maven-surefire-plugin.version>
|
2017-12-29 01:51:12 -05:00
|
|
|
<spring.version>5.0.2.RELEASE</spring.version>
|
2017-09-13 22:03:44 -04:00
|
|
|
<reactor-spring.version>1.0.1.RELEASE</reactor-spring.version>
|
|
|
|
<johnzon.version>1.1.3</johnzon.version>
|
|
|
|
<jsonb-api.version>1.0</jsonb-api.version>
|
|
|
|
<geronimo-json_1.1_spec.version>1.0</geronimo-json_1.1_spec.version>
|
2018-01-07 10:05:18 -05:00
|
|
|
<asciidoctor-plugin.version>1.5.6</asciidoctor-plugin.version>
|
|
|
|
<snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory>
|
2017-09-13 22:03:44 -04:00
|
|
|
</properties>
|
2017-02-24 06:50:46 -05:00
|
|
|
|
|
|
|
</project>
|