pom.xml 9.0 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. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>1.5.3.RELEASE</version>
  14. <relativePath/>
  15. </parent>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  19. <java.version>1.7</java.version>
  20. <mybatis-spring-boot>1.2.0</mybatis-spring-boot>
  21. <shiro.version>1.3.2</shiro.version>
  22. </properties>
  23. <dependencies>
  24. <!-- web -->
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. </dependency>
  29. <!-- jpa -->
  30. <!--<dependency>-->
  31. <!--<groupId>org.springframework.boot</groupId>-->
  32. <!--<artifactId>spring-boot-starter-data-jpa</artifactId>-->
  33. <!--</dependency>-->
  34. <!-- mybatis -->
  35. <dependency>
  36. <groupId>org.mybatis.spring.boot</groupId>
  37. <artifactId>mybatis-spring-boot-starter</artifactId>
  38. <version>${mybatis-spring-boot}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.github.pagehelper</groupId>
  42. <artifactId>pagehelper</artifactId>
  43. <version>5.0.1</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.mybatis.generator</groupId>
  47. <artifactId>mybatis-generator-core</artifactId>
  48. <version>1.3.5</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-test</artifactId>
  53. <scope>test</scope>
  54. </dependency>
  55. <!-- aop -->
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-aop</artifactId>
  59. </dependency>
  60. <!-- redis -->
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-data-redis</artifactId>
  64. </dependency>
  65. <!-- security -->
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-security</artifactId>
  69. </dependency>
  70. <!-- mail -->
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-mail</artifactId>
  74. </dependency>
  75. <!-- thymeleaf -->
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  79. </dependency>
  80. <!-- jdbc -->
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-starter-jdbc</artifactId>
  84. </dependency>
  85. <!-- mysql -->
  86. <dependency>
  87. <groupId>mysql</groupId>
  88. <artifactId>mysql-connector-java</artifactId>
  89. <version>5.1.34</version>
  90. <scope>runtime</scope>
  91. </dependency>
  92. <!-- druid -->
  93. <dependency>
  94. <groupId>com.alibaba</groupId>
  95. <artifactId>druid</artifactId>
  96. <version>1.0.14</version>
  97. </dependency>
  98. <!-- dubbo -->
  99. <dependency>
  100. <groupId>io.dubbo.springboot</groupId>
  101. <artifactId>spring-boot-starter-dubbo</artifactId>
  102. <version>1.0.0</version>
  103. </dependency>
  104. <!-- ehcache -->
  105. <dependency>
  106. <groupId>net.sf.ehcache</groupId>
  107. <artifactId>ehcache</artifactId>
  108. <version>${ehcache.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.mybatis</groupId>
  112. <artifactId>mybatis-ehcache</artifactId>
  113. <version>1.0.0</version>
  114. </dependency>
  115. <!-- zkclient -->
  116. <dependency>
  117. <groupId>com.github.sgroschupf</groupId>
  118. <artifactId>zkclient</artifactId>
  119. <version>0.1</version>
  120. </dependency>
  121. <!-- shiro -->
  122. <dependency>
  123. <groupId>org.apache.shiro</groupId>
  124. <artifactId>shiro-core</artifactId>
  125. <version>${shiro.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.apache.shiro</groupId>
  129. <artifactId>shiro-web</artifactId>
  130. <version>${shiro.version}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.apache.shiro</groupId>
  134. <artifactId>shiro-quartz</artifactId>
  135. <version>${shiro.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.apache.shiro</groupId>
  139. <artifactId>shiro-spring</artifactId>
  140. <version>${shiro.version}</version>
  141. </dependency>
  142. <!-- activemq -->
  143. <dependency>
  144. <groupId>org.springframework.boot</groupId>
  145. <artifactId>spring-boot-starter-activemq</artifactId>
  146. </dependency>
  147. <!-- velocity模板引擎 -->
  148. <dependency>
  149. <groupId>org.apache.velocity</groupId>
  150. <artifactId>velocity</artifactId>
  151. <version>1.7</version>
  152. </dependency>
  153. <!-- 日志 -->
  154. <dependency>
  155. <groupId>org.slf4j</groupId>
  156. <artifactId>slf4j-api</artifactId>
  157. <version>1.7.12</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.slf4j</groupId>
  161. <artifactId>slf4j-log4j12</artifactId>
  162. <version>1.7.12</version>
  163. </dependency>
  164. <!-- swagger2 -->
  165. <dependency>
  166. <groupId>io.springfox</groupId>
  167. <artifactId>springfox-swagger2</artifactId>
  168. <version>2.4.0</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>io.springfox</groupId>
  172. <artifactId>springfox-swagger-ui</artifactId>
  173. <version>2.4.0</version>
  174. </dependency>
  175. <!-- json -->
  176. <dependency>
  177. <groupId>com.alibaba</groupId>
  178. <artifactId>fastjson</artifactId>
  179. <version>1.2.28</version>
  180. </dependency>
  181. <!-- Hibernate Validator -->
  182. <dependency>
  183. <groupId>javax.persistence</groupId>
  184. <artifactId>persistence-api</artifactId>
  185. <version>1.0.2</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>javax.validation</groupId>
  189. <artifactId>validation-api</artifactId>
  190. <version>1.1.0.Final</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.hibernate</groupId>
  194. <artifactId>hibernate-validator</artifactId>
  195. <version>5.2.2.Final</version>
  196. </dependency>
  197. <!-- fluent-validator -->
  198. <dependency>
  199. <groupId>com.baidu.unbiz</groupId>
  200. <artifactId>fluent-validator</artifactId>
  201. <version>1.0.6</version>
  202. </dependency>
  203. <!-- 上传 -->
  204. <dependency>
  205. <groupId>commons-fileupload</groupId>
  206. <artifactId>commons-fileupload</artifactId>
  207. <version>1.3.1</version>
  208. </dependency>
  209. <!-- httpclient -->
  210. <dependency>
  211. <groupId>org.apache.httpcomponents</groupId>
  212. <artifactId>httpclient</artifactId>
  213. <version>4.5.2</version>
  214. </dependency>
  215. <!-- 常用工具包 -->
  216. <dependency>
  217. <groupId>commons-beanutils</groupId>
  218. <artifactId>commons-beanutils</artifactId>
  219. <version>1.9.3</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>commons-lang</groupId>
  223. <artifactId>commons-lang</artifactId>
  224. <version>2.6</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>commons-codec</groupId>
  228. <artifactId>commons-codec</artifactId>
  229. <version>1.10</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.apache.commons</groupId>
  233. <artifactId>commons-compress</artifactId>
  234. <version>1.12</version>
  235. </dependency>
  236. </dependencies>
  237. <build>
  238. <finalName>zheng-common</finalName>
  239. <plugins>
  240. <plugin>
  241. <groupId>org.apache.maven.plugins</groupId>
  242. <artifactId>maven-surefire-plugin</artifactId>
  243. <version>2.18.1</version>
  244. <configuration>
  245. <skipTests>true</skipTests>
  246. <testFailureIgnore>true</testFailureIgnore>
  247. </configuration>
  248. </plugin>
  249. </plugins>
  250. </build>
  251. </project>