Skip to content

Commit 55dc9a7

Browse files
author
eugenp
committed
spring 5 work
1 parent 966d2ea commit 55dc9a7

4 files changed

Lines changed: 233 additions & 207 deletions

File tree

‎spring-5/pom.xml‎

Lines changed: 165 additions & 163 deletions
Original file line numberDiff line numberDiff line change
@@ -1,180 +1,182 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4-
<modelVersion>4.0.0</modelVersion>
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
55

6-
<groupId>com.baeldung</groupId>
7-
<artifactId>spring-5</artifactId>
8-
<version>0.0.1-SNAPSHOT</version>
9-
<packaging>jar</packaging>
6+
<groupId>com.baeldung</groupId>
7+
<artifactId>spring-5</artifactId>
8+
<version>0.0.1-SNAPSHOT</version>
9+
<packaging>jar</packaging>
1010

11-
<name>spring-5</name>
12-
<description>spring 5 sample project about new features</description>
11+
<name>spring-5</name>
12+
<description>spring 5 sample project about new features</description>
1313

14-
<parent>
15-
<groupId>org.springframework.boot</groupId>
16-
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>2.0.0.BUILD-SNAPSHOT</version>
18-
<relativePath/> <!-- lookup parent from repository -->
19-
</parent>
14+
<parent>
15+
<groupId>org.springframework.boot</groupId>
16+
<artifactId>spring-boot-starter-parent</artifactId>
17+
<version>2.0.0.BUILD-SNAPSHOT</version>
18+
<relativePath /> <!-- lookup parent from repository -->
19+
</parent>
2020

21-
<dependencies>
22-
<dependency>
23-
<groupId>org.springframework.boot</groupId>
24-
<artifactId>spring-boot-starter-data-jpa</artifactId>
25-
</dependency>
26-
<dependency>
27-
<groupId>org.springframework.boot</groupId>
28-
<artifactId>spring-boot-starter-security</artifactId>
29-
</dependency>
30-
<dependency>
31-
<groupId>org.springframework.boot</groupId>
32-
<artifactId>spring-boot-starter-validation</artifactId>
33-
</dependency>
34-
<dependency>
35-
<groupId>org.springframework.boot</groupId>
36-
<artifactId>spring-boot-starter-web</artifactId>
37-
</dependency>
38-
<dependency>
39-
<groupId>org.springframework.boot</groupId>
40-
<artifactId>spring-boot-starter-webflux</artifactId>
41-
</dependency>
21+
<dependencies>
22+
<dependency>
23+
<groupId>org.springframework.boot</groupId>
24+
<artifactId>spring-boot-starter-data-jpa</artifactId>
25+
</dependency>
26+
<dependency>
27+
<groupId>org.springframework.boot</groupId>
28+
<artifactId>spring-boot-starter-security</artifactId>
29+
</dependency>
30+
<dependency>
31+
<groupId>org.springframework.boot</groupId>
32+
<artifactId>spring-boot-starter-validation</artifactId>
33+
</dependency>
34+
<dependency>
35+
<groupId>org.springframework.boot</groupId>
36+
<artifactId>spring-boot-starter-web</artifactId>
37+
</dependency>
38+
<dependency>
39+
<groupId>org.springframework.boot</groupId>
40+
<artifactId>spring-boot-starter-webflux</artifactId>
41+
</dependency>
4242

43-
<!-- utils -->
44-
<dependency>
45-
<groupId>org.apache.commons</groupId>
46-
<artifactId>commons-lang3</artifactId>
47-
</dependency>
43+
<!-- utils -->
44+
<dependency>
45+
<groupId>org.apache.commons</groupId>
46+
<artifactId>commons-lang3</artifactId>
47+
</dependency>
4848

49-
<!-- runtime and test scoped -->
49+
<!-- runtime and test scoped -->
5050

