|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <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"> |
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | | - |
5 | 4 | <parent> |
6 | 5 | <groupId>org.springframework.boot</groupId> |
7 | 6 | <artifactId>spring-boot-starter-parent</artifactId> |
8 | 7 | <version>4.0.0</version> |
9 | | - <relativePath></relativePath> |
10 | 8 | </parent> |
11 | | - |
12 | 9 | <groupId>org.springframework.samples</groupId> |
13 | 10 | <artifactId>spring-petclinic</artifactId> |
14 | 11 | <version>4.0.0-SNAPSHOT</version> |
15 | | - |
16 | 12 | <name>petclinic</name> |
17 | 13 |
|
18 | 14 | <properties> |
19 | | - |
20 | 15 | <!-- Generic properties --> |
21 | 16 | <java.version>17</java.version> |
22 | 17 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
36 | 31 | <maven-checkstyle.version>3.6.0</maven-checkstyle.version> |
37 | 32 | <nohttp-checkstyle.version>0.0.11</nohttp-checkstyle.version> |
38 | 33 | <spring-format.version>0.0.47</spring-format.version> |
39 | | - |
40 | 34 | </properties> |
41 | 35 |
|
| 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 | + |
42 | 43 | <dependencies> |
43 | 44 | <!-- Spring and Spring Boot dependencies --> |
44 | 45 | <dependency> |
|
55 | 56 | </dependency> |
56 | 57 | <dependency> |
57 | 58 | <groupId>org.springframework.boot</groupId> |
58 | | - <artifactId>spring-boot-starter-webmvc</artifactId> |
| 59 | + <artifactId>spring-boot-starter-thymeleaf</artifactId> |
59 | 60 | </dependency> |
60 | 61 | <dependency> |
61 | 62 | <groupId>org.springframework.boot</groupId> |
62 | 63 | <artifactId>spring-boot-starter-validation</artifactId> |
63 | 64 | </dependency> |
64 | 65 | <dependency> |
65 | 66 | <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> |
67 | 77 | </dependency> |
68 | 78 |
|
69 | | - <!-- Databases - Uses H2 by default --> |
70 | 79 | <dependency> |
71 | 80 | <groupId>com.h2database</groupId> |
72 | 81 | <artifactId>h2</artifactId> |
73 | 82 | <scope>runtime</scope> |
74 | 83 | </dependency> |
| 84 | + <dependency> |
| 85 | + <groupId>com.github.ben-manes.caffeine</groupId> |
| 86 | + <artifactId>caffeine</artifactId> |
| 87 | + <scope>runtime</scope> |
| 88 | + </dependency> |
75 | 89 | <dependency> |
76 | 90 | <groupId>com.mysql</groupId> |
77 | 91 | <artifactId>mysql-connector-j</artifactId> |
|
82 | 96 | <artifactId>postgresql</artifactId> |
83 | 97 | <scope>runtime</scope> |
84 | 98 | </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 --> |
97 | 99 | <dependency> |
98 | 100 | <groupId>org.webjars</groupId> |
99 | 101 | <artifactId>webjars-locator-lite</artifactId> |
100 | 102 | <version>${webjars-locator.version}</version> |
| 103 | + <scope>runtime</scope> |
101 | 104 | </dependency> |
102 | 105 | <dependency> |
103 | 106 | <groupId>org.webjars.npm</groupId> |
104 | 107 | <artifactId>bootstrap</artifactId> |
105 | 108 | <version>${webjars-bootstrap.version}</version> |
| 109 | + <scope>runtime</scope> |
106 | 110 | </dependency> |
107 | 111 | <dependency> |
108 | 112 | <groupId>org.webjars.npm</groupId> |
109 | 113 | <artifactId>font-awesome</artifactId> |
110 | 114 | <version>${webjars-font-awesome.version}</version> |
| 115 | + <scope>runtime</scope> |
111 | 116 | </dependency> |
112 | 117 |
|
113 | 118 | <dependency> |
114 | 119 | <groupId>org.springframework.boot</groupId> |
115 | 120 | <artifactId>spring-boot-devtools</artifactId> |
116 | | - <scope>test</scope> |
| 121 | + <optional>true</optional> |
117 | 122 | </dependency> |
| 123 | + |
118 | 124 | <dependency> |
119 | 125 | <groupId>org.springframework.boot</groupId> |
120 | 126 | <artifactId>spring-boot-starter-data-jpa-test</artifactId> |
|
150 | 156 | <artifactId>testcontainers-mysql</artifactId> |
151 | 157 | <scope>test</scope> |
152 | 158 | </dependency> |
153 | | - |
154 | | - <dependency> |
155 | | - <groupId>jakarta.xml.bind</groupId> |
156 | | - <artifactId>jakarta.xml.bind-api</artifactId> |
157 | | - </dependency> |
158 | | - |
159 | 159 | </dependencies> |
160 | 160 |
|
161 | 161 | <build> |
|
288 | 288 | <groupId>org.cyclonedx</groupId> |
289 | 289 | <artifactId>cyclonedx-maven-plugin</artifactId> |
290 | 290 | </plugin> |
291 | | - |
292 | 291 | </plugins> |
293 | 292 | </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 | | - |
301 | 293 | <profiles> |
302 | 294 | <profile> |
303 | 295 | <id>css</id> |
|
327 | 319 | </execution> |
328 | 320 | </executions> |
329 | 321 | </plugin> |
330 | | - |
331 | 322 | <plugin> |
332 | 323 | <groupId>com.gitlab.haynes</groupId> |
333 | 324 | <artifactId>libsass-maven-plugin</artifactId> |
|
0 commit comments