pom.xml 9.1 KB

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