pom.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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. <parent>
  5. <groupId>com.zheng</groupId>
  6. <artifactId>zheng</artifactId>
  7. <version>1.0.0</version>
  8. </parent>
  9. <artifactId>zheng-common</artifactId>
  10. <packaging>jar</packaging>
  11. <name>zheng-common</name>
  12. <url>http://www.zhangshuzheng.cn</url>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  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. <!-- spring security -->
  53. <dependency>
  54. <groupId>org.springframework.security</groupId>
  55. <artifactId>spring-security-web</artifactId>
  56. <version>${spring-security.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.security</groupId>
  60. <artifactId>spring-security-config</artifactId>
  61. <version>${spring-security.version}</version>
  62. </dependency>
  63. <!-- mybatis -->
  64. <dependency>
  65. <groupId>org.mybatis</groupId>
  66. <artifactId>mybatis</artifactId>
  67. <version>${mybatis.version}</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.mybatis</groupId>
  71. <artifactId>mybatis-spring</artifactId>
  72. <version>${mybatis-spring.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.mybatis.generator</groupId>
  76. <artifactId>mybatis-generator-core</artifactId>
  77. <version>${mybatis-generator.version}</version>
  78. </dependency>
  79. <!-- 缓存 -->
  80. <dependency>
  81. <groupId>net.sf.ehcache</groupId>
  82. <artifactId>ehcache</artifactId>
  83. <version>${ehcache.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.mybatis</groupId>
  87. <artifactId>mybatis-ehcache</artifactId>
  88. <version>${mybatis-ehcache.version}</version>
  89. </dependency>
  90. <!-- 数据库 -->
  91. <dependency>
  92. <groupId>commons-dbcp</groupId>
  93. <artifactId>commons-dbcp</artifactId>
  94. <version>1.4</version>
  95. </dependency>
  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. <!-- 日志 -->
  108. <dependency>
  109. <groupId>org.slf4j</groupId>
  110. <artifactId>slf4j-api</artifactId>
  111. <version>1.7.12</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.slf4j</groupId>
  115. <artifactId>slf4j-log4j12</artifactId>
  116. <version>1.7.12</version>
  117. </dependency>
  118. <!-- 上传 -->
  119. <dependency>
  120. <groupId>commons-fileupload</groupId>
  121. <artifactId>commons-fileupload</artifactId>
  122. <version>1.3.1</version>
  123. </dependency>
  124. <!-- 常用工具包 -->
  125. <dependency>
  126. <groupId>commons-beanutils</groupId>
  127. <artifactId>commons-beanutils</artifactId>
  128. <version>1.9.3</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>commons-lang</groupId>
  132. <artifactId>commons-lang</artifactId>
  133. <version>2.6</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>commons-codec</groupId>
  137. <artifactId>commons-codec</artifactId>
  138. <version>1.10</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>com.fasterxml.jackson.core</groupId>
  142. <artifactId>jackson-databind</artifactId>
  143. <version>2.5.4</version>
  144. </dependency>
  145. <!-- Hibernate Validator -->
  146. <dependency>
  147. <groupId>javax.persistence</groupId>
  148. <artifactId>persistence-api</artifactId>
  149. <version>1.0.2</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>javax.validation</groupId>
  153. <artifactId>validation-api</artifactId>
  154. <version>1.1.0.Final</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.hibernate</groupId>
  158. <artifactId>hibernate-validator</artifactId>
  159. <version>5.2.2.Final</version>
  160. </dependency>
  161. <!-- Thymeleaf -->
  162. <dependency>
  163. <groupId>org.thymeleaf</groupId>
  164. <artifactId>thymeleaf</artifactId>
  165. <version>${thymeleaf.version}</version>
  166. </dependency><dependency>
  167. <groupId>org.thymeleaf</groupId>
  168. <artifactId>thymeleaf-spring4</artifactId>
  169. <version>${thymeleaf.version}</version>
  170. </dependency>
  171. <!-- servlet -->
  172. <dependency>
  173. <groupId>javax.servlet</groupId>
  174. <artifactId>servlet-api</artifactId>
  175. <version>2.5</version>
  176. <scope>provided</scope>
  177. </dependency>
  178. <dependency>
  179. <groupId>javax.servlet</groupId>
  180. <artifactId>jstl</artifactId>
  181. <version>1.2</version>
  182. </dependency>
  183. </dependencies>
  184. </project>