Skip to content

Commit e438e82

Browse files
committed
Minor improvements
1 parent 8596f2f commit e438e82

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

pom.xml

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,35 @@
99
<packaging>war</packaging>
1010

1111
<!-- Inherit defaults from Spring Boot -->
12+
<!-- With this starter it is easier to override versions of libraries -->
1213
<parent>
1314
<groupId>org.springframework.boot</groupId>
1415
<artifactId>spring-boot-starter-parent</artifactId>
1516
<version>1.4.1.RELEASE</version>
1617
</parent>
1718

19+
<!-- Spring IO Platform for dependency management -->
20+
<!-- If you are using platform-bom, disable spring-boot-starter-parent -->
21+
<!--<dependencyManagement>-->
22+
<!--<dependencies>-->
23+
<!--<dependency>-->
24+
<!--<groupId>io.spring.platform</groupId>-->
25+
<!--<artifactId>platform-bom</artifactId>-->
26+
<!--<version>2.0.8.RELEASE</version>-->
27+
<!--<type>pom</type>-->
28+
<!--<scope>import</scope>-->
29+
<!--</dependency>-->
30+
<!--</dependencies>-->
31+
<!--</dependencyManagement>-->
32+
1833
<properties>
1934
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2035
<java.version>1.8</java.version>
2136
<maven.compiler.source>${java.version}</maven.compiler.source>
2237
<maven.compiler.target>${java.version}</maven.compiler.target>
2338
<failOnMissingWebXml>false</failOnMissingWebXml>
2439
<!-- Overriding version of selected dependencies -->
40+
<!-- Work when using spring-boot-starter-parent, not platform-bom -->
2541
<thymeleaf.version>3.0.1.RELEASE</thymeleaf.version>
2642
<thymeleaf-extras-java8time.version>3.0.0.RELEASE</thymeleaf-extras-java8time.version>
2743
<thymeleaf-layout-dialect.version>2.0.1</thymeleaf-layout-dialect.version>
@@ -70,13 +86,11 @@
7086
<scope>test</scope>
7187
</dependency>
7288
<!-- Provided (for embedded war support) -->
73-
<!--
74-
<dependency>
75-
<groupId>org.springframework.boot</groupId>
76-
<artifactId>spring-boot-starter-tomcat</artifactId>
77-
<scope>provided</scope>
78-
</dependency>
79-
-->
89+
<!--<dependency>-->
90+
<!--<groupId>org.springframework.boot</groupId>-->
91+
<!--<artifactId>spring-boot-starter-tomcat</artifactId>-->
92+
<!--<scope>provided</scope>-->
93+
<!--</dependency>-->
8094
</dependencies>
8195

8296
<!-- Package as an executable jar -->

0 commit comments

Comments
 (0)