pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  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.7.RELEASE</spring.version>
  16. <spring-security.version>4.1.3.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.1</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.12</version>
  229. </dependency>
  230. <!-- Hibernate Validator -->
  231. <dependency>
  232. <groupId>javax.persistence</groupId>
  233. <artifactId>persistence-api</artifactId>
  234. <version>1.0.2</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>javax.validation</groupId>
  238. <artifactId>validation-api</artifactId>
  239. <version>1.1.0.Final</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>org.hibernate</groupId>
  243. <artifactId>hibernate-validator</artifactId>
  244. <version>5.2.2.Final</version>
  245. </dependency>
  246. <!-- fluent-validator -->
  247. <dependency>
  248. <groupId>com.baidu.unbiz</groupId>
  249. <artifactId>fluent-validator</artifactId>
  250. <version>1.0.6</version>
  251. </dependency>
  252. <!-- Thymeleaf -->
  253. <dependency>
  254. <groupId>org.thymeleaf</groupId>
  255. <artifactId>thymeleaf-spring4</artifactId>
  256. <version>${thymeleaf.version}</version>
  257. </dependency>
  258. <!-- ActiveMQ -->
  259. <dependency>
  260. <groupId>org.apache.activemq</groupId>
  261. <artifactId>activemq-core</artifactId>
  262. <version>5.7.0</version>
  263. </dependency>
  264. <!-- json -->
  265. <dependency>
  266. <groupId>net.sf.json-lib</groupId>
  267. <artifactId>json-lib</artifactId>
  268. <version>2.4</version>
  269. <classifier>jdk15</classifier>
  270. </dependency>
  271. <dependency>
  272. <groupId>com.alibaba</groupId>
  273. <artifactId>fastjson</artifactId>
  274. <version>1.2.28</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>com.fasterxml.jackson.core</groupId>
  278. <artifactId>jackson-core</artifactId>
  279. <version>2.6.5</version>
  280. </dependency>
  281. <dependency>
  282. <groupId>com.fasterxml.jackson.core</groupId>
  283. <artifactId>jackson-databind</artifactId>
  284. <version>2.6.5</version>
  285. </dependency>
  286. <dependency>
  287. <groupId>com.fasterxml.jackson.core</groupId>
  288. <artifactId>jackson-annotations</artifactId>
  289. <version>2.6.5</version>
  290. </dependency>
  291. <!-- java mail -->
  292. <dependency>
  293. <groupId>javax.mail</groupId>
  294. <artifactId>mail</artifactId>
  295. <version>1.4.7</version>
  296. </dependency>
  297. <!-- httpclient -->
  298. <dependency>
  299. <groupId>org.apache.httpcomponents</groupId>
  300. <artifactId>httpclient</artifactId>
  301. <version>4.5.2</version>
  302. </dependency>
  303. <!-- aspectj -->
  304. <dependency>
  305. <groupId>org.aspectj</groupId>
  306. <artifactId>aspectjweaver</artifactId>
  307. <version>1.8.8</version>
  308. </dependency>
  309. <!-- servlet -->
  310. <dependency>
  311. <groupId>javax.servlet</groupId>
  312. <artifactId>servlet-api</artifactId>
  313. <version>2.5</version>
  314. <scope>provided</scope>
  315. </dependency>
  316. <dependency>
  317. <groupId>javax.servlet</groupId>
  318. <artifactId>jstl</artifactId>
  319. <version>1.2</version>
  320. </dependency>
  321. </dependencies>
  322. <build>
  323. <finalName>zheng-common</finalName>
  324. <plugins>
  325. <plugin>
  326. <groupId>org.apache.maven.plugins</groupId>
  327. <artifactId>maven-surefire-plugin</artifactId>
  328. <version>2.18.1</version>
  329. <configuration>
  330. <skipTests>true</skipTests>
  331. <testFailureIgnore>true</testFailureIgnore>
  332. </configuration>
  333. </plugin>
  334. </plugins>
  335. </build>
  336. </project>