1+ <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 >spring-boot-client</artifactId >
6+ <version >0.0.1-SNAPSHOT</version >
7+ <packaging >war</packaging >
8+ <name >spring-boot-client</name >
9+ <description >This is simple boot client application for Spring boot actuator test</description >
10+
11+ <parent >
12+ <artifactId >parent-boot-2</artifactId >
13+ <groupId >com.baeldung</groupId >
14+ <version >0.0.1-SNAPSHOT</version >
15+ <relativePath >../parent-boot-2</relativePath >
16+ </parent >
17+
18+ <dependencies >
19+
20+ <!-- JUnit Jupiter dependencies -->
21+ <dependency >
22+ <groupId >org.junit.jupiter</groupId >
23+ <artifactId >junit-jupiter-api</artifactId >
24+ <scope >test</scope >
25+ </dependency >
26+ <dependency >
27+ <groupId >org.junit.jupiter</groupId >
28+ <artifactId >junit-jupiter-engine</artifactId >
29+ <scope >test</scope >
30+ </dependency >
31+ <!-- JUnit platform launcher -->
32+ <!-- To be able to run tests from IDE directly -->
33+ <dependency >
34+ <groupId >org.junit.platform</groupId >
35+ <artifactId >junit-platform-launcher</artifactId >
36+ <version >${junit-platform.version} </version >
37+ <scope >test</scope >
38+ </dependency >
39+ <dependency >
40+ <groupId >org.springframework.boot</groupId >
41+ <artifactId >spring-boot-starter-web</artifactId >
42+ </dependency >
43+ <dependency >
44+ <groupId >org.springframework.boot</groupId >
45+ <artifactId >spring-boot-starter-test</artifactId >
46+ <scope >test</scope >
47+ </dependency >
48+ <dependency >
49+ <groupId >com.h2database</groupId >
50+ <artifactId >h2</artifactId >
51+ </dependency >
52+ <dependency >
53+ <groupId >org.springframework.boot</groupId >
54+ <artifactId >spring-boot-starter</artifactId >
55+ </dependency >
56+ <dependency >
57+ <groupId >com.google.guava</groupId >
58+ <artifactId >guava</artifactId >
59+ <version >${guava.version} </version >
60+ </dependency >
61+ <dependency >
62+ <groupId >org.springframework</groupId >
63+ <artifactId >spring-websocket</artifactId >
64+ </dependency >
65+ <dependency >
66+ <groupId >org.springframework</groupId >
67+ <artifactId >spring-messaging</artifactId >
68+ </dependency >
69+
70+ </dependencies >
71+
72+ <build >
73+ <finalName >spring-boot-client</finalName >
74+ <resources >
75+ <resource >
76+ <directory >src/main/resources</directory >
77+ <filtering >true</filtering >
78+ </resource >
79+ </resources >
80+
81+ <plugins >
82+
83+ <plugin >
84+ <groupId >org.apache.maven.plugins</groupId >
85+ <artifactId >maven-war-plugin</artifactId >
86+ </plugin >
87+
88+ <plugin >
89+ <groupId >pl.project13.maven</groupId >
90+ <artifactId >git-commit-id-plugin</artifactId >
91+ <version >${git-commit-id-plugin.version} </version >
92+ </plugin >
93+
94+ </plugins >
95+
96+ </build >
97+
98+ <profiles >
99+ <profile >
100+ <id >autoconfiguration</id >
101+ <build >
102+ <plugins >
103+ <plugin >
104+ <groupId >org.apache.maven.plugins</groupId >
105+ <artifactId >maven-surefire-plugin</artifactId >
106+ <executions >
107+ <execution >
108+ <phase >integration-test</phase >
109+ <goals >
110+ <goal >test</goal >
111+ </goals >
112+ <configuration >
113+ <excludes >
114+ <exclude >**/*LiveTest.java</exclude >
115+ <exclude >**/*IntegrationTest.java</exclude >
116+ <exclude >**/*IntTest.java</exclude >
117+ </excludes >
118+ <includes >
119+ <include >**/AutoconfigurationTest.java</include >
120+ </includes >
121+ </configuration >
122+ </execution >
123+ </executions >
124+ <configuration >
125+ <systemPropertyVariables >
126+ <test .mime>json</test .mime>
127+ </systemPropertyVariables >
128+ </configuration >
129+ </plugin >
130+ </plugins >
131+ </build >
132+ </profile >
133+ </profiles >
134+
135+ <properties >
136+ <guava .version>18.0</guava .version>
137+ <junit-platform .version>1.2.0</junit-platform .version>
138+ <git-commit-id-plugin .version>2.2.4</git-commit-id-plugin .version>
139+ </properties >
140+
141+ </project >
0 commit comments