Skip to content

Commit 3e1ce23

Browse files
committed
Polish
1 parent 134c5a3 commit 3e1ce23

1 file changed

Lines changed: 28 additions & 37 deletions

File tree

pom.xml

Lines changed: 28 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,17 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
4-
54
<parent>
65
<groupId>org.springframework.boot</groupId>
76
<artifactId>spring-boot-starter-parent</artifactId>
87
<version>4.0.0</version>
9-
<relativePath></relativePath>
108
</parent>
11-
129
<groupId>org.springframework.samples</groupId>
1310
<artifactId>spring-petclinic</artifactId>
1411
<version>4.0.0-SNAPSHOT</version>
15-
1612
<name>petclinic</name>
1713

1814
<properties>
19-
2015
<!-- Generic properties -->
2116
<java.version>17</java.version>
2217
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -36,9 +31,15 @@
3631
<maven-checkstyle.version>3.6.0</maven-checkstyle.version>
3732
<nohttp-checkstyle.version>0.0.11</nohttp-checkstyle.version>
3833
<spring-format.version>0.0.47</spring-format.version>
39-
4034
</properties>
4135

36+
<licenses>
37+
<license>
38+
<name>Apache License, Version 2.0</name>
39+
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
40+
</license>
41+
</licenses>
42+
4243
<dependencies>
4344
<!-- Spring and Spring Boot dependencies -->
4445
<dependency>
@@ -55,23 +56,36 @@
5556
</dependency>
5657
<dependency>
5758
<groupId>org.springframework.boot</groupId>
58-
<artifactId>spring-boot-starter-webmvc</artifactId>
59+
<artifactId>spring-boot-starter-thymeleaf</artifactId>
5960
</dependency>
6061
<dependency>
6162
<groupId>org.springframework.boot</groupId>
6263
<artifactId>spring-boot-starter-validation</artifactId>
6364
</dependency>
6465
<dependency>
6566
<groupId>org.springframework.boot</groupId>
66-
<artifactId>spring-boot-starter-thymeleaf</artifactId>
67+
<artifactId>spring-boot-starter-webmvc</artifactId>
68+
</dependency>
69+
70+
<dependency>
71+
<groupId>javax.cache</groupId>
72+
<artifactId>cache-api</artifactId>
73+
</dependency>
74+
<dependency>
75+
<groupId>jakarta.xml.bind</groupId>
76+
<artifactId>jakarta.xml.bind-api</artifactId>
6777
</dependency>
6878

69-
<!-- Databases - Uses H2 by default -->
7079
<dependency>
7180
<groupId>com.h2database</groupId>
7281
<artifactId>h2</artifactId>
7382
<scope>runtime</scope>
7483
</dependency>
84+
<dependency>
85+
<groupId>com.github.ben-manes.caffeine</groupId>
86+
<artifactId>caffeine</artifactId>
87+
<scope>runtime</scope>
88+
</dependency>
7589
<dependency>
7690
<groupId>com.mysql</groupId>
7791
<artifactId>mysql-connector-j</artifactId>
@@ -82,39 +96,31 @@
8296
<artifactId>postgresql</artifactId>
8397
<scope>runtime</scope>
8498
</dependency>
85-
86-
<!-- Caching -->
87-
<dependency>
88-
<groupId>javax.cache</groupId>
89-
<artifactId>cache-api</artifactId>
90-
</dependency>
91-
<dependency>
92-
<groupId>com.github.ben-manes.caffeine</groupId>
93-
<artifactId>caffeine</artifactId>
94-
</dependency>
95-
96-
<!-- Webjars -->
9799
<dependency>
98100
<groupId>org.webjars</groupId>
99101
<artifactId>webjars-locator-lite</artifactId>
100102
<version>${webjars-locator.version}</version>
103+
<scope>runtime</scope>
101104
</dependency>
102105
<dependency>
103106
<groupId>org.webjars.npm</groupId>
104107
<artifactId>bootstrap</artifactId>
105108
<version>${webjars-bootstrap.version}</version>
109+
<scope>runtime</scope>
106110
</dependency>
107111
<dependency>
108112
<groupId>org.webjars.npm</groupId>
109113
<artifactId>font-awesome</artifactId>
110114
<version>${webjars-font-awesome.version}</version>
115+
<scope>runtime</scope>
111116
</dependency>
112117

113118
<dependency>
114119
<groupId>org.springframework.boot</groupId>
115120
<artifactId>spring-boot-devtools</artifactId>
116-
<scope>test</scope>
121+
<optional>true</optional>
117122
</dependency>
123+
118124
<dependency>
119125
<groupId>org.springframework.boot</groupId>
120126
<artifactId>spring-boot-starter-data-jpa-test</artifactId>
@@ -150,12 +156,6 @@
150156
<artifactId>testcontainers-mysql</artifactId>
151157
<scope>test</scope>
152158
</dependency>
153-
154-
<dependency>
155-
<groupId>jakarta.xml.bind</groupId>
156-
<artifactId>jakarta.xml.bind-api</artifactId>
157-
</dependency>
158-
159159
</dependencies>
160160

161161
<build>
@@ -288,16 +288,8 @@
288288
<groupId>org.cyclonedx</groupId>
289289
<artifactId>cyclonedx-maven-plugin</artifactId>
290290
</plugin>
291-
292291
</plugins>
293292
</build>
294-
<licenses>
295-
<license>
296-
<name>Apache License, Version 2.0</name>
297-
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
298-
</license>
299-
</licenses>
300-
301293
<profiles>
302294
<profile>
303295
<id>css</id>
@@ -327,7 +319,6 @@
327319
</execution>
328320
</executions>
329321
</plugin>
330-
331322
<plugin>
332323
<groupId>com.gitlab.haynes</groupId>
333324
<artifactId>libsass-maven-plugin</artifactId>

0 commit comments

Comments
 (0)