Skip to content

Commit 10c4d8f

Browse files
author
Rob Winch
committed
SEC-2651: Update Thymeleaf to Spring 4 variants in samples
1 parent cb94fb2 commit 10c4d8f

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

gradle/javaprojects.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ext.seleniumVersion = '2.33.0'
2727
ext.groovyVersion = '2.0.5'
2828
ext.spockVersion = '0.7-groovy-2.0'
2929
ext.gebVersion = '0.9.0'
30-
ext.thymeleafVersion = '2.1.2.RELEASE'
30+
ext.thymeleafVersion = '2.1.3.RELEASE'
3131

3232
ext.spockDependencies = [
3333
dependencies.create("org.spockframework:spock-spring:$spockVersion") {

samples/messages-jc/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ dependencies {
1919
"org.springframework:spring-instrument:$springVersion",
2020
"org.springframework:spring-core:$springVersion",
2121
"org.springframework:spring-aspects:$springVersion",
22-
"org.thymeleaf:thymeleaf-spring3:$thymeleafVersion",
23-
"org.thymeleaf.extras:thymeleaf-extras-tiles2:2.1.0.RELEASE"
22+
"org.thymeleaf:thymeleaf-spring4:$thymeleafVersion",
23+
"org.thymeleaf.extras:thymeleaf-extras-tiles2-spring4:2.1.1.RELEASE"
2424
compile('org.hibernate:hibernate-entitymanager:3.6.10.Final') {
2525
exclude group:'javassist', module: 'javassist'
2626
}

samples/messages-jc/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,14 +177,14 @@
177177
</dependency>
178178
<dependency>
179179
<groupId>org.thymeleaf.extras</groupId>
180-
<artifactId>thymeleaf-extras-tiles2</artifactId>
181-
<version>2.1.0.RELEASE</version>
180+
<artifactId>thymeleaf-extras-tiles2-spring4</artifactId>
181+
<version>2.1.1.RELEASE</version>
182182
<scope>compile</scope>
183183
</dependency>
184184
<dependency>
185185
<groupId>org.thymeleaf</groupId>
186-
<artifactId>thymeleaf-spring3</artifactId>
187-
<version>2.1.2.RELEASE</version>
186+
<artifactId>thymeleaf-spring4</artifactId>
187+
<version>2.1.3.RELEASE</version>
188188
<scope>compile</scope>
189189
</dependency>
190190
<dependency>

samples/messages-jc/src/main/java/org/springframework/security/samples/mvc/config/WebMvcConfiguration.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
1212
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
1313
import org.thymeleaf.extras.tiles2.dialect.TilesDialect;
14-
import org.thymeleaf.extras.tiles2.spring.web.configurer.ThymeleafTilesConfigurer;
15-
import org.thymeleaf.extras.tiles2.spring.web.view.ThymeleafTilesView;
16-
import org.thymeleaf.spring3.SpringTemplateEngine;
17-
import org.thymeleaf.spring3.view.ThymeleafViewResolver;
14+
import org.thymeleaf.extras.tiles2.spring4.web.configurer.ThymeleafTilesConfigurer;
15+
import org.thymeleaf.extras.tiles2.spring4.web.view.ThymeleafTilesView;
16+
import org.thymeleaf.spring4.SpringTemplateEngine;
17+
import org.thymeleaf.spring4.view.ThymeleafViewResolver;
1818
import org.thymeleaf.templateresolver.ClassLoaderTemplateResolver;
1919

2020
@EnableWebMvc

samples/messages-jc/src/main/resources/views/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring3-3.dtd">
1+
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-3.dtd">
22
<html xmlns="http://www.w3.org/1999/xhtml"
33
xmlns:th="http://www.thymeleaf.org"
44
xmlns:tiles="http://www.thymeleaf.org">

0 commit comments

Comments
 (0)