BAEL-1533 session attributes in spring mvc
* updated spring boot dependency to 2.0.0.RELEASE
This commit is contained in:
parent
00f5648b39
commit
d69d08a589
469
spring-5/pom.xml
469
spring-5/pom.xml
|
@ -1,254 +1,215 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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"
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.baeldung</groupId>
|
<groupId>com.baeldung</groupId>
|
||||||
<artifactId>spring-5</artifactId>
|
<artifactId>spring-5</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>spring-5</name>
|
<name>spring-5</name>
|
||||||
<description>spring 5 sample project about new features</description>
|
<description>spring 5 sample project about new features</description>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>2.0.0.RC2</version>
|
<version>2.0.0.RELEASE</version>
|
||||||
<relativePath /> <!-- lookup parent from repository -->
|
<relativePath /> <!-- lookup parent from repository -->
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-security</artifactId>
|
<artifactId>spring-boot-starter-security</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-validation</artifactId>
|
<artifactId>spring-boot-starter-validation</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-web</artifactId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-webflux</artifactId>
|
<artifactId>spring-boot-starter-webflux</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-hateoas</artifactId>
|
<artifactId>spring-boot-starter-hateoas</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.projectreactor</groupId>
|
<groupId>org.projectreactor</groupId>
|
||||||
<artifactId>reactor-spring</artifactId>
|
<artifactId>reactor-spring</artifactId>
|
||||||
<version>${reactor-spring.version}</version>
|
<version>${reactor-spring.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax.json.bind</groupId>
|
<groupId>javax.json.bind</groupId>
|
||||||
<artifactId>javax.json.bind-api</artifactId>
|
<artifactId>javax.json.bind-api</artifactId>
|
||||||
<version>${jsonb-api.version}</version>
|
</dependency>
|
||||||
</dependency>
|
<dependency>
|
||||||
<!-- Dependencies for Yasson -->
|
<groupId>org.apache.geronimo.specs</groupId>
|
||||||
<!-- <dependency> -->
|
<artifactId>geronimo-json_1.1_spec</artifactId>
|
||||||
<!-- <groupId>org.eclipse</groupId> -->
|
<version>${geronimo-json_1.1_spec.version}</version>
|
||||||
<!-- <artifactId>yasson</artifactId> -->
|
</dependency>
|
||||||
<!-- <version>1.0</version> -->
|
<dependency>
|
||||||
<!-- </dependency> -->
|
<groupId>org.apache.johnzon</groupId>
|
||||||
<!-- <dependency> -->
|
<artifactId>johnzon-jsonb</artifactId>
|
||||||
<!-- <groupId>org.glassfish</groupId> -->
|
<version>${johnzon.version}</version>
|
||||||
<!-- <artifactId>javax.json</artifactId> -->
|
</dependency>
|
||||||
<!-- <version>1.1.2</version> -->
|
<!-- utils -->
|
||||||
<!-- </dependency> -->
|
<dependency>
|
||||||
<!-- Dependencies for Johnzon -->
|
<groupId>org.apache.commons</groupId>
|
||||||
<dependency>
|
<artifactId>commons-lang3</artifactId>
|
||||||
<groupId>org.apache.geronimo.specs</groupId>
|
</dependency>
|
||||||
<artifactId>geronimo-json_1.1_spec</artifactId>
|
|
||||||
<version>${geronimo-json_1.1_spec.version}</version>
|
<!-- runtime and test scoped -->
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.johnzon</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>johnzon-jsonb</artifactId>
|
<artifactId>spring-boot-devtools</artifactId>
|
||||||
<version>${johnzon.version}</version>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- utils -->
|
<dependency>
|
||||||
<dependency>
|
<groupId>com.h2database</groupId>
|
||||||
<groupId>org.apache.commons</groupId>
|
<artifactId>h2</artifactId>
|
||||||
<artifactId>commons-lang3</artifactId>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- runtime and test scoped -->
|
<dependency>
|
||||||
|
<groupId>org.springframework</groupId>
|
||||||
<dependency>
|
<artifactId>spring-test</artifactId>
|
||||||
<groupId>org.springframework.boot</groupId>
|
</dependency>
|
||||||
<artifactId>spring-boot-devtools</artifactId>
|
<dependency>
|
||||||
<scope>runtime</scope>
|
<groupId>org.springframework.boot</groupId>
|
||||||
</dependency>
|
<artifactId>spring-boot-starter-test</artifactId>
|
||||||
<dependency>
|
<scope>test</scope>
|
||||||
<groupId>com.h2database</groupId>
|
</dependency>
|
||||||
<artifactId>h2</artifactId>
|
<dependency>
|
||||||
<scope>runtime</scope>
|
<groupId>org.springframework.security</groupId>
|
||||||
</dependency>
|
<artifactId>spring-security-test</artifactId>
|
||||||
|
<scope>test</scope>
|
||||||
<dependency>
|
</dependency>
|
||||||
<groupId>org.springframework</groupId>
|
|
||||||
<artifactId>spring-test</artifactId>
|
<dependency>
|
||||||
</dependency>
|
<groupId>org.apache.commons</groupId>
|
||||||
<dependency>
|
<artifactId>commons-collections4</artifactId>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<version>4.1</version>
|
||||||
<artifactId>spring-boot-starter-test</artifactId>
|
<scope>test</scope>
|
||||||
<scope>test</scope>
|
</dependency>
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.security</groupId>
|
<groupId>org.junit.jupiter</groupId>
|
||||||
<artifactId>spring-security-test</artifactId>
|
<artifactId>junit-jupiter-api</artifactId>
|
||||||
<scope>test</scope>
|
</dependency>
|
||||||
</dependency>
|
<dependency>
|
||||||
|
<groupId>org.junit.jupiter</groupId>
|
||||||
<dependency>
|
<artifactId>junit-jupiter-engine</artifactId>
|
||||||
<groupId>org.apache.commons</groupId>
|
<scope>test</scope>
|
||||||
<artifactId>commons-collections4</artifactId>
|
</dependency>
|
||||||
<version>4.1</version>
|
<dependency>
|
||||||
<scope>test</scope>
|
<groupId>org.junit.platform</groupId>
|
||||||
</dependency>
|
<artifactId>junit-platform-surefire-provider</artifactId>
|
||||||
|
<version>${junit.platform.version}</version>
|
||||||
<dependency>
|
<scope>test</scope>
|
||||||
<groupId>org.junit.jupiter</groupId>
|
</dependency>
|
||||||
<artifactId>junit-jupiter-api</artifactId>
|
<dependency>
|
||||||
<version>${junit.jupiter.version}</version>
|
<groupId>org.junit.platform</groupId>
|
||||||
</dependency>
|
<artifactId>junit-platform-runner</artifactId>
|
||||||
<dependency>
|
<version>${junit.platform.version}</version>
|
||||||
<groupId>org.junit.jupiter</groupId>
|
<scope>test</scope>
|
||||||
<artifactId>junit-jupiter-engine</artifactId>
|
</dependency>
|
||||||
<version>${junit.jupiter.version}</version>
|
<!-- restdocs -->
|
||||||
<scope>test</scope>
|
<dependency>
|
||||||
</dependency>
|
<groupId>org.springframework.restdocs</groupId>
|
||||||
<dependency>
|
<artifactId>spring-restdocs-mockmvc</artifactId>
|
||||||
<groupId>org.junit.platform</groupId>
|
<scope>test</scope>
|
||||||
<artifactId>junit-platform-surefire-provider</artifactId>
|
</dependency>
|
||||||
<version>${junit.platform.version}</version>
|
<dependency>
|
||||||
<scope>test</scope>
|
<groupId>org.springframework.restdocs</groupId>
|
||||||
</dependency>
|
<artifactId>spring-restdocs-webtestclient</artifactId>
|
||||||
<dependency>
|
<scope>test</scope>
|
||||||
<groupId>org.junit.platform</groupId>
|
</dependency>
|
||||||
<artifactId>junit-platform-runner</artifactId>
|
<dependency>
|
||||||
<version>${junit.platform.version}</version>
|
<groupId>org.springframework.restdocs</groupId>
|
||||||
<scope>test</scope>
|
<artifactId>spring-restdocs-restassured</artifactId>
|
||||||
</dependency>
|
<scope>test</scope>
|
||||||
<!-- restdocs -->
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>org.springframework.restdocs</groupId>
|
|
||||||
<artifactId>spring-restdocs-mockmvc</artifactId>
|
</dependencies>
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
<build>
|
||||||
<dependency>
|
<plugins>
|
||||||
<groupId>org.springframework.restdocs</groupId>
|
<plugin>
|
||||||
<artifactId>spring-restdocs-webtestclient</artifactId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<scope>test</scope>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
</dependency>
|
<configuration>
|
||||||
<dependency>
|
<mainClass>com.baeldung.Spring5Application</mainClass>
|
||||||
<groupId>org.springframework.restdocs</groupId>
|
<layout>JAR</layout>
|
||||||
<artifactId>spring-restdocs-restassured</artifactId>
|
</configuration>
|
||||||
<scope>test</scope>
|
</plugin>
|
||||||
</dependency>
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
</dependencies>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
<build>
|
<forkCount>3</forkCount>
|
||||||
<plugins>
|
<reuseForks>true</reuseForks>
|
||||||
<plugin>
|
<parallel>methods</parallel>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<useUnlimitedThreads>true</useUnlimitedThreads>
|
||||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
<excludes>
|
||||||
<configuration>
|
<exclude>**/*IntegrationTest.java</exclude>
|
||||||
<mainClass>com.baeldung.Spring5Application</mainClass>
|
<exclude>**/*LiveTest.java</exclude>
|
||||||
<layout>JAR</layout>
|
</excludes>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
<plugin>
|
<groupId>org.asciidoctor</groupId>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>asciidoctor-maven-plugin</artifactId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<version>${asciidoctor-plugin.version}</version>
|
||||||
<configuration>
|
<executions>
|
||||||
<forkCount>3</forkCount>
|
<execution>
|
||||||
<reuseForks>true</reuseForks>
|
<id>generate-docs</id>
|
||||||
<parallel>methods</parallel>
|
<phase>package</phase>
|
||||||
<useUnlimitedThreads>true</useUnlimitedThreads>
|
<goals>
|
||||||
<excludes>
|
<goal>process-asciidoc</goal>
|
||||||
<exclude>**/*IntegrationTest.java</exclude>
|
</goals>
|
||||||
<exclude>**/*LiveTest.java</exclude>
|
<configuration>
|
||||||
</excludes>
|
<backend>html</backend>
|
||||||
</configuration>
|
<doctype>book</doctype>
|
||||||
</plugin>
|
<attributes>
|
||||||
<plugin>
|
<snippets>${snippetsDirectory}</snippets>
|
||||||
<groupId>org.asciidoctor</groupId>
|
</attributes>
|
||||||
<artifactId>asciidoctor-maven-plugin</artifactId>
|
<sourceDirectory>src/docs/asciidocs</sourceDirectory>
|
||||||
<version>${asciidoctor-plugin.version}</version>
|
<outputDirectory>target/generated-docs</outputDirectory>
|
||||||
<executions>
|
</configuration>
|
||||||
<execution>
|
</execution>
|
||||||
<id>generate-docs</id>
|
</executions>
|
||||||
<phase>package</phase>
|
</plugin>
|
||||||
<goals>
|
</plugins>
|
||||||
<goal>process-asciidoc</goal>
|
</build>
|
||||||
</goals>
|
|
||||||
<configuration>
|
<properties>
|
||||||
<backend>html</backend>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<doctype>book</doctype>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<attributes>
|
<java.version>1.8</java.version>
|
||||||
<snippets>${snippetsDirectory}</snippets>
|
<junit.platform.version>1.0.0</junit.platform.version>
|
||||||
</attributes>
|
<maven-surefire-plugin.version>2.20</maven-surefire-plugin.version>
|
||||||
<sourceDirectory>src/docs/asciidocs</sourceDirectory>
|
<reactor-spring.version>1.0.1.RELEASE</reactor-spring.version>
|
||||||
<outputDirectory>target/generated-docs</outputDirectory>
|
<johnzon.version>1.1.3</johnzon.version>
|
||||||
</configuration>
|
<geronimo-json_1.1_spec.version>1.0</geronimo-json_1.1_spec.version>
|
||||||
</execution>
|
<asciidoctor-plugin.version>1.5.6</asciidoctor-plugin.version>
|
||||||
</executions>
|
<snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory>
|
||||||
</plugin>
|
</properties>
|
||||||
</plugins>
|
|
||||||
</build>
|
</project>
|
||||||
|
|
||||||
<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>
|
|
||||||
<junit.platform.version>1.0.0</junit.platform.version>
|
|
||||||
<junit.jupiter.version>5.0.0</junit.jupiter.version>
|
|
||||||
<maven-surefire-plugin.version>2.20</maven-surefire-plugin.version>
|
|
||||||
<spring.version>5.0.2.RELEASE</spring.version>
|
|
||||||
<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>
|
|
||||||
<asciidoctor-plugin.version>1.5.6</asciidoctor-plugin.version>
|
|
||||||
<snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory>
|
|
||||||
</properties>
|
|
||||||
|
|
||||||
</project>
|
|
||||||
|
|
Loading…
Reference in New Issue