pom.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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.stellvoy</groupId>
  7. <artifactId>gig</artifactId>
  8. <version>1.0.0</version>
  9. <modules>
  10. <module>gig-user</module>
  11. <module>gig-task</module>
  12. <module>gig-auth</module>
  13. <module>gig-common</module>
  14. <module>gig-gateway</module>
  15. <module>gig-api</module>
  16. <module>gig-learning</module>
  17. <module>gig-message</module>
  18. <module>gig-customer</module>
  19. </modules>
  20. <packaging>pom</packaging>
  21. <!-- 继承 Spring Boot 父工程 -->
  22. <parent>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-parent</artifactId>
  25. <version>2.7.2</version>
  26. </parent>
  27. <properties>
  28. <maven.compiler.source>8</maven.compiler.source>
  29. <maven.compiler.target>8</maven.compiler.target>
  30. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  31. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  32. <org.projectlombok.version>1.18.20</org.projectlombok.version>
  33. <spring-cloud.version>2021.0.3</spring-cloud.version>
  34. <spring-cloud-alibaba.version>2021.0.1.0</spring-cloud-alibaba.version>
  35. <mybatis-plus.version>3.4.3.2</mybatis-plus.version>
  36. <hutool.version>5.7.17</hutool.version>
  37. <!-- <swagger.version>3.0.3</swagger.version>-->
  38. <mysql.version>8.0.23</mysql.version>
  39. <ali.sdk.core.version>4.6.0</ali.sdk.core.version>
  40. <ali.sdk.kms.version>2.10.1</ali.sdk.kms.version>
  41. <ali.sdk.oss.version>3.10.2</ali.sdk.oss.version>
  42. <ali.sdk.pay.version>4.33.12.ALL</ali.sdk.pay.version>
  43. <tencent.cloud.version>3.1.515</tencent.cloud.version>
  44. <redisson.version>3.13.6</redisson.version>
  45. <elasticsearch.version>7.12.1</elasticsearch.version>
  46. <tencent.sdk.cos.version>5.6.89</tencent.sdk.cos.version>
  47. <tencent.sdk.vod.version>2.1.5</tencent.sdk.vod.version>
  48. <xxl-job-version>2.3.1</xxl-job-version>
  49. <seata-version>1.5.1</seata-version>
  50. </properties>
  51. <!-- 对依赖包进行管理 -->
  52. <dependencyManagement>
  53. <dependencies>
  54. <!-- Spring Cloud 依赖包管理 -->
  55. <dependency>
  56. <groupId>org.springframework.cloud</groupId>
  57. <artifactId>spring-cloud-dependencies</artifactId>
  58. <version>${spring-cloud.version}</version>
  59. <type>pom</type>
  60. <scope>import</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.alibaba.cloud</groupId>
  64. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  65. <version>${spring-cloud-alibaba.version}</version>
  66. <type>pom</type>
  67. <scope>import</scope>
  68. </dependency>
  69. <!-- 数据库驱动包管理 -->
  70. <dependency>
  71. <groupId>mysql</groupId>
  72. <artifactId>mysql-connector-java</artifactId>
  73. <version>${mysql.version}</version>
  74. </dependency>
  75. <!-- mybatis plus 管理 -->
  76. <dependency>
  77. <groupId>com.baomidou</groupId>
  78. <artifactId>mybatis-plus-boot-starter</artifactId>
  79. <version>${mybatis-plus.version}</version>
  80. </dependency>
  81. <!--腾讯云-->
  82. <dependency>
  83. <groupId>com.tencentcloudapi</groupId>
  84. <artifactId>tencentcloud-sdk-java</artifactId>
  85. <version>${tencent.cloud.version}</version>
  86. </dependency>
  87. <!--ali sdk-->
  88. <dependency>
  89. <groupId>com.aliyun</groupId>
  90. <artifactId>aliyun-java-sdk-core</artifactId>
  91. <version>${ali.sdk.core.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.aliyun</groupId>
  95. <artifactId>aliyun-java-sdk-kms</artifactId>
  96. <version>${ali.sdk.kms.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.alipay.sdk</groupId>
  100. <artifactId>alipay-sdk-java</artifactId>
  101. <version>${ali.sdk.pay.version}</version>
  102. </dependency>
  103. <!--阿里云OSS的SDK-->
  104. <dependency>
  105. <groupId>com.aliyun.oss</groupId>
  106. <artifactId>aliyun-sdk-oss</artifactId>
  107. <version>${ali.sdk.oss.version}</version>
  108. </dependency>
  109. <!--redisson-->
  110. <dependency>
  111. <groupId>org.redisson</groupId>
  112. <artifactId>redisson</artifactId>
  113. <version>${redisson.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.aspectj</groupId>
  117. <artifactId>aspectjweaver</artifactId>
  118. <version>${aspectj.version}</version>
  119. </dependency>
  120. <!--腾讯cos-->
  121. <dependency>
  122. <groupId>com.qcloud</groupId>
  123. <artifactId>cos_api</artifactId>
  124. <version>${tencent.sdk.cos.version}</version>
  125. </dependency>
  126. <!--腾讯vod-->
  127. <dependency>
  128. <groupId>com.qcloud</groupId>
  129. <artifactId>vod_api</artifactId>
  130. <version>${tencent.sdk.vod.version}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.xuxueli</groupId>
  134. <artifactId>xxl-job-core</artifactId>
  135. <version>${xxl-job-version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>cn.hutool</groupId>
  139. <artifactId>hutool-core</artifactId>
  140. <version>5.8.10</version> <!-- 请根据实际情况选择合适的版本 -->
  141. </dependency>
  142. </dependencies>
  143. </dependencyManagement>
  144. <dependencies>
  145. <!-- lombok 管理 -->
  146. <dependency>
  147. <groupId>org.projectlombok</groupId>
  148. <artifactId>lombok</artifactId>
  149. <version>${org.projectlombok.version}</version>
  150. </dependency>
  151. <!--单元测试-->
  152. <dependency>
  153. <groupId>org.springframework.boot</groupId>
  154. <artifactId>spring-boot-starter-test</artifactId>
  155. <scope>test</scope>
  156. </dependency>
  157. <!--开启bootstrap文件读取-->
  158. <dependency>
  159. <groupId>org.springframework.cloud</groupId>
  160. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  161. </dependency>
  162. <!-- nacos 配置管理依赖-->
  163. <dependency>
  164. <groupId>com.alibaba.cloud</groupId>
  165. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  166. </dependency>
  167. </dependencies>
  168. <build>
  169. <pluginManagement>
  170. <plugins>
  171. <plugin>
  172. <groupId>org.apache.maven.plugins</groupId>
  173. <artifactId>maven-compiler-plugin</artifactId>
  174. <version>3.8.1</version>
  175. <configuration>
  176. <source>8</source> <!-- depending on your project -->
  177. <target>8</target> <!-- depending on your project -->
  178. </configuration>
  179. </plugin>
  180. </plugins>
  181. </pluginManagement>
  182. </build>
  183. </project>