1
1

pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.zheng</groupId>
  5. <artifactId>zheng-common</artifactId>
  6. <version>1.0.0</version>
  7. <packaging>jar</packaging>
  8. <name>zheng-common</name>
  9. <url>http://www.zhangshuzheng.cn</url>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <maven.compiler.source>1.7</maven.compiler.source>
  13. <maven.compiler.target>1.7</maven.compiler.target>
  14. <maven.compiler.compilerVersion>1.7</maven.compiler.compilerVersion>
  15. <spring.version>4.3.20.RELEASE</spring.version>
  16. <spring-security.version>4.2.8.RELEASE</spring-security.version>
  17. <mybatis.version>3.4.2</mybatis.version>
  18. <mybatis-spring.version>1.3.1</mybatis-spring.version>
  19. <mybatis-pagehelper.version>5.0.1</mybatis-pagehelper.version>
  20. <mybatis-generator.version>1.3.5</mybatis-generator.version>
  21. <mybatis-ehcache.version>1.0.0</mybatis-ehcache.version>
  22. <ehcache.version>2.10.0</ehcache.version>
  23. <shiro.version>1.3.2</shiro.version>
  24. <thymeleaf.version>3.0.3.RELEASE</thymeleaf.version>
  25. </properties>
  26. <dependencies>
  27. <dependency>
  28. <groupId>junit</groupId>
  29. <artifactId>junit</artifactId>
  30. <version>4.12</version>
  31. <scope>test</scope>
  32. </dependency>
  33. <!-- spring -->
  34. <dependency>
  35. <groupId>org.springframework</groupId>
  36. <artifactId>spring-context-support</artifactId>
  37. <version>${spring.version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework</groupId>
  41. <artifactId>spring-webmvc</artifactId>
  42. <version>${spring.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework</groupId>
  46. <artifactId>spring-jdbc</artifactId>
  47. <version>${spring.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework</groupId>
  51. <artifactId>spring-test</artifactId>
  52. <version>${spring.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework</groupId>
  56. <artifactId>spring-jms</artifactId>
  57. <version>${spring.version}</version>
  58. </dependency>
  59. <!-- spring security -->
  60. <dependency>
  61. <groupId>org.springframework.security</groupId>
  62. <artifactId>spring-security-web</artifactId>
  63. <version>${spring-security.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.security</groupId>
  67. <artifactId>spring-security-config</artifactId>
  68. <version>${spring-security.version}</version>
  69. </dependency>
  70. <!--spring-session-->
  71. <dependency>
  72. <groupId>org.springframework.session</groupId>
  73. <artifactId>spring-session-data-redis</artifactId>
  74. <version>1.3.0.RELEASE</version>
  75. </dependency>
  76. <!-- shiro -->
  77. <dependency>
  78. <groupId>org.apache.shiro</groupId>
  79. <artifactId>shiro-core</artifactId>
  80. <version>${shiro.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.apache.shiro</groupId>
  84. <artifactId>shiro-web</artifactId>
  85. <version>${shiro.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.shiro</groupId>
  89. <artifactId>shiro-quartz</artifactId>
  90. <version>${shiro.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.apache.shiro</groupId>
  94. <artifactId>shiro-spring</artifactId>
  95. <version>${shiro.version}</version>
  96. </dependency>
  97. <!-- mybatis -->
  98. <dependency>
  99. <groupId>org.mybatis</groupId>
  100. <artifactId>mybatis</artifactId>
  101. <version>${mybatis.version}</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.mybatis</groupId>
  105. <artifactId>mybatis-spring</artifactId>
  106. <version>${mybatis-spring.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.github.pagehelper</groupId>
  110. <artifactId>pagehelper</artifactId>
  111. <version>${mybatis-pagehelper.version}</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.mybatis.generator</groupId>
  115. <artifactId>mybatis-generator-core</artifactId>
  116. <version>${mybatis-generator.version}</version>
  117. </dependency>
  118. <!-- dubbo -->
  119. <dependency>
  120. <groupId>com.alibaba</groupId>
  121. <artifactId>dubbo</artifactId>
  122. <version>2.5.6</version>
  123. <exclusions>
  124. <exclusion>
  125. <groupId>org.springframework</groupId>
  126. <artifactId>spring</artifactId>
  127. </exclusion>
  128. </exclusions>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.github.sgroschupf</groupId>
  132. <artifactId>zkclient</artifactId>
  133. <version>0.1</version>
  134. </dependency>
  135. <!-- velocity模板引擎 -->
  136. <dependency>
  137. <groupId>org.apache.velocity</groupId>
  138. <artifactId>velocity</artifactId>
  139. <version>1.7</version>
  140. </dependency>
  141. <!-- 缓存 -->
  142. <dependency>
  143. <groupId>net.sf.ehcache</groupId>
  144. <artifactId>ehcache</artifactId>
  145. <version>${ehcache.version}</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.mybatis</groupId>
  149. <artifactId>mybatis-ehcache</artifactId>
  150. <version>${mybatis-ehcache.version}</version>
  151. <exclusions>
  152. <exclusion>
  153. <groupId>net.sf.ehcache</groupId>
  154. <artifactId>ehcache-core</artifactId>
  155. </exclusion>
  156. </exclusions>
  157. </dependency>
  158. <!-- mysql -->
  159. <dependency>
  160. <groupId>mysql</groupId>
  161. <artifactId>mysql-connector-java</artifactId>
  162. <version>5.1.34</version>
  163. <scope>runtime</scope>
  164. </dependency>
  165. <dependency>
  166. <groupId>com.alibaba</groupId>
  167. <artifactId>druid</artifactId>
  168. <version>1.0.14</version>
  169. </dependency>
  170. <!-- redis -->
  171. <dependency>
  172. <groupId>redis.clients</groupId>
  173. <artifactId>jedis</artifactId>
  174. <version>2.9.0</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>org.springframework.data</groupId>
  178. <artifactId>spring-data-redis</artifactId>
  179. <version>1.7.5.RELEASE</version>
  180. </dependency>
  181. <!-- 日志 -->
  182. <dependency>
  183. <groupId>org.slf4j</groupId>
  184. <artifactId>slf4j-api</artifactId>
  185. <version>1.7.12</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>org.slf4j</groupId>
  189. <artifactId>slf4j-log4j12</artifactId>
  190. <version>1.7.12</version>
  191. </dependency>
  192. <!-- 上传 -->
  193. <dependency>
  194. <groupId>commons-fileupload</groupId>
  195. <artifactId>commons-fileupload</artifactId>
  196. <version>1.3.3</version>
  197. </dependency>
  198. <!-- swagger2 -->
  199. <dependency>
  200. <groupId>io.springfox</groupId>
  201. <artifactId>springfox-swagger2</artifactId>
  202. <version>2.4.0</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>io.springfox</groupId>
  206. <artifactId>springfox-swagger-ui</artifactId>
  207. <version>2.4.0</version>
  208. </dependency>
  209. <!-- 常用工具包 -->
  210. <dependency>
  211. <groupId>commons-beanutils</groupId>
  212. <artifactId>commons-beanutils</artifactId>
  213. <version>1.9.3</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>commons-lang</groupId>
  217. <artifactId>commons-lang</artifactId>
  218. <version>2.6</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>commons-codec</groupId>
  222. <artifactId>commons-codec</artifactId>
  223. <version>1.10</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>org.apache.commons</groupId>
  227. <artifactId>commons-compress</artifactId>
  228. <version>1.18</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.projectlombok</groupId>
  232. <artifactId>lombok</artifactId>
  233. <version>1.16.18</version>
  234. </dependency>
  235. <!-- Hibernate Validator -->
  236. <dependency>
  237. <groupId>javax.persistence</groupId>
  238. <artifactId>persistence-api</artifactId>
  239. <version>1.0.2</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>javax.validation</groupId>
  243. <artifactId>validation-api</artifactId>
  244. <version>1.1.0.Final</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>org.hibernate</groupId>
  248. <artifactId>hibernate-validator</artifactId>
  249. <version>5.2.2.Final</version>
  250. </dependency>
  251. <!-- fluent-validator -->
  252. <dependency>
  253. <groupId>com.baidu.unbiz</groupId>
  254. <artifactId>fluent-validator</artifactId>
  255. <version>1.0.6</version>
  256. </dependency>
  257. <!-- Thymeleaf -->
  258. <dependency>
  259. <groupId>org.thymeleaf</groupId>
  260. <artifactId>thymeleaf-spring4</artifactId>
  261. <version>${thymeleaf.version}</version>
  262. </dependency>
  263. <!-- ActiveMQ -->
  264. <dependency>
  265. <groupId>org.apache.activemq</groupId>
  266. <artifactId>activemq-core</artifactId>
  267. <version>5.7.0</version>
  268. </dependency>
  269. <!-- json -->
  270. <dependency>
  271. <groupId>net.sf.json-lib</groupId>
  272. <artifactId>json-lib</artifactId>
  273. <version>2.4</version>
  274. <classifier>jdk15</classifier>
  275. </dependency>
  276. <dependency>
  277. <groupId>com.alibaba</groupId>
  278. <artifactId>fastjson</artifactId>
  279. <version>1.2.28</version>
  280. </dependency>
  281. <dependency>
  282. <groupId>com.fasterxml.jackson.core</groupId>
  283. <artifactId>jackson-core</artifactId>
  284. <version>2.9.9.3</version>
  285. </dependency>
  286. <dependency>
  287. <groupId>com.fasterxml.jackson.core</groupId>
  288. <artifactId>jackson-databind</artifactId>
  289. <version>2.9.9.3</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>com.fasterxml.jackson.core</groupId>
  293. <artifactId>jackson-annotations</artifactId>
  294. <version>2.9.9.3</version>
  295. </dependency>
  296. <!-- java mail -->
  297. <dependency>
  298. <groupId>javax.mail</groupId>
  299. <artifactId>mail</artifactId>
  300. <version>1.4.7</version>
  301. </dependency>
  302. <!-- httpclient -->
  303. <dependency>
  304. <groupId>org.apache.httpcomponents</groupId>
  305. <artifactId>httpclient</artifactId>
  306. <version>4.5.2</version>
  307. </dependency>
  308. <!-- aspectj -->
  309. <dependency>
  310. <groupId>org.aspectj</groupId>
  311. <artifactId>aspectjweaver</artifactId>
  312. <version>1.8.8</version>
  313. </dependency>
  314. <!-- servlet -->
  315. <dependency>
  316. <groupId>javax.servlet</groupId>
  317. <artifactId>servlet-api</artifactId>
  318. <version>2.5</version>
  319. <scope>provided</scope>
  320. </dependency>
  321. <dependency>
  322. <groupId>javax.servlet</groupId>
  323. <artifactId>jstl</artifactId>
  324. <version>1.2</version>
  325. </dependency>
  326. </dependencies>
  327. <build>
  328. <finalName>zheng-common</finalName>
  329. <plugins>
  330. <plugin>
  331. <groupId>org.apache.maven.plugins</groupId>
  332. <artifactId>maven-surefire-plugin</artifactId>
  333. <version>2.18.1</version>
  334. <configuration>
  335. <skipTests>true</skipTests>
  336. <testFailureIgnore>true</testFailureIgnore>
  337. </configuration>
  338. </plugin>
  339. </plugins>
  340. </build>
  341. </project>