Skip to content

Commit 906953e

Browse files
author
eugenp
committed
minor pom cleanup
1 parent de1e6a2 commit 906953e

1 file changed

Lines changed: 138 additions & 174 deletions

File tree

‎spring-boot/pom.xml‎

Lines changed: 138 additions & 174 deletions
Original file line numberDiff line numberDiff line change
@@ -1,141 +1,133 @@
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.4.2.RELEASE</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.4.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-
<configuration>
115-
<mainClass>org.baeldung.boot.DemoApplication</mainClass>
116-
<layout>ZIP</layout>
117-
<requiresUnpack>
118-
<dependency>
119-
<groupId>org.jruby</groupId>
120-
<artifactId>jruby-complete</artifactId>
121-
</dependency>
122-
</requiresUnpack>
123-
</configuration>
124-
</plugin>
125-
126-
<plugin>
127-
<groupId>org.apache.maven.plugins</groupId>
128-
<artifactId>maven-compiler-plugin</artifactId>
129-
<configuration>
130-
<source>1.8</source>
131-
<target>1.8</target>
132-
</configuration>
133-
</plugin>
134-
135-
<plugin>
136-
<groupId>org.apache.maven.plugins</groupId>
137-
<artifactId>maven-war-plugin</artifactId>
138-
</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+
<relativePath /> <!-- lookup parent from repository -->
17+
</parent>
18+
19+
<dependencies>
20+
<dependency>
21+
<groupId>org.springframework.boot</groupId>
22+
<artifactId>spring-boot-starter-thymeleaf</artifactId>
23+
</dependency>
24+
<dependency>
25+
<groupId>org.springframework.boot</groupId>
26+
<artifactId>spring-boot-starter-web</artifactId>
27+
</dependency>
28+
29+
<dependency>
30+
<groupId>org.springframework.boot</groupId>
31+
<artifactId>spring-boot-starter-data-jpa</artifactId>
32+
</dependency>
33+
34+
<dependency>
35+
<groupId>org.springframework.boot</groupId>
36+
<artifactId>spring-boot-starter-actuator</artifactId>
37+
</dependency>
38+
39+
<dependency>
40+
<groupId>org.springframework.boot</groupId>
41+
<artifactId>spring-boot-starter-security</artifactId>
42+
</dependency>
43+
44+
<dependency>
45+
<groupId>io.dropwizard.metrics</groupId>
46+
<artifactId>metrics-core</artifactId>
47+
</dependency>
48+
49+
<dependency>
50+
<groupId>com.h2database</groupId>
51+
<artifactId>h2</artifactId>
52+
</dependency>
53+
54+
<dependency>
55+
<groupId>org.springframework.boot</groupId>
56+
<artifactId>spring-boot-starter-test</artifactId>
57+
<scope>test</scope>
58+
</dependency>
59+
60+
<dependency>
61+
<groupId>org.springframework.boot</groupId>
62+
<artifactId>spring-boot-starter</artifactId>
63+
</dependency>
64+
<dependency>
65+
<groupId>com.jayway.jsonpath</groupId>
66+
<artifactId>json-path</artifactId>
67+
<scope>test</scope>
68+
</dependency>
69+
<dependency>
70+
<groupId>org.springframework.boot</groupId>
71+
<artifactId>spring-boot-starter-mail</artifactId>
72+
</dependency>
73+
<dependency>
74+
<groupId>org.subethamail</groupId>
75+
<artifactId>subethasmtp</artifactId>
76+
<version>3.1.7</version>
77+
<scope>test</scope>
78+
</dependency>
79+
80+
<dependency>
81+
<groupId>org.webjars</groupId>
82+
<artifactId>bootstrap</artifactId>
83+
<version>3.3.7-1</version>
84+
</dependency>
85+
<dependency>
86+
<groupId>org.webjars</groupId>
87+
<artifactId>jquery</artifactId>
88+
<version>3.1.1</version>
89+
</dependency>
90+
</dependencies>
91+
92+
<build>
93+
<finalName>spring-boot</finalName>
94+
<resources>
95+
<resource>
96+
<directory>src/main/resources</directory>
97+
<filtering>true</filtering>
98+
</resource>
99+
</resources>
100+
101+
<plugins>
102+
103+
<plugin>
104+
<groupId>org.springframework.boot</groupId>
105+
<artifactId>spring-boot-maven-plugin</artifactId>
106+
<configuration>
107+
<mainClass>org.baeldung.boot.DemoApplication</mainClass>
108+
<layout>ZIP</layout>
109+
<requiresUnpack>
110+
<dependency>
111+
<groupId>org.jruby</groupId>
112+
<artifactId>jruby-complete</artifactId>
113+
</dependency>
114+
</requiresUnpack>
115+
</configuration>
116+
</plugin>
117+
118+
<plugin>
119+
<groupId>org.apache.maven.plugins</groupId>
120+
<artifactId>maven-compiler-plugin</artifactId>
121+
<configuration>
122+
<source>1.8</source>
123+
<target>1.8</target>
124+
</configuration>
125+
</plugin>
126+
127+
<plugin>
128+
<groupId>org.apache.maven.plugins</groupId>
129+
<artifactId>maven-war-plugin</artifactId>
130+
</plugin>
139131

140132
<plugin>
141133
<groupId>pl.project13.maven</groupId>
@@ -156,7 +148,7 @@
156148

157149
</plugins>
158150

159-
</build>
151+
</build>
160152

161153
<profiles>
162154
<profile>
@@ -193,41 +185,13 @@
193185
</profile>
194186
</profiles>
195187

196-
<repositories>
197-
<repository>
198-
<id>spring-snapshots</id>
199-
<name>Spring Snapshots</name>
200-
<url>https://repo.spring.io/snapshot</url>
201-
<snapshots>
202-
<enabled>true</enabled>
203-
</snapshots>
204-
</repository>
205-
<repository>
206-
<id>spring-milestones</id>
207-
<name>Spring Milestones</name>
208-
<url>https://repo.spring.io/milestone</url>
209-
<snapshots>
210-
<enabled>false</enabled>
211-
</snapshots>
212-
</repository>
213-
</repositories>
214-
<pluginRepositories>
215-
<pluginRepository>
216-
<id>spring-snapshots</id>
217-
<name>Spring Snapshots</name>
218-
<url>https://repo.spring.io/snapshot</url>
219-
<snapshots>
220-
<enabled>true</enabled>
221-
</snapshots>
222-
</pluginRepository>
223-
<pluginRepository>
224-
<id>spring-milestones</id>
225-
<name>Spring Milestones</name>
226-
<url>https://repo.spring.io/milestone</url>
227-
<snapshots>
228-
<enabled>false</enabled>
229-
</snapshots>
230-
</pluginRepository>
231-
</pluginRepositories>
188+
189+
<properties>
190+
<!-- The main class to start by executing java -jar -->
191+
<start-class>org.baeldung.boot.DemoApplication</start-class>
192+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
193+
<java.version>1.8</java.version>
194+
<spring.version>4.3.4.RELEASE</spring.version>
195+
</properties>
232196

233197
</project>

0 commit comments

Comments
 (0)