1
+ <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" >
2
+ <modelVersion >4.0.0</modelVersion >
3
+ <groupId >com.study</groupId >
4
+ <artifactId >springsecurity01</artifactId >
5
+ <version >0.0.1-SNAPSHOT</version >
6
+ <packaging >war</packaging >
7
+
8
+ <properties >
9
+ <!-- spring版本号 -->
10
+ <spring .version>4.3.5.RELEASE</spring .version>
11
+ <!-- log4j日志文件管理包版本 -->
12
+ <slf4j .version>1.7.7</slf4j .version>
13
+ <log4j .version>1.2.17</log4j .version>
14
+ <springsecurity .version>4.2.1.RELEASE</springsecurity .version>
15
+ </properties >
16
+
17
+ <dependencies >
18
+ <dependency >
19
+ <groupId >org.springframework</groupId >
20
+ <artifactId >spring-webmvc</artifactId >
21
+ <version >${spring.version} </version >
22
+ </dependency >
23
+
24
+ <dependency >
25
+ <groupId >org.springframework.security</groupId >
26
+ <artifactId >spring-security-web</artifactId >
27
+ <version >${springsecurity.version} </version >
28
+ </dependency >
29
+ <dependency >
30
+ <groupId >org.springframework.security</groupId >
31
+ <artifactId >spring-security-config</artifactId >
32
+ <version >${springsecurity.version} </version >
33
+ </dependency >
34
+
35
+ <dependency >
36
+ <groupId >org.springframework.security</groupId >
37
+ <artifactId >spring-security-taglibs</artifactId >
38
+ <version >${springsecurity.version} </version >
39
+ </dependency >
40
+
41
+ <dependency >
42
+ <groupId >mysql</groupId >
43
+ <artifactId >mysql-connector-java</artifactId >
44
+ <version >5.1.27</version >
45
+ <type >jar</type >
46
+ <scope >compile</scope >
47
+ </dependency >
48
+
49
+ <dependency >
50
+ <groupId >javax.servlet</groupId >
51
+ <artifactId >javax.servlet-api</artifactId >
52
+ <version >3.1.0</version >
53
+ <scope >provided</scope >
54
+ </dependency >
55
+ <!-- tomcat jstl -->
56
+ <dependency >
57
+ <groupId >jstl</groupId >
58
+ <artifactId >jstl</artifactId >
59
+ <version >1.2</version >
60
+ </dependency >
61
+ <dependency >
62
+ <groupId >javax.servlet</groupId >
63
+ <artifactId >jsp-api</artifactId >
64
+ <version >2.0</version >
65
+ <scope >provided</scope >
66
+ </dependency >
67
+
68
+
69
+ <dependency >
70
+ <groupId >commons-logging</groupId >
71
+ <artifactId >commons-logging</artifactId >
72
+ <version >1.2</version >
73
+ </dependency >
74
+
75
+ <!-- 日志文件管理包 -->
76
+ <!-- log start -->
77
+ <dependency >
78
+ <groupId >log4j</groupId >
79
+ <artifactId >log4j</artifactId >
80
+ <version >${log4j.version} </version >
81
+ </dependency >
82
+ <!-- mybatis核心包 -->
83
+ <dependency >
84
+ <groupId >org.mybatis</groupId >
85
+ <artifactId >mybatis</artifactId >
86
+ <version >3.2.8</version >
87
+ </dependency >
88
+ <!-- mybatis/spring包 -->
89
+ <dependency >
90
+ <groupId >org.mybatis</groupId >
91
+ <artifactId >mybatis-spring</artifactId >
92
+ <version >1.2.2</version >
93
+ </dependency >
94
+
95
+ <!-- 单元测试依赖 -->
96
+ <dependency >
97
+ <groupId >junit</groupId >
98
+ <artifactId >junit</artifactId >
99
+ <version >4.12</version >
100
+ <scope >test</scope >
101
+ </dependency >
102
+
103
+ <!-- spring单元测试依赖 -->
104
+ <dependency >
105
+ <groupId >org.springframework</groupId >
106
+ <artifactId >spring-test</artifactId >
107
+ <version >${spring.version} </version >
108
+ <scope >test</scope >
109
+ </dependency >
110
+ <dependency >
111
+ <groupId >com.alibaba</groupId >
112
+ <artifactId >fastjson</artifactId >
113
+ <version >1.2.15</version >
114
+ </dependency >
115
+
116
+ <dependency >
117
+ <groupId >com.github.pagehelper</groupId >
118
+ <artifactId >pagehelper</artifactId >
119
+ <version >4.1.4</version >
120
+ </dependency >
121
+
122
+ </dependencies >
123
+ <build >
124
+ <plugins >
125
+ <!-- define the project compile level -->
126
+ <plugin >
127
+ <groupId >org.apache.maven.plugins</groupId >
128
+ <artifactId >maven-compiler-plugin</artifactId >
129
+ <version >2.3.2</version >
130
+ <configuration >
131
+ <source >1.7</source >
132
+ <target >1.7</target >
133
+ </configuration >
134
+ </plugin >
135
+ </plugins >
136
+ </build >
137
+ </project >
0 commit comments