51-
<dependency>
52-
<groupId>org.springframework.boot</groupId>
53-
<artifactId>spring-boot-devtools</artifactId>
54-
<scope>runtime</scope>
55-
</dependency>
56-
<dependency>
57-
<groupId>com.h2database</groupId>
58-
<artifactId>h2</artifactId>
59-
<scope>runtime</scope>
60-
</dependency>
61-
<dependency>
62-
<groupId>org.junit.jupiter</groupId>
63-
<artifactId>junit-jupiter-api</artifactId>
64-
<version>${junit.jupiter.version}</version>
65-
</dependency>
66-
<dependency>
67-
<groupId>org.springframework</groupId>
68-
<artifactId>spring-test</artifactId>
69-
<version>${spring.test.version}</version>
70-
</dependency>
71-
<dependency>
72-
<groupId>org.springframework.boot</groupId>
73-
<artifactId>spring-boot-starter-test</artifactId>
74-
<scope>test</scope>
75-
</dependency>
76-
<dependency>
77-
<groupId>org.junit.jupiter</groupId>
78-
<artifactId>junit-jupiter-engine</artifactId>
79-
<version>${junit.jupiter.version}</version>
80-
<scope>test</scope>
81-
</dependency>
82-
<dependency>
83-
<groupId>org.junit.platform</groupId>
84-
<artifactId>junit-platform-surefire-provider</artifactId>
85-
<version>${junit.platform.version}</version>
86-
<scope>test</scope>
87-
</dependency>
88-
<dependency>
89-
<groupId>org.junit.platform</groupId>
90-
<artifactId>junit-platform-runner</artifactId>
91-
<version>${junit.platform.version}</version>
92-
<scope>test</scope>
93-
</dependency>
94-
</dependencies>
51+
<dependency>
52+
<groupId>org.springframework.boot</groupId>
53+
<artifactId>spring-boot-devtools</artifactId>
54+
<scope>runtime</scope>
55+
</dependency>
56+
<dependency>
57+
<groupId>com.h2database</groupId>
58+
<artifactId>h2</artifactId>
59+
<scope>runtime</scope>
60+
</dependency>
61+
62+
<dependency>
63+
<groupId>org.springframework</groupId>
64+
<artifactId>spring-test</artifactId>
65+
</dependency>
66+
<dependency>
67+
<groupId>org.springframework.boot</groupId>
68+
<artifactId>spring-boot-starter-test</artifactId>
69+
<scope>test</scope>
70+
</dependency>
71+
72+
<dependency>
73+
<groupId>org.junit.jupiter</groupId>
74+
<artifactId>junit-jupiter-api</artifactId>
75+
<version>${junit.jupiter.version}</version>
76+
</dependency>
77+
<dependency>
78+
<groupId>org.junit.jupiter</groupId>
79+
<artifactId>junit-jupiter-engine</artifactId>
80+
<version>${junit.jupiter.version}</version>
81+
<scope>test</scope>
82+
</dependency>
83+
<dependency>
84+
<groupId>org.junit.platform</groupId>
85+
<artifactId>junit-platform-surefire-provider</artifactId>
86+
<version>${junit.platform.version}</version>
87+
<scope>test</scope>
88+
</dependency>
89+
<dependency>
90+
<groupId>org.junit.platform</groupId>
91+
<artifactId>junit-platform-runner</artifactId>
92+
<version>${junit.platform.version}</version>
93+
<scope>test</scope>
94+
</dependency>
95+
96+
</dependencies>
9597

96-
<build>
97-
<plugins>
98-
<plugin>
99-
<groupId>org.springframework.boot</groupId>
100-
<artifactId>spring-boot-maven-plugin</artifactId>
101-
<configuration>
102-
<mainClass>com.baeldung.Spring5Application</mainClass>
103-
<layout>JAR</layout>
104-
</configuration>
105-
</plugin>
98+
<build>
99+
<plugins>
100+
<plugin>
101+
<groupId>org.springframework.boot</groupId>
102+
<artifactId>spring-boot-maven-plugin</artifactId>
103+
<configuration>
104+
<mainClass>com.baeldung.Spring5Application</mainClass>
105+
<layout>JAR</layout>
106+
</configuration>
107+
</plugin>
106108

107-
<plugin>
108-
<groupId>org.apache.maven.plugins</groupId>
109-
<artifactId>maven-surefire-plugin</artifactId>
110-
<configuration>
111-
<forkCount>3</forkCount>
112-
<reuseForks>true</reuseForks>
113-
<excludes>
114-
<exclude>**/*IntegrationTest.java</exclude>
115-
<exclude>**/*LiveTest.java</exclude>
116-
</excludes>
117-
</configuration>
118-
</plugin>
109+
<plugin>
110+
<groupId>org.apache.maven.plugins</groupId>
111+
<artifactId>maven-surefire-plugin</artifactId>
112+
<version>${maven-surefire-plugin.version}</version>
113+
<configuration>
114+
<forkCount>3</forkCount>
115+
<reuseForks>true</reuseForks>
116+
<excludes>
117+
<exclude>**/*IntegrationTest.java</exclude>
118+
<exclude>**/*LiveTest.java</exclude>
119+
</excludes>
120+
</configuration>
121+
</plugin>
119122

