pom.xml 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.demo</groupId>
  7. <artifactId>wjjjava</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>pom</packaging>
  10. <modules>
  11. <module>wjj-core</module>
  12. <module>wjj-api</module>
  13. </modules>
  14. <!--version-->
  15. <properties>
  16. <slf4j.version>1.7.25</slf4j.version>
  17. <logback.version>1.2.3</logback.version>
  18. <spring.version>4.3.20.RELEASE</spring.version>
  19. <mybatis.version>3.4.6</mybatis.version>
  20. <mybatis.spring.version>1.3.2</mybatis.spring.version>
  21. <mysql.jdbc.version>5.1.47</mysql.jdbc.version>
  22. <dbcp2.version>2.1.1</dbcp2.version>
  23. <commons.lang3.version>3.7</commons.lang3.version>
  24. <commons.collection4.version>4.2</commons.collection4.version>
  25. <fastjson.version>1.2.51</fastjson.version>
  26. <httpclient.version>4.5.6</httpclient.version>
  27. <validation-api.version>1.1.0.Final</validation-api.version>
  28. <dom4j.version>1.6.1</dom4j.version>
  29. <servlet-api.version>3.1.0</servlet-api.version>
  30. <plugin.compiler.version>3.7.0</plugin.compiler.version>
  31. <skipTests>true</skipTests>
  32. </properties>
  33. <!--依赖-->
  34. <dependencies>
  35. <!--log component begin-->
  36. <dependency>
  37. <groupId>org.slf4j</groupId>
  38. <artifactId>slf4j-api</artifactId>
  39. <version>${slf4j.version}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>ch.qos.logback</groupId>
  43. <artifactId>logback-core</artifactId>
  44. <version>${logback.version}</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>ch.qos.logback</groupId>
  48. <artifactId>logback-classic</artifactId>
  49. <version>${logback.version}</version>
  50. </dependency>
  51. <!--log component end-->
  52. <!--test begin-->
  53. <dependency>
  54. <groupId>junit</groupId>
  55. <artifactId>junit</artifactId>
  56. <version>4.12</version>
  57. <scope>test</scope>
  58. </dependency>
  59. <!--test end-->
  60. </dependencies>
  61. <!--依赖管理-->
  62. <dependencyManagement>
  63. <dependencies>
  64. <!--spring begin-->
  65. <dependency>
  66. <groupId>org.springframework</groupId>
  67. <artifactId>spring-context-support</artifactId>
  68. <version>${spring.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework</groupId>
  72. <artifactId>spring-jdbc</artifactId>
  73. <version>${spring.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework</groupId>
  77. <artifactId>spring-webmvc</artifactId>
  78. <version>${spring.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework</groupId>
  82. <artifactId>spring-test</artifactId>
  83. <version>${spring.version}</version>
  84. <scope>test</scope>
  85. </dependency>
  86. <!--spring end-->
  87. <!--mybatis begin-->
  88. <dependency>
  89. <groupId>org.mybatis</groupId>
  90. <artifactId>mybatis</artifactId>
  91. <version>${mybatis.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.mybatis</groupId>
  95. <artifactId>mybatis-spring</artifactId>
  96. <version>${mybatis.spring.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.github.pagehelper</groupId>
  100. <artifactId>pagehelper</artifactId>
  101. <version>5.1.8</version>
  102. </dependency>
  103. <!--mybatis end-->
  104. <!--jdbc && datasource begin-->
  105. <dependency>
  106. <groupId>mysql</groupId>
  107. <artifactId>mysql-connector-java</artifactId>
  108. <version>${mysql.jdbc.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.apache.commons</groupId>
  112. <artifactId>commons-dbcp2</artifactId>
  113. <version>${dbcp2.version}</version>
  114. </dependency>
  115. <!--jdbc && datasource end-->
  116. <!--utils begin-->
  117. <dependency>
  118. <groupId>org.apache.commons</groupId>
  119. <artifactId>commons-lang3</artifactId>
  120. <version>${commons.lang3.version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.apache.commons</groupId>
  124. <artifactId>commons-collections4</artifactId>
  125. <version>${commons.collection4.version}</version>
  126. </dependency>
  127. <!--utils end-->
  128. <!--json begin-->
  129. <dependency>
  130. <groupId>com.alibaba</groupId>
  131. <artifactId>fastjson</artifactId>
  132. <version>${fastjson.version}</version>
  133. </dependency>
  134. <!--json end-->
  135. <!--web component begin-->
  136. <dependency>
  137. <groupId>javax.servlet</groupId>
  138. <artifactId>javax.servlet-api</artifactId>
  139. <version>${servlet-api.version}</version>
  140. <scope>provided</scope>
  141. </dependency>
  142. <!--web component end-->
  143. <!--http component begin-->
  144. <dependency>
  145. <groupId>org.apache.httpcomponents</groupId>
  146. <artifactId>httpclient</artifactId>
  147. <version>${httpclient.version}</version>
  148. </dependency>
  149. <!--http component end-->
  150. <dependency>
  151. <groupId>javax.validation</groupId>
  152. <artifactId>validation-api</artifactId>
  153. <version>${validation-api.version}</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>dom4j</groupId>
  157. <artifactId>dom4j</artifactId>
  158. <version>${dom4j.version}</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>commons-codec</groupId>
  162. <artifactId>commons-codec</artifactId>
  163. <version>1.10</version>
  164. </dependency>
  165. <!--<dependency>-->
  166. <!--<groupId>com.qiniu</groupId>-->
  167. <!--<artifactId>qiniu-java-sdk</artifactId>-->
  168. <!--<version>7.2.11</version>-->
  169. <!--<scope>compile</scope>-->
  170. <!--</dependency>-->
  171. <dependency>
  172. <groupId>com.squareup.okhttp3</groupId>
  173. <artifactId>okhttp</artifactId>
  174. <version>3.3.1</version>
  175. <scope>compile</scope>
  176. </dependency>
  177. <dependency>
  178. <groupId>com.google.code.gson</groupId>
  179. <artifactId>gson</artifactId>
  180. <version>2.6.2</version>
  181. <scope>compile</scope>
  182. </dependency>
  183. <dependency>
  184. <groupId>com.qiniu</groupId>
  185. <artifactId>happy-dns-java</artifactId>
  186. <version>0.1.4</version>
  187. <scope>compile</scope>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.projectlombok</groupId>
  191. <artifactId>lombok</artifactId>
  192. <optional>true</optional>
  193. </dependency>
  194. <dependency>
  195. <groupId>commons-io</groupId>
  196. <artifactId>commons-io</artifactId>
  197. <version>2.5</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>commons-fileupload</groupId>
  201. <artifactId>commons-fileupload</artifactId>
  202. <version>1.2.1</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>com.qiniu</groupId>
  206. <artifactId>qiniu-java-sdk</artifactId>
  207. <version>[7.2.0, 7.2.99]</version>
  208. </dependency>
  209. </dependencies>
  210. </dependencyManagement>
  211. <build>
  212. <plugins>
  213. <!--plugin compiler begin-->
  214. <plugin>
  215. <groupId>org.apache.maven.plugins</groupId>
  216. <artifactId>maven-compiler-plugin</artifactId>
  217. <version>${plugin.compiler.version}</version>
  218. <configuration>
  219. <source>1.7</source>
  220. <target>1.7</target>
  221. <encoding>UTF-8</encoding>
  222. <compilerArguments>
  223. <verbose />
  224. <bootclasspath>${java.home}/lib/rt.jar:${java.home}/lib/jce.jar</bootclasspath>
  225. </compilerArguments>
  226. </configuration>
  227. </plugin>
  228. <!--plugin compiler end-->
  229. </plugins>
  230. </build>
  231. </project>