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 >spring-boot</artifactId >
6- <version >0.0.1-SNAPSHOT</version >
7- <packaging >war</packaging >
8- <name >Spring Boot Actuator</name >
9- <description >This is simple boot application for Spring boot actuator test</description >
10-
11- <!-- Inherit defaults from Spring Boot -->
12- <parent >
13- <groupId >org.springframework.boot</groupId >
14- <artifactId >spring-boot-starter-parent</artifactId >
15- <version >1.3.6.RELEASE</version >
16- <relativePath /> <!-- lookup parent from repository -->
17- </parent >
18-
19- <properties >
20- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
21- <java .version>1.8</java .version>
22- <!-- <spring.version>4.3.0.RELEASE</spring.version> -->
23- </properties >
24-
25- <dependencies >
26- <dependency >
27- <groupId >org.springframework.boot</groupId >
28- <artifactId >spring-boot-starter-web</artifactId >
29- </dependency >
30-
31- <dependency >
32- <groupId >org.springframework.boot</groupId >
33- <artifactId >spring-boot-starter-data-jpa</artifactId >
34- </dependency >
35-
36- <dependency >
37- <groupId >org.springframework.boot</groupId >
38- <artifactId >spring-boot-starter-actuator</artifactId >
39- </dependency >
40-
41- <dependency >
42- <groupId >org.springframework.boot</groupId >
43- <artifactId >spring-boot-starter-security</artifactId >
44- </dependency >
45-
46- <dependency >
47- <groupId >io.dropwizard.metrics</groupId >
48- <artifactId >metrics-core</artifactId >
49- </dependency >
50-
51- <dependency >
52- <groupId >com.h2database</groupId >
53- <artifactId >h2</artifactId >
54- </dependency >
55-
56- <dependency >
57- <groupId >org.springframework.boot</groupId >
58- <artifactId >spring-boot-starter-test</artifactId >
59- <scope >test</scope >
60- </dependency >
61- </dependencies >
62-
63- <build >
64- <finalName >spring-boot</finalName >
65- <resources >
66- <resource >
67- <directory >src/main/resources</directory >
68- <filtering >true</filtering >
69- </resource >
70- </resources >
71-
72- <plugins >
73-
74- <plugin >
75- <groupId >org.springframework.boot</groupId >
76- <artifactId >spring-boot-maven-plugin</artifactId >
77- </plugin >
78-
79- <plugin >
80- <groupId >org.apache.maven.plugins</groupId >
81- <artifactId >maven-compiler-plugin</artifactId >
82- <configuration >
83- <source >1.8</source >
84- <target >1.8</target >
85- </configuration >
86- </plugin >
87-
88- <plugin >
89- <groupId >org.apache.maven.plugins</groupId >
90- <artifactId >maven-war-plugin</artifactId >
91- </plugin >
92-
93- </plugins >
94-
95- </build >
96-
97- </project >
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</artifactId >
6+ <version >0.0.1-SNAPSHOT</version >
7+ <packaging >war</packaging >
8+ <name >Spring Boot Actuator</name >
9+ <description >This is simple boot application for Spring boot actuator test</description >
10+
11+ <!-- Inherit defaults from Spring Boot -->
12+ <parent >
13+ <groupId >org.springframework.boot</groupId >
14+ <artifactId >spring-boot-starter-parent</artifactId >
15+ <version >1.3.6.RELEASE</version >
16+ <relativePath /> <!-- lookup parent from repository -->
17+ </parent >
18+
19+ <properties >
20+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
21+ <java .version>1.8</java .version>
22+ <!-- <spring.version>4.3.0.RELEASE</spring.version> -->
23+ </properties >
24+
25+ <dependencies >
26+ <dependency >
27+ <groupId >org.springframework.boot</groupId >
28+ <artifactId >spring-boot-starter-web</artifactId >
29+ </dependency >
30+
31+ <dependency >
32+ <groupId >org.springframework.boot</groupId >
33+ <artifactId >spring-boot-starter-data-jpa</artifactId >
34+ </dependency >
35+
36+ <dependency >
37+ <groupId >org.springframework.boot</groupId >
38+ <artifactId >spring-boot-starter-actuator</artifactId >
39+ </dependency >
40+
41+ <dependency >
42+ <groupId >org.springframework.boot</groupId >
43+ <artifactId >spring-boot-starter-security</artifactId >
44+ </dependency >
45+
46+ <dependency >
47+ <groupId >io.dropwizard.metrics</groupId >
48+ <artifactId >metrics-core</artifactId >
49+ </dependency >
50+
51+ <dependency >
52+ <groupId >com.h2database</groupId >
53+ <artifactId >h2</artifactId >
54+ </dependency >
55+
56+ <dependency >
57+ <groupId >org.springframework.boot</groupId >
58+ <artifactId >spring-boot-starter-test</artifactId >
59+ <scope >test</scope >
60+ </dependency >
61+ </dependencies >
62+
63+ <build >
64+ <finalName >spring-boot</finalName >
65+ <resources >
66+ <resource >
67+ <directory >src/main/resources</directory >
68+ <filtering >true</filtering >
69+ </resource >
70+ </resources >
71+
72+ <plugins >
73+
74+ <plugin >
75+ <groupId >org.springframework.boot</groupId >
76+ <artifactId >spring-boot-maven-plugin</artifactId >
77+ </plugin >
78+
79+ <plugin >
80+ <groupId >org.apache.maven.plugins</groupId >
81+ <artifactId >maven-compiler-plugin</artifactId >
82+ <configuration >
83+ <source >1.8</source >
84+ <target >1.8</target >
85+ </configuration >
86+ </plugin >
87+
88+ <plugin >
89+ <groupId >org.apache.maven.plugins</groupId >
90+ <artifactId >maven-war-plugin</artifactId >
91+ </plugin >
92+
93+ </plugins >
94+
95+ </build >
96+
97+ </project >
0 commit comments