|
1 | 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</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.4.0.RC1</version> |
16 | | - <relativePath /> <!-- lookup parent from repository --> |
17 | | - </parent> |
18 | | - |
19 | | - <properties> |
20 | | - <!-- The main class to start by executing java -jar --> |
21 | | - <start-class>org.baeldung.boot.DemoApplication</start-class> |
22 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
23 | | - <java.version>1.8</java.version> |
24 | | - <spring.version>4.3.1.RELEASE</spring.version> |
25 | | - </properties> |
26 | | - |
27 | | - <dependencies> |
28 | | - <dependency> |
29 | | - <groupId>org.springframework.boot</groupId> |
30 | | - <artifactId>spring-boot-starter-thymeleaf</artifactId> |
31 | | - </dependency> |
32 | | - <dependency> |
33 | | - <groupId>org.springframework.boot</groupId> |
34 | | - <artifactId>spring-boot-starter-web</artifactId> |
35 | | - </dependency> |
36 | | - |
37 | | - <dependency> |
38 | | - <groupId>org.springframework.boot</groupId> |
39 | | - <artifactId>spring-boot-starter-data-jpa</artifactId> |
40 | | - </dependency> |
41 | | - |
42 | | - <dependency> |
43 | | - <groupId>org.springframework.boot</groupId> |
44 | | - <artifactId>spring-boot-starter-actuator</artifactId> |
45 | | - </dependency> |
46 | | - |
47 | | - <dependency> |
48 | | - <groupId>org.springframework.boot</groupId> |
49 | | - <artifactId>spring-boot-starter-security</artifactId> |
50 | | - </dependency> |
51 | | - |
52 | | - <dependency> |
53 | | - <groupId>io.dropwizard.metrics</groupId> |
54 | | - <artifactId>metrics-core</artifactId> |
55 | | - </dependency> |
56 | | - |
57 | | - <dependency> |
58 | | - <groupId>com.h2database</groupId> |
59 | | - <artifactId>h2</artifactId> |
60 | | - </dependency> |
61 | | - |
62 | | - <dependency> |
63 | | - <groupId>org.springframework.boot</groupId> |
64 | | - <artifactId>spring-boot-starter-test</artifactId> |
65 | | - <scope>test</scope> |
66 | | - </dependency> |
67 | | - |
68 | | - <dependency> |
69 | | - <groupId>org.springframework.boot</groupId> |
70 | | - <artifactId>spring-boot-starter</artifactId> |
71 | | - </dependency> |
72 | | - <dependency> |
73 | | - <groupId>com.jayway.jsonpath</groupId> |
74 | | - <artifactId>json-path</artifactId> |
75 | | - <scope>test</scope> |
76 | | - </dependency> |
77 | | - <dependency> |
78 | | - <groupId>org.springframework.boot</groupId> |
79 | | - <artifactId>spring-boot-starter-mail</artifactId> |
80 | | - </dependency> |
81 | | - <dependency> |
82 | | - <groupId>org.subethamail</groupId> |
83 | | - <artifactId>subethasmtp</artifactId> |
84 | | - <version>3.1.7</version> |
85 | | - <scope>test</scope> |
86 | | - </dependency> |
87 | | - |
88 | | - <dependency> |
89 | | - <groupId>org.webjars</groupId> |
90 | | - <artifactId>bootstrap</artifactId> |
91 | | - <version>3.3.7-1</version> |
92 | | - </dependency> |
93 | | - <dependency> |
94 | | - <groupId>org.webjars</groupId> |
95 | | - <artifactId>jquery</artifactId> |
96 | | - <version>3.1.1</version> |
97 | | - </dependency> |
98 | | - </dependencies> |
99 | | - |
100 | | - <build> |
101 | | - <finalName>spring-boot</finalName> |
102 | | - <resources> |
103 | | - <resource> |
104 | | - <directory>src/main/resources</directory> |
105 | | - <filtering>true</filtering> |
106 | | - </resource> |
107 | | - </resources> |
108 | | - |
109 | | - <plugins> |
110 | | - |
111 | | - <plugin> |
112 | | - <groupId>org.springframework.boot</groupId> |
113 | | - <artifactId>spring-boot-maven-plugin</artifactId> |
114 | | - </plugin> |
115 | | - |
116 | | - <plugin> |
117 | | - <groupId>org.apache.maven.plugins</groupId> |
118 | | - <artifactId>maven-compiler-plugin</artifactId> |
119 | | - <configuration> |
120 | | - <source>1.8</source> |
121 | | - <target>1.8</target> |
122 | | - </configuration> |
123 | | - </plugin> |
124 | | - |
125 | | - <plugin> |
126 | | - <groupId>org.apache.maven.plugins</groupId> |
127 | | - <artifactId>maven-war-plugin</artifactId> |
128 | | - </plugin> |
| 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.4.2.RELEASE</version> |
| 16 | + </parent> |
| 17 | + |
| 18 | + <properties> |
| 19 | + <!-- The main class to start by executing java -jar --> |
| 20 | + <start-class>org.baeldung.boot.DemoApplication</start-class> |
| 21 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 22 | + <java.version>1.8</java.version> |
| 23 | + <spring.version>4.3.1.RELEASE</spring.version> |
| 24 | + </properties> |
| 25 | + |
| 26 | + <dependencies> |
| 27 | + <dependency> |
| 28 | + <groupId>org.springframework.boot</groupId> |
| 29 | + <artifactId>spring-boot-starter-thymeleaf</artifactId> |
| 30 | + </dependency> |
| 31 | + <dependency> |
| 32 | + <groupId>org.springframework.boot</groupId> |
| 33 | + <artifactId>spring-boot-starter-web</artifactId> |
| 34 | + </dependency> |
| 35 | + |
| 36 | + <dependency> |
| 37 | + <groupId>org.springframework.boot</groupId> |
| 38 | + <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 39 | + </dependency> |
| 40 | + |
| 41 | + <dependency> |
| 42 | + <groupId>org.springframework.boot</groupId> |
| 43 | + <artifactId>spring-boot-starter-actuator</artifactId> |
| 44 | + </dependency> |
| 45 | + |
| 46 | + <dependency> |
| 47 | + <groupId>org.springframework.boot</groupId> |
| 48 | + <artifactId>spring-boot-starter-security</artifactId> |
| 49 | + </dependency> |
| 50 | + |
| 51 | + <dependency> |
| 52 | + <groupId>io.dropwizard.metrics</groupId> |
| 53 | + <artifactId>metrics-core</artifactId> |
| 54 | + </dependency> |
| 55 | + |
| 56 | + <dependency> |
| 57 | + <groupId>com.h2database</groupId> |
| 58 | + <artifactId>h2</artifactId> |
| 59 | + </dependency> |
| 60 | + |
| 61 | + <dependency> |
| 62 | + <groupId>org.springframework.boot</groupId> |
| 63 | + <artifactId>spring-boot-starter-test</artifactId> |
| 64 | + <scope>test</scope> |
| 65 | + </dependency> |
| 66 | + |
| 67 | + <dependency> |
| 68 | + <groupId>org.springframework.boot</groupId> |
| 69 | + <artifactId>spring-boot-starter</artifactId> |
| 70 | + </dependency> |
| 71 | + <dependency> |
| 72 | + <groupId>com.jayway.jsonpath</groupId> |
| 73 | + <artifactId>json-path</artifactId> |
| 74 | + <scope>test</scope> |
| 75 | + </dependency> |
| 76 | + <dependency> |
| 77 | + <groupId>org.springframework.boot</groupId> |
| 78 | + <artifactId>spring-boot-starter-mail</artifactId> |
| 79 | + </dependency> |
| 80 | + <dependency> |
| 81 | + <groupId>org.subethamail</groupId> |
| 82 | + <artifactId>subethasmtp</artifactId> |
| 83 | + <version>3.1.7</version> |
| 84 | + <scope>test</scope> |
| 85 | + </dependency> |
| 86 | + |
| 87 | + <dependency> |
| 88 | + <groupId>org.webjars</groupId> |
| 89 | + <artifactId>bootstrap</artifactId> |
| 90 | + <version>3.3.7-1</version> |
| 91 | + </dependency> |
| 92 | + <dependency> |
| 93 | + <groupId>org.webjars</groupId> |
| 94 | + <artifactId>jquery</artifactId> |
| 95 | + <version>3.1.1</version> |
| 96 | + </dependency> |
| 97 | + </dependencies> |
| 98 | + |
| 99 | + <build> |
| 100 | + <finalName>spring-boot</finalName> |
| 101 | + <resources> |
| 102 | + <resource> |
| 103 | + <directory>src/main/resources</directory> |
| 104 | + <filtering>true</filtering> |
| 105 | + </resource> |
| 106 | + </resources> |
| 107 | + |
| 108 | + <plugins> |
| 109 | + |
| 110 | + <plugin> |
| 111 | + <groupId>org.springframework.boot</groupId> |
| 112 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 113 | + </plugin> |
| 114 | + |
| 115 | + <plugin> |
| 116 | + <groupId>org.apache.maven.plugins</groupId> |
| 117 | + <artifactId>maven-compiler-plugin</artifactId> |
| 118 | + <configuration> |
| 119 | + <source>1.8</source> |
| 120 | + <target>1.8</target> |
| 121 | + </configuration> |
| 122 | + </plugin> |
| 123 | + |
| 124 | + <plugin> |
| 125 | + <groupId>org.apache.maven.plugins</groupId> |
| 126 | + <artifactId>maven-war-plugin</artifactId> |
| 127 | + </plugin> |
129 | 128 |
|
130 | 129 | <plugin> |
131 | 130 | <groupId>pl.project13.maven</groupId> |
|
143 | 142 | </excludes> |
144 | 143 | </configuration> |
145 | 144 | </plugin> |
146 | | - |
| 145 | + |
147 | 146 | </plugins> |
148 | 147 |
|
149 | | - </build> |
| 148 | + </build> |
150 | 149 |
|
151 | 150 | <profiles> |
152 | 151 | <profile> |
|
182 | 181 | </build> |
183 | 182 | </profile> |
184 | 183 | </profiles> |
185 | | - |
186 | | - <repositories> |
187 | | - <repository> |
188 | | - <id>spring-snapshots</id> |
189 | | - <name>Spring Snapshots</name> |
190 | | - <url>https://repo.spring.io/snapshot</url> |
191 | | - <snapshots> |
192 | | - <enabled>true</enabled> |
193 | | - </snapshots> |
194 | | - </repository> |
195 | | - <repository> |
196 | | - <id>spring-milestones</id> |
197 | | - <name>Spring Milestones</name> |
198 | | - <url>https://repo.spring.io/milestone</url> |
199 | | - <snapshots> |
200 | | - <enabled>false</enabled> |
201 | | - </snapshots> |
202 | | - </repository> |
203 | | - </repositories> |
204 | | - <pluginRepositories> |
205 | | - <pluginRepository> |
206 | | - <id>spring-snapshots</id> |
207 | | - <name>Spring Snapshots</name> |
208 | | - <url>https://repo.spring.io/snapshot</url> |
209 | | - <snapshots> |
210 | | - <enabled>true</enabled> |
211 | | - </snapshots> |
212 | | - </pluginRepository> |
213 | | - <pluginRepository> |
214 | | - <id>spring-milestones</id> |
215 | | - <name>Spring Milestones</name> |
216 | | - <url>https://repo.spring.io/milestone</url> |
217 | | - <snapshots> |
218 | | - <enabled>false</enabled> |
219 | | - </snapshots> |
220 | | - </pluginRepository> |
221 | | - </pluginRepositories> |
| 184 | + |
| 185 | + <repositories> |
| 186 | + <repository> |
| 187 | + <id>spring-snapshots</id> |
| 188 | + <name>Spring Snapshots</name> |
| 189 | + <url>https://repo.spring.io/snapshot</url> |
| 190 | + <snapshots> |
| 191 | + <enabled>true</enabled> |
| 192 | + </snapshots> |
| 193 | + </repository> |
| 194 | + <repository> |
| 195 | + <id>spring-milestones</id> |
| 196 | + <name>Spring Milestones</name> |
| 197 | + <url>https://repo.spring.io/milestone</url> |
| 198 | + <snapshots> |
| 199 | + <enabled>false</enabled> |
| 200 | + </snapshots> |
| 201 | + </repository> |
| 202 | + </repositories> |
| 203 | + <pluginRepositories> |
| 204 | + <pluginRepository> |
| 205 | + <id>spring-snapshots</id> |
| 206 | + <name>Spring Snapshots</name> |
| 207 | + <url>https://repo.spring.io/snapshot</url> |
| 208 | + <snapshots> |
| 209 | + <enabled>true</enabled> |
| 210 | + </snapshots> |
| 211 | + </pluginRepository> |
| 212 | + <pluginRepository> |
| 213 | + <id>spring-milestones</id> |
| 214 | + <name>Spring Milestones</name> |
| 215 | + <url>https://repo.spring.io/milestone</url> |
| 216 | + <snapshots> |
| 217 | + <enabled>false</enabled> |
| 218 | + </snapshots> |
| 219 | + </pluginRepository> |
| 220 | + </pluginRepositories> |
222 | 221 |
|
223 | 222 | </project> |
0 commit comments