|
9 | 9 | <packaging>war</packaging>
|
10 | 10 |
|
11 | 11 | <!-- Inherit defaults from Spring Boot -->
|
| 12 | + <!-- With this starter it is easier to override versions of libraries --> |
12 | 13 | <parent>
|
13 | 14 | <groupId>org.springframework.boot</groupId>
|
14 | 15 | <artifactId>spring-boot-starter-parent</artifactId>
|
15 | 16 | <version>1.4.1.RELEASE</version>
|
16 | 17 | </parent>
|
17 | 18 |
|
| 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 | + |
18 | 33 | <properties>
|
19 | 34 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
20 | 35 | <java.version>1.8</java.version>
|
21 | 36 | <maven.compiler.source>${java.version}</maven.compiler.source>
|
22 | 37 | <maven.compiler.target>${java.version}</maven.compiler.target>
|
23 | 38 | <failOnMissingWebXml>false</failOnMissingWebXml>
|
24 | 39 | <!-- Overriding version of selected dependencies -->
|
| 40 | + <!-- Work when using spring-boot-starter-parent, not platform-bom --> |
25 | 41 | <thymeleaf.version>3.0.1.RELEASE</thymeleaf.version>
|
26 | 42 | <thymeleaf-extras-java8time.version>3.0.0.RELEASE</thymeleaf-extras-java8time.version>
|
27 | 43 | <thymeleaf-layout-dialect.version>2.0.1</thymeleaf-layout-dialect.version>
|
|
70 | 86 | <scope>test</scope>
|
71 | 87 | </dependency>
|
72 | 88 | <!-- 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>--> |
80 | 94 | </dependencies>
|
81 | 95 |
|
82 | 96 | <!-- Package as an executable jar -->
|
|
0 commit comments