2018-03-10 07:06:26 -05:00
|
|
|
<?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"
|
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</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>spring-5</name>
|
|
|
|
<description>spring 5 sample project about new features</description>
|
2018-03-10 07:06:26 -05: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
|
|
|
</parent>
|
2018-03-10 07:06:26 -05: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>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-webflux</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-hateoas</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<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>
|
|
|
|
</dependency>
|
|
|
|
<!-- 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 -->
|
|
|
|
<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>
|
|
|
|
</dependency>
|
|
|
|
<!-- utils -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
</dependency>
|
2018-03-10 07:06:26 -05:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<!-- runtime and test scoped -->
|
2018-03-10 07:06:26 -05:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<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>
|
2018-03-10 07:06:26 -05:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<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>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-03-10 07:06:26 -05:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-collections4</artifactId>
|
2018-07-12 03:04:54 -04:00
|
|
|
<version>${commons-collections4.version}</version>
|
2018-04-26 08:37:47 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-03-10 07:06:26 -05:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
|
|
<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>
|
|
|
|
<!-- restdocs -->
|
|
|
|
<dependency>
|
|
|
|
<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>
|
|
|
|
</dependencies>
|
2018-03-10 07:06:26 -05:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<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>
|
2018-03-10 07:06:26 -05:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<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>
|
2018-06-22 07:09:57 -04:00
|
|
|
<exclude>**/*IntTest.java</exclude>
|
2018-04-26 08:37:47 -04:00
|
|
|
<exclude>**/*LiveTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<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>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2018-03-10 07:06:26 -05:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<properties>
|
|
|
|
<junit.platform.version>1.0.0</junit.platform.version>
|
|
|
|
<spring.version>5.0.2.RELEASE</spring.version>
|
|
|
|
<reactor-spring.version>1.0.1.RELEASE</reactor-spring.version>
|
|
|
|
<geronimo-json_1.1_spec.version>1.0</geronimo-json_1.1_spec.version>
|
|
|
|
<asciidoctor-plugin.version>1.5.6</asciidoctor-plugin.version>
|
2018-07-12 03:04:54 -04:00
|
|
|
<commons-collections4.version>4.1</commons-collections4.version>
|
2018-04-26 08:37:47 -04:00
|
|
|
<snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory>
|
|
|
|
</properties>
|
2018-03-10 07:06:26 -05:00
|
|
|
|
|
|
|
</project>
|