Skip to content

Commit a6c84fd

Browse files
JeffLi1993liqiangqiang
authored andcommitted
Spring Boot 集成 Freemarker
1 parent 039a866 commit a6c84fd

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

springboot-freemarker/pom.xml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<groupId>springboot</groupId>
7+
<artifactId>springboot-freemarker</artifactId>
8+
<version>0.0.1-SNAPSHOT</version>
9+
<name>springboot-freemarker :: Spring Boot 集成 FreeMarker 案例</name>
10+
11+
<!-- Spring Boot 启动父依赖 -->
12+
<parent>
13+
<groupId>org.springframework.boot</groupId>
14+
<artifactId>spring-boot-starter-parent</artifactId>
15+
<version>1.5.1.RELEASE</version>
16+
</parent>
17+
18+
<properties>
19+
<mybatis-spring-boot>1.2.0</mybatis-spring-boot>
20+
<mysql-connector>5.1.39</mysql-connector>
21+
</properties>
22+
23+
<dependencies>
24+
<!-- Spring Boot Freemarker 依赖 -->
25+
<dependency>
26+
<groupId>org.springframework.boot</groupId>
27+
<artifactId>spring-boot-starter-freemarker</artifactId>
28+
</dependency>
29+
30+
<!-- Spring Boot Web 依赖 -->
31+
<dependency>
32+
<groupId>org.springframework.boot</groupId>
33+
<artifactId>spring-boot-starter-web</artifactId>
34+
</dependency>
35+
36+
<!-- Spring Boot Test 依赖 -->
37+
<dependency>
38+
<groupId>org.springframework.boot</groupId>
39+
<artifactId>spring-boot-starter-test</artifactId>
40+
<scope>test</scope>
41+
</dependency>
42+
43+
<!-- Spring Boot Mybatis 依赖 -->
44+
<dependency>
45+
<groupId>org.mybatis.spring.boot</groupId>
46+
<artifactId>mybatis-spring-boot-starter</artifactId>
47+
<version>${mybatis-spring-boot}</version>
48+
</dependency>
49+
50+
<!-- MySQL 连接驱动依赖 -->
51+
<dependency>
52+
<groupId>mysql</groupId>
53+
<artifactId>mysql-connector-java</artifactId>
54+
<version>${mysql-connector}</version>
55+
</dependency>
56+
57+
<!-- Junit -->
58+
<dependency>
59+
<groupId>junit</groupId>
60+
<artifactId>junit</artifactId>
61+
<version>4.12</version>
62+
</dependency>
63+
</dependencies>
64+
</project>

0 commit comments

Comments
 (0)