pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  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.3.RELEASE</spring.version>
  16. <spring-security.version>4.1.3.RELEASE</spring-security.version>
  17. <mybatis.version>3.4.1</mybatis.version>
  18. <mybatis-spring.version>1.3.0</mybatis-spring.version>
  19. <mybatis-generator.version>1.3.5</mybatis-generator.version>
  20. <mybatis-ehcache.version>1.0.0</mybatis-ehcache.version>
  21. <ehcache.version>2.10.0</ehcache.version>
  22. <thymeleaf.version>3.0.2.RELEASE</thymeleaf.version>
  23. </properties>
  24. <dependencies>
  25. <dependency>
  26. <groupId>junit</groupId>
  27. <artifactId>junit</artifactId>
  28. <version>4.12</version>
  29. <scope>test</scope>
  30. </dependency>
  31. <!-- spring -->
  32. <dependency>
  33. <groupId>org.springframework</groupId>
  34. <artifactId>spring-context-support</artifactId>
  35. <version>${spring.version}</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework</groupId>
  39. <artifactId>spring-webmvc</artifactId>
  40. <version>${spring.version}</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework</groupId>
  44. <artifactId>spring-jdbc</artifactId>
  45. <version>${spring.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework</groupId>
  49. <artifactId>spring-test</artifactId>
  50. <version>${spring.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework</groupId>
  54. <artifactId>spring-jms</artifactId>
  55. <version>${spring.version}</version>
  56. </dependency>
  57. <!-- spring security -->
  58. <dependency>
  59. <groupId>org.springframework.security</groupId>
  60. <artifactId>spring-security-web</artifactId>
  61. <version>${spring-security.version}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.security</groupId>
  65. <artifactId>spring-security-config</artifactId>
  66. <version>${spring-security.version}</version>
  67. </dependency>
  68. <!--spring-session-->
  69. <dependency>
  70. <groupId>org.springframework.session</groupId>
  71. <artifactId>spring-session-data-redis</artifactId>
  72. <version>1.3.0.RELEASE</version>
  73. </dependency>
  74. <!-- shiro -->
  75. <dependency>
  76. <groupId>org.apache.shiro</groupId>
  77. <artifactId>shiro-core</artifactId>
  78. <version>1.2.2</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.apache.shiro</groupId>
  82. <artifactId>shiro-web</artifactId>
  83. <version>1.2.2</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.shiro</groupId>
  87. <artifactId>shiro-quartz</artifactId>
  88. <version>1.2.2</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.apache.shiro</groupId>
  92. <artifactId>shiro-spring</artifactId>
  93. <version>1.2.2</version>
  94. </dependency>
  95. <!-- mybatis -->
  96. <dependency>
  97. <groupId>org.mybatis</groupId>
  98. <artifactId>mybatis</artifactId>
  99. <version>${mybatis.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.mybatis</groupId>
  103. <artifactId>mybatis-spring</artifactId>
  104. <version>${mybatis-spring.version}</version>
  105. </dependency>
  106. <!--
  107. <dependency>
  108. <groupId>com.baomidou</groupId>
  109. <artifactId>mybatis-plus</artifactId>
  110. <version>2.0</version>
  111. </dependency>
  112. -->
  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.3</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. </dependency>
  152. <!-- mysql -->
  153. <dependency>
  154. <groupId>mysql</groupId>
  155. <artifactId>mysql-connector-java</artifactId>
  156. <version>5.1.34</version>
  157. <scope>runtime</scope>
  158. </dependency>
  159. <dependency>
  160. <groupId>com.alibaba</groupId>
  161. <artifactId>druid</artifactId>
  162. <version>1.0.14</version>
  163. </dependency>
  164. <!-- redis -->
  165. <dependency>
  166. <groupId>redis.clients</groupId>
  167. <artifactId>jedis</artifactId>
  168. <version>2.9.0</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.springframework.data</groupId>
  172. <artifactId>spring-data-redis</artifactId>
  173. <version>1.7.5.RELEASE</version>
  174. </dependency>
  175. <!-- 日志 -->
  176. <dependency>
  177. <groupId>org.slf4j</groupId>
  178. <artifactId>slf4j-api</artifactId>
  179. <version>1.7.12</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.slf4j</groupId>
  183. <artifactId>slf4j-log4j12</artifactId>
  184. <version>1.7.12</version>
  185. </dependency>
  186. <!-- 上传 -->
  187. <dependency>
  188. <groupId>commons-fileupload</groupId>
  189. <artifactId>commons-fileupload</artifactId>
  190. <version>1.3.1</version>
  191. </dependency>
  192. <!-- swagger2 -->
  193. <dependency>
  194. <groupId>io.springfox</groupId>
  195. <artifactId>springfox-swagger2</artifactId>
  196. <version>2.4.0</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>io.springfox</groupId>
  200. <artifactId>springfox-swagger-ui</artifactId>
  201. <version>2.4.0</version>
  202. </dependency>
  203. <!-- 常用工具包 -->
  204. <dependency>
  205. <groupId>commons-beanutils</groupId>
  206. <artifactId>commons-beanutils</artifactId>
  207. <version>1.9.3</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>commons-lang</groupId>
  211. <artifactId>commons-lang</artifactId>
  212. <version>2.6</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>commons-codec</groupId>
  216. <artifactId>commons-codec</artifactId>
  217. <version>1.10</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.apache.commons</groupId>
  221. <artifactId>commons-compress</artifactId>
  222. <version>1.12</version>
  223. </dependency>
  224. <!-- Hibernate Validator -->
  225. <dependency>
  226. <groupId>javax.persistence</groupId>
  227. <artifactId>persistence-api</artifactId>
  228. <version>1.0.2</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>javax.validation</groupId>
  232. <artifactId>validation-api</artifactId>
  233. <version>1.1.0.Final</version>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.hibernate</groupId>
  237. <artifactId>hibernate-validator</artifactId>
  238. <version>5.2.2.Final</version>
  239. </dependency>
  240. <!-- fluent-validator -->
  241. <dependency>
  242. <groupId>com.baidu.unbiz</groupId>
  243. <artifactId>fluent-validator</artifactId>
  244. <version>1.0.6</version>
  245. </dependency>
  246. <!-- Thymeleaf -->
  247. <dependency>
  248. <groupId>org.thymeleaf</groupId>
  249. <artifactId>thymeleaf</artifactId>
  250. <version>${thymeleaf.version}</version>
  251. </dependency><dependency>
  252. <groupId>org.thymeleaf</groupId>
  253. <artifactId>thymeleaf-spring4</artifactId>
  254. <version>${thymeleaf.version}</version>
  255. </dependency>
  256. <!-- ActiveMQ -->
  257. <dependency>
  258. <groupId>org.apache.activemq</groupId>
  259. <artifactId>activemq-core</artifactId>
  260. <version>5.7.0</version>
  261. </dependency>
  262. <!-- json -->
  263. <dependency>
  264. <groupId>net.sf.json-lib</groupId>
  265. <artifactId>json-lib</artifactId>
  266. <version>2.4</version>
  267. <classifier>jdk15</classifier>
  268. </dependency>
  269. <dependency>
  270. <groupId>com.alibaba</groupId>
  271. <artifactId>fastjson</artifactId>
  272. <version>1.2.22</version>
  273. </dependency>
  274. <dependency>
  275. <groupId>com.fasterxml.jackson.core</groupId>
  276. <artifactId>jackson-core</artifactId>
  277. <version>2.6.5</version>
  278. </dependency>
  279. <dependency>
  280. <groupId>com.fasterxml.jackson.core</groupId>
  281. <artifactId>jackson-databind</artifactId>
  282. <version>2.6.5</version>
  283. </dependency>
  284. <dependency>
  285. <groupId>com.fasterxml.jackson.core</groupId>
  286. <artifactId>jackson-annotations</artifactId>
  287. <version>2.6.5</version>
  288. </dependency>
  289. <!-- java mail -->
  290. <dependency>
  291. <groupId>javax.mail</groupId>
  292. <artifactId>mail</artifactId>
  293. <version>1.4.7</version>
  294. </dependency>
  295. <!-- httpclient -->
  296. <dependency>
  297. <groupId>org.apache.httpcomponents</groupId>
  298. <artifactId>httpclient</artifactId>
  299. <version>4.5.2</version>
  300. </dependency>
  301. <!-- aspectj -->
  302. <dependency>
  303. <groupId>org.aspectj</groupId>
  304. <artifactId>aspectjweaver</artifactId>
  305. <version>1.8.8</version>
  306. </dependency>
  307. <!-- servlet -->
  308. <dependency>
  309. <groupId>javax.servlet</groupId>
  310. <artifactId>servlet-api</artifactId>
  311. <version>2.5</version>
  312. <scope>provided</scope>
  313. </dependency>
  314. <dependency>
  315. <groupId>javax.servlet</groupId>
  316. <artifactId>jstl</artifactId>
  317. <version>1.2</version>
  318. </dependency>
  319. </dependencies>
  320. <build>
  321. <finalName>zheng-common</finalName>
  322. <plugins>
  323. <plugin>
  324. <groupId>org.apache.maven.plugins</groupId>
  325. <artifactId>maven-surefire-plugin</artifactId>
  326. <version>2.18.1</version>
  327. <configuration>
  328. <skipTests>true</skipTests>
  329. <testFailureIgnore>true</testFailureIgnore>
  330. </configuration>
  331. </plugin>
  332. </plugins>
  333. </build>
  334. </project>