pom.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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. </properties>
  37. <dependencyManagement>
  38. <dependencies>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-dependencies</artifactId>
  42. <version>${spring.boot.version}</version>
  43. <type>pom</type>
  44. <scope>import</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.cloud</groupId>
  48. <artifactId>spring-cloud-dependencies</artifactId>
  49. <version>${spring.cloud.version}</version>
  50. <type>pom</type>
  51. <scope>import</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.alibaba.cloud</groupId>
  55. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  56. <version>${spring.cloud-alibaba}</version>
  57. <type>pom</type>
  58. <scope>import</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.alibaba</groupId>
  62. <artifactId>druid-spring-boot-starter</artifactId>
  63. <version>${druid.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-test</artifactId>
  68. <scope>test</scope>
  69. <version>${spring.boot.version}</version>
  70. </dependency>
  71. <!-- io常用工具类 -->
  72. <dependency>
  73. <groupId>commons-io</groupId>
  74. <artifactId>commons-io</artifactId>
  75. <version>${commons.io.version}</version>
  76. </dependency>
  77. <!-- pagehelper 分页插件 -->
  78. <dependency>
  79. <groupId>com.github.pagehelper</groupId>
  80. <artifactId>pagehelper-spring-boot-starter</artifactId>
  81. <version>${pagehelper.boot.version}</version>
  82. </dependency>
  83. <!-- JWT -->
  84. <dependency>
  85. <groupId>io.jsonwebtoken</groupId>
  86. <artifactId>jjwt</artifactId>
  87. <version>${jjwt.version}</version>
  88. </dependency>
  89. <!-- JSON 解析器和生成器 -->
  90. <dependency>
  91. <groupId>com.alibaba.fastjson2</groupId>
  92. <artifactId>fastjson2</artifactId>
  93. <version>${fastjson.version}</version>
  94. </dependency>
  95. <!-- Swagger3依赖 -->
  96. <dependency>
  97. <groupId>io.springfox</groupId>
  98. <artifactId>springfox-boot-starter</artifactId>
  99. <version>${swagger.version}</version>
  100. <exclusions>
  101. <exclusion>
  102. <groupId>io.swagger</groupId>
  103. <artifactId>swagger-models</artifactId>
  104. </exclusion>
  105. </exclusions>
  106. </dependency>
  107. <!-- 解析客户端操作系统、浏览器等 -->
  108. <dependency>
  109. <groupId>eu.bitwalker</groupId>
  110. <artifactId>UserAgentUtils</artifactId>
  111. <version>${bitwalker.version}</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>log4j</groupId>
  115. <artifactId>log4j</artifactId>
  116. <version>${log4j.version}</version>
  117. </dependency>
  118. <!-- excel工具 -->
  119. <dependency>
  120. <groupId>org.apache.poi</groupId>
  121. <artifactId>poi-ooxml</artifactId>
  122. <version>${poi.version}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>com.baomidou</groupId>
  126. <artifactId>mybatis-plus-boot-starter</artifactId>
  127. <version>${mybatis-plus.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.baomidou</groupId>
  131. <artifactId>mybatis-plus-generator</artifactId>
  132. <version>${mybatis-plus.version}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.baomidou</groupId>
  136. <artifactId>mybatis-plus-extension</artifactId>
  137. <version>${mybatis-plus.version}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>com.trade</groupId>
  141. <artifactId>trade-common</artifactId>
  142. <version>${trade.version}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.trade</groupId>
  146. <artifactId>trade-admin</artifactId>
  147. <version>${trade.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.trade</groupId>
  151. <artifactId>trade-client</artifactId>
  152. <version>${trade.version}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>com.trade</groupId>
  156. <artifactId>trade-service</artifactId>
  157. <version>${trade.version}</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>cn.hutool</groupId>
  161. <artifactId>hutool-all</artifactId>
  162. <version>${hutool.version}</version>
  163. </dependency>
  164. </dependencies>
  165. </dependencyManagement>
  166. <build>
  167. <plugins>
  168. <plugin>
  169. <groupId>org.springframework.boot</groupId>
  170. <artifactId>spring-boot-maven-plugin</artifactId>
  171. <version>${spring.boot.version}</version>
  172. <configuration>
  173. <fork>true</fork>
  174. <addResources>true</addResources>
  175. <!-- <includeSystemScope>true</includeSystemScope> -->
  176. </configuration>
  177. </plugin>
  178. </plugins>
  179. </build>
  180. <repositories>
  181. <repository>
  182. <id>public</id>
  183. <name>aliyun nexus</name>
  184. <url>https://maven.aliyun.com/repository/public</url>
  185. <releases>
  186. <enabled>true</enabled>
  187. </releases>
  188. </repository>
  189. </repositories>
  190. <pluginRepositories>
  191. <pluginRepository>
  192. <id>public</id>
  193. <name>aliyun nexus</name>
  194. <url>https://maven.aliyun.com/repository/public</url>
  195. <releases>
  196. <enabled>true</enabled>
  197. </releases>
  198. <snapshots>
  199. <enabled>false</enabled>
  200. </snapshots>
  201. </pluginRepository>
  202. </pluginRepositories>
  203. </project>