pom.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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. </properties>
  32. <!--依赖-->
  33. <dependencies>
  34. <!--log component begin-->
  35. <dependency>
  36. <groupId>org.slf4j</groupId>
  37. <artifactId>slf4j-api</artifactId>
  38. <version>${slf4j.version}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>ch.qos.logback</groupId>
  42. <artifactId>logback-core</artifactId>
  43. <version>${logback.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>ch.qos.logback</groupId>
  47. <artifactId>logback-classic</artifactId>
  48. <version>${logback.version}</version>
  49. </dependency>
  50. <!--log component end-->
  51. <!--test begin-->
  52. <dependency>
  53. <groupId>junit</groupId>
  54. <artifactId>junit</artifactId>
  55. <version>4.12</version>
  56. <scope>test</scope>
  57. </dependency>
  58. <!--test end-->
  59. </dependencies>
  60. <!--依赖管理-->
  61. <dependencyManagement>
  62. <dependencies>
  63. <!--spring begin-->
  64. <dependency>
  65. <groupId>org.springframework</groupId>
  66. <artifactId>spring-context-support</artifactId>
  67. <version>${spring.version}</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework</groupId>
  71. <artifactId>spring-jdbc</artifactId>
  72. <version>${spring.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework</groupId>
  76. <artifactId>spring-webmvc</artifactId>
  77. <version>${spring.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework</groupId>
  81. <artifactId>spring-test</artifactId>
  82. <version>${spring.version}</version>
  83. <scope>test</scope>
  84. </dependency>
  85. <!--spring end-->
  86. <!--mybatis begin-->
  87. <dependency>
  88. <groupId>org.mybatis</groupId>
  89. <artifactId>mybatis</artifactId>
  90. <version>${mybatis.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.mybatis</groupId>
  94. <artifactId>mybatis-spring</artifactId>
  95. <version>${mybatis.spring.version}</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.github.pagehelper</groupId>
  99. <artifactId>pagehelper</artifactId>
  100. <version>5.1.8</version>
  101. </dependency>
  102. <!--mybatis end-->
  103. <!--jdbc && datasource begin-->
  104. <dependency>
  105. <groupId>mysql</groupId>
  106. <artifactId>mysql-connector-java</artifactId>
  107. <version>${mysql.jdbc.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.apache.commons</groupId>
  111. <artifactId>commons-dbcp2</artifactId>
  112. <version>${dbcp2.version}</version>
  113. </dependency>
  114. <!--jdbc && datasource end-->
  115. <!--utils begin-->
  116. <dependency>
  117. <groupId>org.apache.commons</groupId>
  118. <artifactId>commons-lang3</artifactId>
  119. <version>${commons.lang3.version}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.apache.commons</groupId>
  123. <artifactId>commons-collections4</artifactId>
  124. <version>${commons.collection4.version}</version>
  125. </dependency>
  126. <!--utils end-->
  127. <!--json begin-->
  128. <dependency>
  129. <groupId>com.alibaba</groupId>
  130. <artifactId>fastjson</artifactId>
  131. <version>${fastjson.version}</version>
  132. </dependency>
  133. <!--json end-->
  134. <!--web component begin-->
  135. <dependency>
  136. <groupId>javax.servlet</groupId>
  137. <artifactId>javax.servlet-api</artifactId>
  138. <version>${servlet-api.version}</version>
  139. <scope>provided</scope>
  140. </dependency>
  141. <!--web component end-->
  142. <!--http component begin-->
  143. <dependency>
  144. <groupId>org.apache.httpcomponents</groupId>
  145. <artifactId>httpclient</artifactId>
  146. <version>${httpclient.version}</version>
  147. </dependency>
  148. <!--http component end-->
  149. <dependency>
  150. <groupId>javax.validation</groupId>
  151. <artifactId>validation-api</artifactId>
  152. <version>${validation-api.version}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>dom4j</groupId>
  156. <artifactId>dom4j</artifactId>
  157. <version>${dom4j.version}</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>commons-codec</groupId>
  161. <artifactId>commons-codec</artifactId>
  162. <version>1.10</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>com.qiniu</groupId>
  166. <artifactId>qiniu-java-sdk</artifactId>
  167. <version>7.2.11</version>
  168. <scope>compile</scope>
  169. </dependency>
  170. <dependency>
  171. <groupId>com.squareup.okhttp3</groupId>
  172. <artifactId>okhttp</artifactId>
  173. <version>3.3.1</version>
  174. <scope>compile</scope>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.google.code.gson</groupId>
  178. <artifactId>gson</artifactId>
  179. <version>2.6.2</version>
  180. <scope>compile</scope>
  181. </dependency>
  182. <dependency>
  183. <groupId>com.qiniu</groupId>
  184. <artifactId>happy-dns-java</artifactId>
  185. <version>0.1.4</version>
  186. <scope>compile</scope>
  187. </dependency>
  188. </dependencies>
  189. </dependencyManagement>
  190. <build>
  191. <plugins>
  192. <!--plugin compiler begin-->
  193. <plugin>
  194. <groupId>org.apache.maven.plugins</groupId>
  195. <artifactId>maven-compiler-plugin</artifactId>
  196. <version>${plugin.compiler.version}</version>
  197. <configuration>
  198. <source>1.7</source>
  199. <target>1.7</target>
  200. <encoding>UTF-8</encoding>
  201. <compilerArguments>
  202. <verbose />
  203. <bootclasspath>${java.home}/lib/rt.jar;${java.home}/lib/jce.jar</bootclasspath>
  204. </compilerArguments>
  205. </configuration>
  206. </plugin>
  207. <!--plugin compiler end-->
  208. </plugins>
  209. </build>
  210. </project>