120-
<plugin>
121-
<groupId>org.apache.maven.plugins</groupId>
122-
<artifactId>maven-surefire-plugin</artifactId>
123-
<version>${maven-surefire-plugin.version}</version>
124-
<configuration>
125-
<parallel>methods</parallel>
126-
<useUnlimitedThreads>true</useUnlimitedThreads>
127-
</configuration>
128-
</plugin>
123+
<plugin>
124+
<groupId>org.apache.maven.plugins</groupId>
125+
<artifactId>maven-surefire-plugin</artifactId>
126+
<version>${maven-surefire-plugin.version}</version>
127+
<configuration>
128+
<parallel>methods</parallel>
129+
<useUnlimitedThreads>true</useUnlimitedThreads>
130+
</configuration>
131+
</plugin>
129132

130-
</plugins>
131-
</build>
133+
</plugins>
134+
</build>
132135

133-
<repositories>
134-
<repository>
135-
<id>spring-snapshots</id>
136-
<name>Spring Snapshots</name>
137-
<url>https://repo.spring.io/snapshot</url>
138-
<snapshots>
139-
<enabled>true</enabled>
140-
</snapshots>
141-
</repository>
142-
<repository>
143-
<id>spring-milestones</id>
144-
<name>Spring Milestones</name>
145-
<url>https://repo.spring.io/milestone</url>
146-
<snapshots>
147-
<enabled>false</enabled>
148-
</snapshots>
149-
</repository>
150-
</repositories>
151-
<pluginRepositories>
152-
<pluginRepository>
153-
<id>spring-snapshots</id>
154-
<name>Spring Snapshots</name>
155-
<url>https://repo.spring.io/snapshot</url>
156-
<snapshots>
157-
<enabled>true</enabled>
158-
</snapshots>
159-
</pluginRepository>
160-
<pluginRepository>
161-
<id>spring-milestones</id>
162-
<name>Spring Milestones</name>
163-
<url>https://repo.spring.io/milestone</url>
164-
<snapshots>
165-
<enabled>false</enabled>
166-
</snapshots>
167-
</pluginRepository>
168-
</pluginRepositories>
136+
<repositories>
137+
<repository>
138+
<id>spring-snapshots</id>
139+
<name>Spring Snapshots</name>
140+
<url>https://repo.spring.io/snapshot</url>
141+
<snapshots>
142+
<enabled>true</enabled>
143+
</snapshots>
144+
</repository>
145+
<repository>
146+
<id>spring-milestones</id>
147+
<name>Spring Milestones</name>
148+
<url>https://repo.spring.io/milestone</url>
149+
<snapshots>
150+
<enabled>false</enabled>
151+
</snapshots>
152+
</repository>
153+
</repositories>
154+
<pluginRepositories>
155+
<pluginRepository>
156+
<id>spring-snapshots</id>
157+
<name>Spring Snapshots</name>
158+
<url>https://repo.spring.io/snapshot</url>
159+
<snapshots>
160+
<enabled>true</enabled>
161+
</snapshots>
162+
</pluginRepository>
163+
<pluginRepository>
164+
<id>spring-milestones</id>
165+
<name>Spring Milestones</name>
166+
<url>https://repo.spring.io/milestone</url>
167+
<snapshots>
168+
<enabled>false</enabled>
169+
</snapshots>
170+
</pluginRepository>
171+
</pluginRepositories>
169172

170-
<properties>
171-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
172-
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
173-
<java.version>1.8</java.version>
174-
<junit.platform.version>1.0.0-M3</junit.platform.version>
175-
<junit.jupiter.version>5.0.0-M3</junit.jupiter.version>
176-
<spring.test.version>4.3.7.RELEASE</spring.test.version>
177-
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
178-
</properties>
173+
<properties>
174+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
175+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
176+
<java.version>1.8</java.version>
177+
<junit.platform.version>1.0.0-M4</junit.platform.version>
178+
<junit.jupiter.version>5.0.0-M4</junit.jupiter.version>
179+
<maven-surefire-plugin.version>2.20</maven-surefire-plugin.version>
180+
</properties>
179181

180182
</project>

0 commit comments

Comments
 (0)