pom.xml 9.9 KB

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