Browse Source

Add thymeleaf starter

Fixes gh-264
pull/272/head
Dave Syer 12 years ago
parent
commit
607b371706
  1. 15
      spring-boot-samples/spring-boot-sample-actuator-ui/pom.xml
  2. 6
      spring-boot-samples/spring-boot-sample-web-secure/pom.xml
  3. 10
      spring-boot-samples/spring-boot-sample-web-ui/pom.xml
  4. 1
      spring-boot-starters/pom.xml
  5. 5
      spring-boot-starters/spring-boot-starter-parent/pom.xml
  6. 30
      spring-boot-starters/spring-boot-starter-thymeleaf/pom.xml
  7. 1
      spring-boot-starters/spring-boot-starter-thymeleaf/src/main/resources/META-INF/spring.provides

15
spring-boot-samples/spring-boot-sample-actuator-ui/pom.xml

@ -21,20 +21,13 @@ @@ -21,20 +21,13 @@
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>
</dependency>
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf-spring4</artifactId>
<groupId>${project.groupId}</groupId>
<artifactId>spring-boot-starter-security</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jolokia</groupId>

6
spring-boot-samples/spring-boot-sample-web-secure/pom.xml

@ -21,13 +21,9 @@ @@ -21,13 +21,9 @@
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf-spring4</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>spring-boot-starter-test</artifactId>

10
spring-boot-samples/spring-boot-sample-web-ui/pom.xml

@ -16,15 +16,7 @@ @@ -16,15 +16,7 @@
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf-spring4</artifactId>
</dependency>
<dependency>
<groupId>nz.net.ultraq.thymeleaf</groupId>
<artifactId>thymeleaf-layout-dialect</artifactId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>

1
spring-boot-starters/pom.xml

@ -31,6 +31,7 @@ @@ -31,6 +31,7 @@
<module>spring-boot-starter-security</module>
<module>spring-boot-starter-shell-remote</module>
<module>spring-boot-starter-test</module>
<module>spring-boot-starter-thymeleaf</module>
<module>spring-boot-starter-tomcat</module>
<module>spring-boot-starter-web</module>
<module>spring-boot-starter-websocket</module>

5
spring-boot-starters/spring-boot-starter-parent/pom.xml

@ -117,6 +117,11 @@ @@ -117,6 +117,11 @@
<artifactId>spring-boot-starter-test</artifactId>
<version>${spring-boot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
<version>${spring-boot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>

30
spring-boot-starters/spring-boot-starter-thymeleaf/pom.xml

@ -0,0 +1,30 @@ @@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starters</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version>
</parent>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
<packaging>jar</packaging>
<properties>
<main.basedir>${basedir}/../..</main.basedir>
</properties>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf-spring4</artifactId>
</dependency>
<dependency>
<groupId>nz.net.ultraq.thymeleaf</groupId>
<artifactId>thymeleaf-layout-dialect</artifactId>
</dependency>
</dependencies>
</project>

1
spring-boot-starters/spring-boot-starter-thymeleaf/src/main/resources/META-INF/spring.provides

@ -0,0 +1 @@ @@ -0,0 +1 @@
provides: thymeleaf-spring4,thymeleaf-layout-dialect
Loading…
Cancel
Save