|
1 | 1 | <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"> |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | 4 | <groupId>com.baeldung</groupId> |
5 | 5 | <artifactId>spring-thymeleaf</artifactId> |
|
8 | 8 |
|
9 | 9 | <parent> |
10 | 10 | <groupId>com.baeldung</groupId> |
11 | | - <artifactId>parent-modules</artifactId> |
12 | | - <version>1.0.0-SNAPSHOT</version> |
| 11 | + <artifactId>parent-spring-5</artifactId> |
| 12 | + <version>0.0.1-SNAPSHOT</version> |
| 13 | + <relativePath>../parent-spring-5</relativePath> |
13 | 14 | </parent> |
14 | 15 |
|
15 | 16 | <dependencies> |
16 | 17 | <!-- Spring --> |
17 | 18 | <dependency> |
18 | 19 | <groupId>org.springframework</groupId> |
19 | 20 | <artifactId>spring-context</artifactId> |
20 | | - <version>${org.springframework-version}</version> |
| 21 | + <version>${spring.version}</version> |
21 | 22 | <exclusions> |
22 | 23 | <!-- Exclude Commons Logging in favor of SLF4j --> |
23 | 24 | <exclusion> |
|
29 | 30 | <dependency> |
30 | 31 | <groupId>org.springframework</groupId> |
31 | 32 | <artifactId>spring-webmvc</artifactId> |
32 | | - <version>${org.springframework-version}</version> |
| 33 | + <version>${spring.version}</version> |
33 | 34 | </dependency> |
| 35 | + |
| 36 | + <dependency> |
| 37 | + <groupId>org.springframework.data</groupId> |
| 38 | + <artifactId>spring-data-commons</artifactId> |
| 39 | + <version>${spring-data.version}</version> |
| 40 | + </dependency> |
| 41 | + |
| 42 | + <dependency> |
| 43 | + <groupId>javax.validation</groupId> |
| 44 | + <artifactId>validation-api</artifactId> |
| 45 | + <version>${javax.validation-version}</version> |
| 46 | + </dependency> |
| 47 | + <dependency> |
| 48 | + <groupId>org.hibernate.validator</groupId> |
| 49 | + <artifactId>hibernate-validator</artifactId> |
| 50 | + <version>${hibernate-validator.version}</version> |
| 51 | + </dependency> |
| 52 | + |
34 | 53 | <!-- Spring Security --> |
35 | 54 | <dependency> |
36 | 55 | <groupId>org.springframework.security</groupId> |
37 | 56 | <artifactId>spring-security-web</artifactId> |
38 | | - <version>${springframework-security.version}</version> |
| 57 | + <version>${spring-security.version}</version> |
39 | 58 | </dependency> |
40 | 59 | <dependency> |
41 | 60 | <groupId>org.springframework.security</groupId> |
42 | 61 | <artifactId>spring-security-config</artifactId> |
43 | | - <version>${springframework-security.version}</version> |
| 62 | + <version>${spring-security.version}</version> |
44 | 63 | </dependency> |
| 64 | + |
45 | 65 | <!-- Thymeleaf --> |
46 | 66 | <dependency> |
47 | 67 | <groupId>org.thymeleaf</groupId> |
|
50 | 70 | </dependency> |
51 | 71 | <dependency> |
52 | 72 | <groupId>org.thymeleaf</groupId> |
53 | | - <artifactId>thymeleaf-spring4</artifactId> |
| 73 | + <artifactId>thymeleaf-spring5</artifactId> |
54 | 74 | <version>${org.thymeleaf-version}</version> |
55 | 75 | </dependency> |
56 | | - <!-- https://mvnrepository.com/artifact/nz.net.ultraq.thymeleaf/thymeleaf-layout-dialect --> |
57 | 76 | <dependency> |
58 | 77 | <groupId>nz.net.ultraq.thymeleaf</groupId> |
59 | 78 | <artifactId>thymeleaf-layout-dialect</artifactId> |
|
64 | 83 | <artifactId>thymeleaf-extras-java8time</artifactId> |
65 | 84 | <version>${org.thymeleaf.extras-version}</version> |
66 | 85 | </dependency> |
| 86 | + |
67 | 87 | <!-- Servlet --> |
68 | 88 | <dependency> |
69 | 89 | <groupId>javax.servlet</groupId> |
70 | 90 | <artifactId>javax.servlet-api</artifactId> |
71 | | - <version>${javax.servlet-version}</version> |
| 91 | + <version>${javax.servlet-api.version}</version> |
72 | 92 | <scope>provided</scope> |
73 | 93 | </dependency> |
74 | | - <!-- Validation --> |
75 | | - <dependency> |
76 | | - <groupId>javax.validation</groupId> |
77 | | - <artifactId>validation-api</artifactId> |
78 | | - <version>${javax.validation-version}</version> |
79 | | - </dependency> |
80 | | - <dependency> |
81 | | - <groupId>org.hibernate</groupId> |
82 | | - <artifactId>hibernate-validator</artifactId> |
83 | | - <version>${hibernate-validator.version}</version> |
84 | | - </dependency> |
85 | | - <!-- test scoped --> |
86 | 94 |
|
| 95 | + <!-- test scoped --> |
87 | 96 | <dependency> |
88 | 97 | <groupId>org.springframework</groupId> |
89 | 98 | <artifactId>spring-test</artifactId> |
90 | | - <version>${org.springframework-version}</version> |
| 99 | + <version>${spring.version}</version> |
91 | 100 | <scope>test</scope> |
92 | 101 | </dependency> |
93 | 102 |
|
94 | | - <!-- https://mvnrepository.com/artifact/org.springframework.security/spring-security-test --> |
95 | 103 | <dependency> |
96 | 104 | <groupId>org.springframework.security</groupId> |
97 | 105 | <artifactId>spring-security-test</artifactId> |
98 | | - <version>${springframework-security.version}</version> |
| 106 | + <version>${spring-security.version}</version> |
99 | 107 | <scope>test</scope> |
100 | 108 | </dependency> |
101 | | - |
102 | | -<!-- <dependency> |
103 | | - <groupId>org.springframework.boot</groupId> |
104 | | - <artifactId>spring-boot-autoconfigure</artifactId> |
105 | | - <version>2.0.1.RELEASE</version> |
106 | | - <type>jar</type> |
107 | | - </dependency> |
108 | | - |
109 | | - <dependency> |
110 | | - <groupId>org.springframework.boot</groupId> |
111 | | - <artifactId>spring-boot-starter-test</artifactId> |
112 | | - <scope>test</scope> |
113 | | - </dependency> --> |
114 | | - |
115 | | - <!-- Spring data --> |
116 | | - <dependency> |
117 | | - <groupId>org.springframework.data</groupId> |
118 | | - <artifactId>spring-data-commons</artifactId> |
119 | | - <version>${springFramework-data.version}</version> |
120 | | - </dependency> |
121 | 109 |
|
122 | 110 | </dependencies> |
123 | 111 |
|
|
131 | 119 | <failOnMissingWebXml>false</failOnMissingWebXml> |
132 | 120 | </configuration> |
133 | 121 | </plugin> |
134 | | - |
| 122 | + |
135 | 123 | <plugin> |
136 | 124 | <groupId>org.codehaus.cargo</groupId> |
137 | 125 | <artifactId>cargo-maven2-plugin</artifactId> |
|
151 | 139 | </configuration> |
152 | 140 | </configuration> |
153 | 141 | </plugin> |
154 | | - |
| 142 | + |
155 | 143 | <plugin> |
156 | 144 | <groupId>org.apache.tomcat.maven</groupId> |
157 | 145 | <artifactId>tomcat7-maven-plugin</artifactId> |
|
176 | 164 | </build> |
177 | 165 |
|
178 | 166 | <properties> |
179 | | - <!-- spring --> |
180 | | - <org.springframework-version>4.3.4.RELEASE</org.springframework-version> |
181 | | - <springframework-security.version>4.2.0.RELEASE</springframework-security.version> |
182 | | - <springFramework-data.version>2.0.7.RELEASE</springFramework-data.version> |
183 | | - <javax.servlet-version>3.1.0</javax.servlet-version> |
184 | | - <!-- thymeleaf --> |
| 167 | + <spring-data.version>2.0.9.RELEASE</spring-data.version> |
185 | 168 | <org.thymeleaf-version>3.0.9.RELEASE</org.thymeleaf-version> |
186 | | - <org.thymeleaf.extras-version>3.0.0.RELEASE</org.thymeleaf.extras-version> |
187 | | - <thymeleaf-layout-dialect.version>2.1.2</thymeleaf-layout-dialect.version> |
188 | | - <!-- validation --> |
189 | | - <javax.validation-version>1.1.0.Final</javax.validation-version> |
190 | | - <hibernate-validator.version>5.3.3.Final</hibernate-validator.version> |
191 | | - <org.hibernate-version>5.2.5.Final</org.hibernate-version> |
| 169 | + <org.thymeleaf.extras-version>3.0.1.RELEASE</org.thymeleaf.extras-version> |
| 170 | + <thymeleaf-layout-dialect.version>2.3.0</thymeleaf-layout-dialect.version> |
| 171 | + <javax.validation-version>2.0.1.Final</javax.validation-version> |
| 172 | + <hibernate-validator.version>6.0.11.Final</hibernate-validator.version> |
192 | 173 |
|
193 | 174 | <!-- Maven plugins --> |
194 | | - <maven-war-plugin.version>2.6</maven-war-plugin.version> |
195 | 175 | <cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version> |
196 | 176 | <tomcat7-maven-plugin.version>2.2</tomcat7-maven-plugin.version> |
197 | 177 | </properties> |
|
0 commit comments