pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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. <!-- shiro -->
  69. <dependency>
  70. <groupId>org.apache.shiro</groupId>
  71. <artifactId>shiro-core</artifactId>
  72. <version>1.2.2</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.apache.shiro</groupId>
  76. <artifactId>shiro-web</artifactId>
  77. <version>1.2.2</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.apache.shiro</groupId>
  81. <artifactId>shiro-quartz</artifactId>
  82. <version>1.2.2</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.apache.shiro</groupId>
  86. <artifactId>shiro-spring</artifactId>
  87. <version>1.2.2</version>
  88. </dependency>
  89. <!-- mybatis -->
  90. <dependency>
  91. <groupId>org.mybatis</groupId>
  92. <artifactId>mybatis</artifactId>
  93. <version>${mybatis.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.mybatis</groupId>
  97. <artifactId>mybatis-spring</artifactId>
  98. <version>${mybatis-spring.version}</version>
  99. </dependency>
  100. <!--
  101. <dependency>
  102. <groupId>com.baomidou</groupId>
  103. <artifactId>mybatis-plus</artifactId>
  104. <version>2.0</version>
  105. </dependency>
  106. -->
  107. <dependency>
  108. <groupId>org.mybatis.generator</groupId>
  109. <artifactId>mybatis-generator-core</artifactId>
  110. <version>${mybatis-generator.version}</version>
  111. </dependency>
  112. <!-- dubbo -->
  113. <dependency>
  114. <groupId>com.alibaba</groupId>
  115. <artifactId>dubbo</artifactId>
  116. <version>2.5.3</version>
  117. <exclusions>
  118. <exclusion>
  119. <groupId>org.springframework</groupId>
  120. <artifactId>spring</artifactId>
  121. </exclusion>
  122. </exclusions>
  123. </dependency>
  124. <dependency>
  125. <groupId>com.github.sgroschupf</groupId>
  126. <artifactId>zkclient</artifactId>
  127. <version>0.1</version>
  128. </dependency>
  129. <!-- velocity模板引擎 -->
  130. <dependency>
  131. <groupId>org.apache.velocity</groupId>
  132. <artifactId>velocity</artifactId>
  133. <version>1.7</version>
  134. </dependency>
  135. <!-- 缓存 -->
  136. <dependency>
  137. <groupId>net.sf.ehcache</groupId>
  138. <artifactId>ehcache</artifactId>
  139. <version>${ehcache.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.mybatis</groupId>
  143. <artifactId>mybatis-ehcache</artifactId>
  144. <version>${mybatis-ehcache.version}</version>
  145. </dependency>
  146. <!-- mysql -->
  147. <dependency>
  148. <groupId>mysql</groupId>
  149. <artifactId>mysql-connector-java</artifactId>
  150. <version>5.1.34</version>
  151. <scope>runtime</scope>
  152. </dependency>
  153. <dependency>
  154. <groupId>com.alibaba</groupId>
  155. <artifactId>druid</artifactId>
  156. <version>1.0.14</version>
  157. </dependency>
  158. <!-- redis -->
  159. <dependency>
  160. <groupId>redis.clients</groupId>
  161. <artifactId>jedis</artifactId>
  162. <version>2.9.0</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.springframework.data</groupId>
  166. <artifactId>spring-data-redis</artifactId>
  167. <version>1.7.5.RELEASE</version>
  168. </dependency>
  169. <!-- 日志 -->
  170. <dependency>
  171. <groupId>org.slf4j</groupId>
  172. <artifactId>slf4j-api</artifactId>
  173. <version>1.7.12</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.slf4j</groupId>
  177. <artifactId>slf4j-log4j12</artifactId>
  178. <version>1.7.12</version>
  179. </dependency>
  180. <!-- 上传 -->
  181. <dependency>
  182. <groupId>commons-fileupload</groupId>
  183. <artifactId>commons-fileupload</artifactId>
  184. <version>1.3.1</version>
  185. </dependency>
  186. <!-- swagger2 -->
  187. <dependency>
  188. <groupId>io.springfox</groupId>
  189. <artifactId>springfox-swagger2</artifactId>
  190. <version>2.4.0</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>io.springfox</groupId>
  194. <artifactId>springfox-swagger-ui</artifactId>
  195. <version>2.4.0</version>
  196. </dependency>
  197. <!-- 常用工具包 -->
  198. <dependency>
  199. <groupId>commons-beanutils</groupId>
  200. <artifactId>commons-beanutils</artifactId>
  201. <version>1.9.3</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>commons-lang</groupId>
  205. <artifactId>commons-lang</artifactId>
  206. <version>2.6</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>commons-codec</groupId>
  210. <artifactId>commons-codec</artifactId>
  211. <version>1.10</version>
  212. </dependency>
  213. <dependency>
  214. <groupId>org.apache.commons</groupId>
  215. <artifactId>commons-compress</artifactId>
  216. <version>1.12</version>
  217. </dependency>
  218. <!-- Hibernate Validator -->
  219. <dependency>
  220. <groupId>javax.persistence</groupId>
  221. <artifactId>persistence-api</artifactId>
  222. <version>1.0.2</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>javax.validation</groupId>
  226. <artifactId>validation-api</artifactId>
  227. <version>1.1.0.Final</version>
  228. </dependency>
  229. <dependency>
  230. <groupId>org.hibernate</groupId>
  231. <artifactId>hibernate-validator</artifactId>
  232. <version>5.2.2.Final</version>
  233. </dependency>
  234. <!-- fluent-validator -->
  235. <dependency>
  236. <groupId>com.baidu.unbiz</groupId>
  237. <artifactId>fluent-validator</artifactId>
  238. <version>1.0.6</version>
  239. </dependency>
  240. <!-- Thymeleaf -->
  241. <dependency>
  242. <groupId>org.thymeleaf</groupId>
  243. <artifactId>thymeleaf</artifactId>
  244. <version>${thymeleaf.version}</version>
  245. </dependency><dependency>
  246. <groupId>org.thymeleaf</groupId>
  247. <artifactId>thymeleaf-spring4</artifactId>
  248. <version>${thymeleaf.version}</version>
  249. </dependency>
  250. <!-- ActiveMQ -->
  251. <dependency>
  252. <groupId>org.apache.activemq</groupId>
  253. <artifactId>activemq-core</artifactId>
  254. <version>5.7.0</version>
  255. </dependency>
  256. <!-- json -->
  257. <dependency>
  258. <groupId>net.sf.json-lib</groupId>
  259. <artifactId>json-lib</artifactId>
  260. <version>2.4</version>
  261. <classifier>jdk15</classifier>
  262. </dependency>
  263. <dependency>
  264. <groupId>com.alibaba</groupId>
  265. <artifactId>fastjson</artifactId>
  266. <version>1.2.22</version>
  267. </dependency>
  268. <dependency>
  269. <groupId>com.fasterxml.jackson.core</groupId>
  270. <artifactId>jackson-core</artifactId>
  271. <version>2.6.5</version>
  272. </dependency>
  273. <dependency>
  274. <groupId>com.fasterxml.jackson.core</groupId>
  275. <artifactId>jackson-databind</artifactId>
  276. <version>2.6.5</version>
  277. </dependency>
  278. <dependency>
  279. <groupId>com.fasterxml.jackson.core</groupId>
  280. <artifactId>jackson-annotations</artifactId>
  281. <version>2.6.5</version>
  282. </dependency>
  283. <!-- java mail -->
  284. <dependency>
  285. <groupId>javax.mail</groupId>
  286. <artifactId>mail</artifactId>
  287. <version>1.4.7</version>
  288. </dependency>
  289. <!-- httpclient -->
  290. <dependency>
  291. <groupId>org.apache.httpcomponents</groupId>
  292. <artifactId>httpclient</artifactId>
  293. <version>4.5.2</version>
  294. </dependency>
  295. <!-- aspectj -->
  296. <dependency>
  297. <groupId>org.aspectj</groupId>
  298. <artifactId>aspectjweaver</artifactId>
  299. <version>1.8.8</version>
  300. </dependency>
  301. <!-- servlet -->
  302. <dependency>
  303. <groupId>javax.servlet</groupId>
  304. <artifactId>servlet-api</artifactId>
  305. <version>2.5</version>
  306. <scope>provided</scope>
  307. </dependency>
  308. <dependency>
  309. <groupId>javax.servlet</groupId>
  310. <artifactId>jstl</artifactId>
  311. <version>1.2</version>
  312. </dependency>
  313. </dependencies>
  314. <build>
  315. <finalName>zheng-common</finalName>
  316. <plugins>
  317. <plugin>
  318. <groupId>org.apache.maven.plugins</groupId>
  319. <artifactId>maven-surefire-plugin</artifactId>
  320. <version>2.18.1</version>
  321. <configuration>
  322. <skipTests>true</skipTests>
  323. <testFailureIgnore>true</testFailureIgnore>
  324. </configuration>
  325. </plugin>
  326. </plugins>
  327. </build>
  328. </project>