pom.xml 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.trade</groupId>
  6. <artifactId>trade-platform</artifactId>
  7. <version>1.0.0-SNAPSHOT</version>
  8. <name>trade-platform</name>
  9. <description>trade-platform</description>
  10. <packaging>pom</packaging>
  11. <modules>
  12. <module>trade-common</module>
  13. <module>trade-schedule</module>
  14. <module>trade-client</module>
  15. <module>trade-service</module>
  16. <module>trade-admin</module>
  17. </modules>
  18. <properties>
  19. <trade.version>1.0.0-SNAPSHOT</trade.version>
  20. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  21. <java.version>1.8</java.version>
  22. <druid.version>1.2.9</druid.version>
  23. <spring.boot.version>2.7.13</spring.boot.version>
  24. <spring.cloud.version>2021.0.5</spring.cloud.version>
  25. <spring.cloud-alibaba>2021.0.5.0</spring.cloud-alibaba>
  26. <commons.io.version>2.11.0</commons.io.version>
  27. <pagehelper.boot.version>1.4.7</pagehelper.boot.version>
  28. <jjwt.version>0.9.1</jjwt.version>
  29. <fastjson.version>2.0.34</fastjson.version>
  30. <swagger.version>3.0.0</swagger.version>
  31. <bitwalker.version>1.21</bitwalker.version>
  32. <log4j.version>1.2.17</log4j.version>
  33. <poi.version>5.2.2</poi.version>
  34. <mybatis-plus.version>3.5.3.1</mybatis-plus.version>
  35. <hutool.version>5.8.12</hutool.version>
  36. <itextpdf.version>5.5.10</itextpdf.version>
  37. <itextpdf.itext-asian.version>5.2.0</itextpdf.itext-asian.version>
  38. </properties>
  39. <dependencyManagement>
  40. <dependencies>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-dependencies</artifactId>
  44. <version>${spring.boot.version}</version>
  45. <type>pom</type>
  46. <scope>import</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.cloud</groupId>
  50. <artifactId>spring-cloud-dependencies</artifactId>
  51. <version>${spring.cloud.version}</version>
  52. <type>pom</type>
  53. <scope>import</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.alibaba.cloud</groupId>
  57. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  58. <version>${spring.cloud-alibaba}</version>
  59. <type>pom</type>
  60. <scope>import</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.alibaba</groupId>
  64. <artifactId>druid-spring-boot-starter</artifactId>
  65. <version>${druid.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-test</artifactId>
  70. <scope>test</scope>
  71. <version>${spring.boot.version}</version>
  72. </dependency>
  73. <!-- io常用工具类 -->
  74. <dependency>
  75. <groupId>commons-io</groupId>
  76. <artifactId>commons-io</artifactId>
  77. <version>${commons.io.version}</version>
  78. </dependency>
  79. <!-- pagehelper 分页插件 -->
  80. <dependency>
  81. <groupId>com.github.pagehelper</groupId>
  82. <artifactId>pagehelper-spring-boot-starter</artifactId>
  83. <version>${pagehelper.boot.version}</version>
  84. </dependency>
  85. <!-- JWT -->
  86. <dependency>
  87. <groupId>io.jsonwebtoken</groupId>
  88. <artifactId>jjwt</artifactId>
  89. <version>${jjwt.version}</version>
  90. </dependency>
  91. <!-- JSON 解析器和生成器 -->
  92. <dependency>
  93. <groupId>com.alibaba.fastjson2</groupId>
  94. <artifactId>fastjson2</artifactId>
  95. <version>${fastjson.version}</version>
  96. </dependency>
  97. <!-- Swagger3依赖 -->
  98. <dependency>
  99. <groupId>io.springfox</groupId>
  100. <artifactId>springfox-boot-starter</artifactId>
  101. <version>${swagger.version}</version>
  102. <exclusions>
  103. <exclusion>
  104. <groupId>io.swagger</groupId>
  105. <artifactId>swagger-models</artifactId>
  106. </exclusion>
  107. </exclusions>
  108. </dependency>
  109. <!-- 解析客户端操作系统、浏览器等 -->
  110. <dependency>
  111. <groupId>eu.bitwalker</groupId>
  112. <artifactId>UserAgentUtils</artifactId>
  113. <version>${bitwalker.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>log4j</groupId>
  117. <artifactId>log4j</artifactId>
  118. <version>${log4j.version}</version>
  119. </dependency>
  120. <!-- excel工具 -->
  121. <dependency>
  122. <groupId>org.apache.poi</groupId>
  123. <artifactId>poi-ooxml</artifactId>
  124. <version>${poi.version}</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.baomidou</groupId>
  128. <artifactId>mybatis-plus-boot-starter</artifactId>
  129. <version>${mybatis-plus.version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>com.baomidou</groupId>
  133. <artifactId>mybatis-plus-generator</artifactId>
  134. <version>${mybatis-plus.version}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>com.baomidou</groupId>
  138. <artifactId>mybatis-plus-extension</artifactId>
  139. <version>${mybatis-plus.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.trade</groupId>
  143. <artifactId>trade-common</artifactId>
  144. <version>${trade.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>com.trade</groupId>
  148. <artifactId>trade-admin</artifactId>
  149. <version>${trade.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.trade</groupId>
  153. <artifactId>trade-client</artifactId>
  154. <version>${trade.version}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>com.trade</groupId>
  158. <artifactId>trade-service</artifactId>
  159. <version>${trade.version}</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>cn.hutool</groupId>
  163. <artifactId>hutool-all</artifactId>
  164. <version>${hutool.version}</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>com.itextpdf</groupId>
  168. <artifactId>itextpdf</artifactId>
  169. <version>${itextpdf.version}</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>com.itextpdf</groupId>
  173. <artifactId>itext-asian</artifactId>
  174. <version>${itextpdf.itext-asian.version}</version>
  175. </dependency>
  176. </dependencies>
  177. </dependencyManagement>
  178. <build>
  179. <plugins>
  180. <plugin>
  181. <groupId>org.springframework.boot</groupId>
  182. <artifactId>spring-boot-maven-plugin</artifactId>
  183. <version>${spring.boot.version}</version>
  184. <configuration>
  185. <fork>true</fork>
  186. <addResources>true</addResources>
  187. <!-- <includeSystemScope>true</includeSystemScope> -->
  188. </configuration>
  189. </plugin>
  190. </plugins>
  191. </build>
  192. <repositories>
  193. <repository>
  194. <id>public</id>
  195. <name>aliyun nexus</name>
  196. <url>https://maven.aliyun.com/repository/public</url>
  197. <releases>
  198. <enabled>true</enabled>
  199. </releases>
  200. </repository>
  201. </repositories>
  202. <pluginRepositories>
  203. <pluginRepository>
  204. <id>public</id>
  205. <name>aliyun nexus</name>
  206. <url>https://maven.aliyun.com/repository/public</url>
  207. <releases>
  208. <enabled>true</enabled>
  209. </releases>
  210. <snapshots>
  211. <enabled>false</enabled>
  212. </snapshots>
  213. </pluginRepository>
  214. </pluginRepositories>
  215. </project>