pom.xml 12 KB

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