forked from nuitcoder/neubbs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
326 lines (299 loc) · 10.6 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
<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/maven-v4_0_0.xsd">
<!-- 项目描述 -->
<modelVersion>4.0.0</modelVersion> <!-- POM 模型版本 -->
<groupId>org.neusoft</groupId> <!-- 非盈利 + 组织名(全球唯一)-->
<artifactId>neubbs</artifactId> <!-- 构件标识(不同项目唯一) -->
<packaging>war</packaging> <!-- 项目打包机制 -->
<version>1.0-SNAPSHOT</version> <!-- 项目当前版本号(主版本.次版本.增量版本-限定版本号,SNAPSHOT快照版本) -->
<name>neubbs Maven Webapp</name> <!-- 项目名称(文档用途) -->
<url>https://github.com/nuitcoder/neubbs</url> <!-- 项目主页URL(文档用途) -->
<description>东软校内论坛 Neubbs</description> <!-- 项目描述 -->
<!-- 开发团队 -->
<developers>
<developer>
<id>ahonn</id> <!-- id(唯一标识)-->
<name>Ahonn</name> <!-- 名称 -->
<email></email> <!-- 邮箱 -->
<url>http://www.ahonn.me/</url> <!-- 个人主页 -->
<organization>nuitcoder</organization> <!-- 组织 -->
</developer>
<developer>
<id>AnAndroidXiang</id>
<name>AnAndroidXiang</name>
<organization>nuitcoder</organization>
</developer>
<developer>
<id>kayye</id>
<name>kayye</name>
<organization>nuitcoder</organization>
</developer>
<developer>
<id>topLynch</id>
<name>topLynch</name>
<organization>nuitcoder</organization>
</developer>
<developer>
<id>Nancyshan</id>
<name>Nancyshan</name>
<organization>nuitcoder</organization>
</developer>
<developer>
<id>suvan</id>
<name>Suvan-L</name>
<email>[email protected]</email>
<url>www.liushuwei.cn</url>
<organization>nuitcoder</organization>
</developer>
</developers>
<!-- 配置插件 -->
<build>
<finalName>neubbs</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId><!-- Java编译插件 -->
<configuration>
<source>1.8</source> <!-- java源码版本 -->
<target>1.8</target> <!-- java编译后版本 -->
</configuration>
</plugin>
</plugins>
</build>
<!-- 自定义参数 -->
<properties>
<!-- 项目编码 -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- 项目依赖版本参数(主要多依赖相同版本) -->
<spring.version>4.1.7.RELEASE</spring.version>
<mybatis.version>3.2.6</mybatis.version>
<mybatis-spring.version>1.2.2</mybatis-spring.version>
<slf4j.version>1.7.7</slf4j.version>
<log4j.version>1.2.17</log4j.version>
<fasterxml.jackson.version>2.8.5</fasterxml.jackson.version>
<codehaus.jackson.version>1.9.13</codehaus.jackson.version>
</properties>
<!-- 项目依赖 -->
<dependencies>
<!-- Spring -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-oxm</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId> <!-- Spring测试框架 -->
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId> <!-- SpringMVC文件上传包(Spring 强制依赖) -->
<version>1.3.1</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.9</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-redis</artifactId> <!-- Spring整合Redis配置 -->
<version>1.4.2.RELEASE</version>
</dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId> <!-- Jedis库(log 连接 Redis) -->
<version>2.6.0</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId> <!-- Spring AOP + AspectJ -->
<artifactId>spring-aop</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>1.8.11</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>1.8.11</version>
</dependency>
<dependency>
<groupId>cglib</groupId> <!-- 实现 AOP 代理类,产生不面向接口的代理 -->
<artifactId>cglib</artifactId>
<version>3.2.5</version>
</dependency>
<!-- MyBatis -->
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>${mybatis.version}</version>
</dependency>
<dependency>
<groupId>org.mybatis</groupId> <!-- MyBatis/Spring -->
<artifactId>mybatis-spring</artifactId>
<version>${mybatis-spring.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId> <!-- MySQL驱动包 -->
<version>5.1.30</version>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId> <!-- DBCP 连接池包(在 spring-mybatis-context.xml 配置连接池 ) -->
<version>1.2.2</version>
</dependency>
<!-- Log4j-->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- JSON -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId><!-- (jackson 是 Spring 的基础 JSON包) -->
<version>${fasterxml.jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${fasterxml.jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${fasterxml.jackson.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<version>${codehaus.jackson.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
<version>${codehaus.jackson.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.1.41</version>
</dependency>
<!-- Java EE -->
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId><!-- ja -->
<version>8.0</version>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId> <!--JavaMail包[发送邮件]-->
<version>1.4.7</version>
</dependency>
<dependency>
<groupId>jstl</groupId>
<artifactId>jstl</artifactId> <!-- JSTL 标签库 -->
<version>1.2</version>
</dependency>
<!-- JUnit 4 -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope> <!-- 表示开发的时候引入,发布的时候不会加载此包 -->
</dependency>
<dependency>
<groupId>org.mockito</groupId><!-- MockMvc 测试 Controller 的 api -->
<artifactId>mockito-core</artifactId>
<version>2.2.9</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.el</artifactId>
<version>3.0.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.jayway.jsonpath</groupId> <!-- mvc 测试,MockMvcResultMatchers.jsonPath() -->
<artifactId>json-path</artifactId>
<version>2.2.0</version>
<scope>test</scope>
</dependency>
<!-- JWT(JSON Web Token) -->
<dependency>
<groupId>com.auth0</groupId>
<artifactId>java-jwt</artifactId><!-- jwt 库(用于 api 权限验证,加密与解密) -->
<version>3.2.0</version>
</dependency>
<!-- 图片验证码 -->
<dependency>
<groupId>com.github.penggle</groupId>
<artifactId>kaptcha</artifactId>
<version>2.3.2</version>
</dependency>
<!-- ftp 服务对接 -->
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>3.6</version>
</dependency>
<!-- 提供 StringEscapeUtils 工具类 -->
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
</dependencies>
</project>