pom.xml 11 KB

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