11<project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3- <modelVersion >4.0.0</modelVersion >
4- <groupId >com.baeldung</groupId >
5- <artifactId >parent-boot-1</artifactId >
6- <version >0.0.1-SNAPSHOT</version >
7- <packaging >pom</packaging >
8- <description >Parent for all Spring Boot 1.x modules</description >
2+ xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3+ <modelVersion >4.0.0</modelVersion >
4+ <artifactId >parent-boot-1</artifactId >
5+ <version >0.0.1-SNAPSHOT</version >
6+ <packaging >pom</packaging >
7+ <description >Parent for all Spring Boot 1.x modules</description >
98
10- <parent >
11- <groupId >org.springframework.boot</groupId >
12- <artifactId >spring-boot-starter-parent</artifactId >
13- <version >1.5.13.RELEASE</version >
14- <relativePath />
15- </parent >
9+ <parent >
10+ <groupId >com.baeldung</groupId >
11+ <artifactId >parent-modules</artifactId >
12+ <version >1.0.0-SNAPSHOT</version >
13+ </parent >
1614
17- <dependencies >
18- <dependency >
19- <groupId >io.rest-assured</groupId >
20- <artifactId >rest-assured</artifactId >
21- <version >${rest-assured.version} </version >
22- </dependency >
23- <dependency >
24- <groupId >org.springframework.boot</groupId >
25- <artifactId >spring-boot-starter-test</artifactId >
26- <scope >test</scope >
27- </dependency >
28- </dependencies >
15+ <dependencyManagement >
16+ <dependencies >
17+ <dependency >
18+ <groupId >org.springframework.boot</groupId >
19+ <artifactId >spring-boot-dependencies</artifactId >
20+ <version >1.5.15.RELEASE</version >
21+ <type >pom</type >
22+ <scope >import</scope >
23+ </dependency >
24+ </dependencies >
25+ </dependencyManagement >
26+ <dependencies >
27+ <dependency >
28+ <groupId >io.rest-assured</groupId >
29+ <artifactId >rest-assured</artifactId >
30+ <version >${rest-assured.version} </version >
31+ </dependency >
32+ <dependency >
33+ <groupId >org.springframework.boot</groupId >
34+ <artifactId >spring-boot-starter-test</artifactId >
35+ <scope >test</scope >
36+ </dependency >
37+ </dependencies >
2938
30- <build >
31- <plugins >
32- <plugin >
33- <groupId >org.springframework.boot</groupId >
34- <artifactId >spring-boot-maven-plugin</artifactId >
35- </plugin >
36- <plugin >
37- <groupId >org.apache.maven.plugins</groupId >
38- <artifactId >maven-surefire-plugin</artifactId >
39- <version >${maven-surefire-plugin.version} </version >
40- <configuration >
41- <forkCount >3</forkCount >
42- <reuseForks >true</reuseForks >
43- <excludes >
44- <exclude >**/*IntegrationTest.java</exclude >
45- <exclude >**/*IntTest.java</exclude >
46- <exclude >**/*LongRunningUnitTest.java</exclude >
47- <exclude >**/*ManualTest.java</exclude >
48- <exclude >**/*LiveTest.java</exclude >
49- </excludes >
50- </configuration >
51- </plugin >
52- <plugin >
53- <groupId >org.apache.maven.plugins</groupId >
54- <artifactId >maven-compiler-plugin</artifactId >
55- <version >${maven-compiler-plugin.version} </version >
56- <configuration >
57- <source >${maven.compiler.source} </source >
58- <target >${maven.compiler.target} </target >
59- </configuration >
60- </plugin >
61- </plugins >
62- </build >
39+ <build >
40+ <plugins >
41+ <plugin >
42+ <groupId >org.springframework.boot</groupId >
43+ <artifactId >spring-boot-maven-plugin</artifactId >
44+ <version >1.5.15.RELEASE</version >
45+ </plugin >
46+ </plugins >
47+ </build >
6348
64- <profiles >
65- <profile >
66- <id >integration</id >
67- <build >
68- <plugins >
69- <plugin >
70- <groupId >org.apache.maven.plugins</groupId >
71- <artifactId >maven-surefire-plugin</artifactId >
72- <executions >
73- <execution >
74- <phase >integration-test</phase >
75- <goals >
76- <goal >test</goal >
77- </goals >
78- <configuration >
79- <excludes >
80- <exclude >**/*ManualTest.java</exclude >
81- <exclude >**/*LiveTest.java</exclude >
82- <exclude >**/AutoconfigurationTest.java</exclude >
83- <exclude >**/*UnitTest.java</exclude >
84- </excludes >
85- <includes >
86- <include >**/*IntegrationTest.java</include >
87- <include >**/*IntTest.java</include >
88- <include >*/EthControllerTestOne.java</include >
89- <include >**/*EntryPointsTest.java</include >
90- </includes >
91- </configuration >
92- </execution >
93- </executions >
94- <configuration >
95- <systemPropertyVariables >
96- <test .mime>json</test .mime>
97- </systemPropertyVariables >
98- </configuration >
99- </plugin >
100- </plugins >
101- </build >
102- </profile >
103- </profiles >
10449
105- <properties >
106- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
107- <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
108- <java .version>1.8</java .version>
109- <rest-assured .version>3.0.6</rest-assured .version>
110- <!-- plugins -->
111- <maven-surefire-plugin .version>2.20.1</maven-surefire-plugin .version>
112- <maven-compiler-plugin .version>3.7.0</maven-compiler-plugin .version>
113- <maven .compiler.source>1.8</maven .compiler.source>
114- <maven .compiler.target>1.8</maven .compiler.target>
115- </properties >
50+ <properties >
51+ <rest-assured .version>3.1.0</rest-assured .version>
52+ </properties >
11653
11754</project >
0 commit comments