pom.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459
  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.vctgo</groupId>
  7. <artifactId>vctgo</artifactId>
  8. <version>1.2.2</version>
  9. <packaging>pom</packaging>
  10. <name>vctgo</name>
  11. <url>https://www.vctgo.cn</url>
  12. <description>Vctgo微服务系统</description>
  13. <modules>
  14. <module>vctgo-auth</module>
  15. <module>vctgo-gateway</module>
  16. <module>vctgo-modules</module>
  17. <module>vctgo-api</module>
  18. <module>vctgo-common</module>
  19. </modules>
  20. <properties>
  21. <vctgo.version>1.2.2</vctgo.version>
  22. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  23. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  24. <java.version>1.8</java.version>
  25. <spring-boot.version>2.7.7</spring-boot.version>
  26. <spring-cloud.version>2021.0.5</spring-cloud.version>
  27. <spring-cloud-alibaba.version>2021.0.1.0</spring-cloud-alibaba.version>
  28. <alibaba.nacos.version>2.1.1</alibaba.nacos.version>
  29. <spring-boot-admin.version>2.7.10</spring-boot-admin.version>
  30. <spring-boot.mybatis.plus>3.5.1</spring-boot.mybatis.plus>
  31. <swagger.fox.version>3.0.0</swagger.fox.version>
  32. <swagger.core.version>1.6.2</swagger.core.version>
  33. <tobato.version>1.27.2</tobato.version>
  34. <hutool.version>5.6.1</hutool.version>
  35. <kaptcha.version>2.3.3</kaptcha.version>
  36. <pagehelper.boot.version>1.4.3</pagehelper.boot.version>
  37. <alibaba.seata.version>1.5.1</alibaba.seata.version>
  38. <druid.version>1.2.16</druid.version>
  39. <dynamic-ds.version>3.5.2</dynamic-ds.version>
  40. <commons.io.version>2.11.0</commons.io.version>
  41. <velocity.version>2.3</velocity.version>
  42. <fastjson.version>2.0.25</fastjson.version>
  43. <jjwt.version>0.9.1</jjwt.version>
  44. <minio.version>8.2.2</minio.version>
  45. <poi.version>4.1.2</poi.version>
  46. <transmittable-thread-local.version>2.14.2</transmittable-thread-local.version>
  47. <lombok.version>1.18.22</lombok.version>
  48. <oshi.version>6.1.2</oshi.version>
  49. <ganymed-ssh2.version>build250</ganymed-ssh2.version>
  50. <jsch.version>0.1.55</jsch.version>
  51. <aliyun-java-sdk-core.version>4.6.0</aliyun-java-sdk-core.version>
  52. <aliyun-java-sdk-dysmsapi.version>2.2.1</aliyun-java-sdk-dysmsapi.version>
  53. <bitwalker.version>1.21</bitwalker.version>
  54. </properties>
  55. <!-- 依赖声明 -->
  56. <dependencyManagement>
  57. <dependencies>
  58. <!-- SpringCloud 微服务 -->
  59. <dependency>
  60. <groupId>org.springframework.cloud</groupId>
  61. <artifactId>spring-cloud-dependencies</artifactId>
  62. <version>${spring-cloud.version}</version>
  63. <type>pom</type>
  64. <scope>import</scope>
  65. </dependency>
  66. <!-- SpringCloud Alibaba 微服务 -->
  67. <dependency>
  68. <groupId>com.alibaba.cloud</groupId>
  69. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  70. <version>${spring-cloud-alibaba.version}</version>
  71. <type>pom</type>
  72. <scope>import</scope>
  73. </dependency>
  74. <!-- Alibaba Nacos 配置 -->
  75. <dependency>
  76. <groupId>com.alibaba.nacos</groupId>
  77. <artifactId>nacos-client</artifactId>
  78. <version>${alibaba.nacos.version}</version>
  79. </dependency>
  80. <!-- Alibaba Seata 配置 -->
  81. <dependency>
  82. <groupId>io.seata</groupId>
  83. <artifactId>seata-spring-boot-starter</artifactId>
  84. <version>${alibaba.seata.version}</version>
  85. </dependency>
  86. <!-- SpringBoot 依赖配置 -->
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-dependencies</artifactId>
  90. <version>${spring-boot.version}</version>
  91. <type>pom</type>
  92. <scope>import</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter-mail</artifactId>
  97. <version>${spring-boot.version}</version>
  98. </dependency>
  99. <!-- FastDFS 分布式文件系统 -->
  100. <dependency>
  101. <groupId>com.github.tobato</groupId>
  102. <artifactId>fastdfs-client</artifactId>
  103. <version>${tobato.version}</version>
  104. </dependency>
  105. <!-- Mybatis 依赖配置 -->
  106. <!-- <dependency>-->
  107. <!-- <groupId>org.mybatis.spring.boot</groupId>-->
  108. <!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
  109. <!-- <version>${spring-boot.mybatis}</version>-->
  110. <!-- </dependency>-->
  111. <!-- Swagger 依赖配置 -->
  112. <dependency>
  113. <groupId>io.swagger</groupId>
  114. <artifactId>swagger-models</artifactId>
  115. <version>${swagger.core.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>io.swagger</groupId>
  119. <artifactId>swagger-annotations</artifactId>
  120. <version>${swagger.core.version}</version>
  121. </dependency>
  122. <!-- 验证码 -->
  123. <dependency>
  124. <groupId>pro.fessional</groupId>
  125. <artifactId>kaptcha</artifactId>
  126. <version>${kaptcha.version}</version>
  127. </dependency>
  128. <!-- io常用工具类 -->
  129. <dependency>
  130. <groupId>commons-io</groupId>
  131. <artifactId>commons-io</artifactId>
  132. <version>${commons.io.version}</version>
  133. </dependency>
  134. <!-- excel工具 -->
  135. <dependency>
  136. <groupId>org.apache.poi</groupId>
  137. <artifactId>poi-ooxml</artifactId>
  138. <version>${poi.version}</version>
  139. </dependency>
  140. <!-- 代码生成使用模板 -->
  141. <dependency>
  142. <groupId>org.apache.velocity</groupId>
  143. <artifactId>velocity-engine-core</artifactId>
  144. <version>${velocity.version}</version>
  145. </dependency>
  146. <!-- JSON 解析器和生成器 -->
  147. <dependency>
  148. <groupId>com.alibaba.fastjson2</groupId>
  149. <artifactId>fastjson2</artifactId>
  150. <version>${fastjson.version}</version>
  151. </dependency>
  152. <!-- JWT -->
  153. <dependency>
  154. <groupId>io.jsonwebtoken</groupId>
  155. <artifactId>jjwt</artifactId>
  156. <version>${jjwt.version}</version>
  157. </dependency>
  158. <!-- 线程传递值 -->
  159. <dependency>
  160. <groupId>com.alibaba</groupId>
  161. <artifactId>transmittable-thread-local</artifactId>
  162. <version>${transmittable-thread-local.version}</version>
  163. </dependency>
  164. <!-- 阿里云短信-->
  165. <dependency>
  166. <groupId>com.aliyun</groupId>
  167. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  168. <version>${aliyun-java-sdk-dysmsapi.version}</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>com.aliyun</groupId>
  172. <artifactId>aliyun-java-sdk-core</artifactId>
  173. <version>${aliyun-java-sdk-core.version}</version>
  174. </dependency>
  175. <!-- 核心模块 -->
  176. <dependency>
  177. <groupId>com.vctgo</groupId>
  178. <artifactId>vctgo-common-core</artifactId>
  179. <version>${vctgo.version}</version>
  180. </dependency>
  181. <!-- 接口模块 -->
  182. <dependency>
  183. <groupId>com.vctgo</groupId>
  184. <artifactId>vctgo-common-swagger</artifactId>
  185. <version>${vctgo.version}</version>
  186. </dependency>
  187. <!-- 安全模块 -->
  188. <dependency>
  189. <groupId>com.vctgo</groupId>
  190. <artifactId>vctgo-common-security</artifactId>
  191. <version>${vctgo.version}</version>
  192. </dependency>
  193. <!-- 权限范围 -->
  194. <dependency>
  195. <groupId>com.vctgo</groupId>
  196. <artifactId>vctgo-common-datascope</artifactId>
  197. <version>${vctgo.version}</version>
  198. </dependency>
  199. <!-- 多数据源 -->
  200. <dependency>
  201. <groupId>com.vctgo</groupId>
  202. <artifactId>vctgo-common-datasource</artifactId>
  203. <version>${vctgo.version}</version>
  204. </dependency>
  205. <!-- 分布式事务 -->
  206. <dependency>
  207. <groupId>com.vctgo</groupId>
  208. <artifactId>vctgo-common-seata</artifactId>
  209. <version>${vctgo.version}</version>
  210. </dependency>
  211. <!-- 日志记录 -->
  212. <dependency>
  213. <groupId>com.vctgo</groupId>
  214. <artifactId>vctgo-common-log</artifactId>
  215. <version>${vctgo.version}</version>
  216. </dependency>
  217. <!-- 缓存服务 -->
  218. <dependency>
  219. <groupId>com.vctgo</groupId>
  220. <artifactId>vctgo-common-redis</artifactId>
  221. <version>${vctgo.version}</version>
  222. </dependency>
  223. <!-- websocket服务 -->
  224. <dependency>
  225. <groupId>com.vctgo</groupId>
  226. <artifactId>vctgo-common-websocket</artifactId>
  227. <version>${vctgo.version}</version>
  228. </dependency>
  229. <!-- 系统接口 -->
  230. <dependency>
  231. <groupId>com.vctgo</groupId>
  232. <artifactId>vctgo-api-system</artifactId>
  233. <version>${vctgo.version}</version>
  234. </dependency>
  235. <!-- &lt;!&ndash; 玩具接口 &ndash;&gt;-->
  236. <!-- <dependency>-->
  237. <!-- <groupId>com.vctgo</groupId>-->
  238. <!-- <artifactId>vctgo-api-toy</artifactId>-->
  239. <!-- <version>${vctgo.version}</version>-->
  240. <!-- </dependency>-->
  241. <!-- 租户功能 -->
  242. <dependency>
  243. <groupId>com.vctgo</groupId>
  244. <artifactId>vctgo-common-mybatisplus</artifactId>
  245. <version>${vctgo.version}</version>
  246. </dependency>
  247. <!-- 通知功能 -->
  248. <dependency>
  249. <groupId>com.vctgo</groupId>
  250. <artifactId>vctgo-common-message</artifactId>
  251. <version>${vctgo.version}</version>
  252. </dependency>
  253. <!-- 获取系统信息 -->
  254. <dependency>
  255. <groupId>com.github.oshi</groupId>
  256. <artifactId>oshi-core</artifactId>
  257. <version>${oshi.version}</version>
  258. </dependency>
  259. <!-- linux链接,远程操作服务器-->
  260. <dependency>
  261. <groupId>com.jcraft</groupId>
  262. <artifactId>jsch</artifactId>
  263. <version>${jsch.version}</version>
  264. </dependency>
  265. <!-- 解析客户端操作系统、浏览器等 -->
  266. <dependency>
  267. <groupId>eu.bitwalker</groupId>
  268. <artifactId>UserAgentUtils</artifactId>
  269. <version>${bitwalker.version}</version>
  270. </dependency>
  271. <!-- 调用第三方接口使用-->
  272. <dependency>
  273. <!-- jsoup HTML parser library @ http://jsoup.org/ -->
  274. <groupId>org.jsoup</groupId>
  275. <artifactId>jsoup</artifactId>
  276. <version>1.10.2</version>
  277. </dependency>
  278. </dependencies>
  279. </dependencyManagement>
  280. <dependencies>
  281. <!-- bootstrap 启动器 -->
  282. <dependency>
  283. <groupId>org.springframework.cloud</groupId>
  284. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  285. </dependency>
  286. <!-- spring boot 配置所需依赖 -->
  287. <dependency>
  288. <groupId>org.springframework.boot</groupId>
  289. <artifactId>spring-boot-configuration-processor</artifactId>
  290. <optional>true</optional>
  291. </dependency>
  292. <!--lombok-->
  293. <dependency>
  294. <groupId>org.projectlombok</groupId>
  295. <artifactId>lombok</artifactId>
  296. <version>${lombok.version}</version>
  297. </dependency>
  298. <!-- mybatis-plus 增强CRUD -->
  299. <dependency>
  300. <groupId>com.baomidou</groupId>
  301. <artifactId>mybatis-plus-boot-starter</artifactId>
  302. <version>${spring-boot.mybatis.plus}</version>
  303. </dependency>
  304. <!-- &lt;!&ndash; pagehelper 分页插件 &ndash;&gt;-->
  305. <!-- <dependency>-->
  306. <!-- <groupId>com.github.pagehelper</groupId>-->
  307. <!-- <artifactId>pagehelper-spring-boot-starter</artifactId>-->
  308. <!-- <version>${pagehelper.boot.version}</version>-->
  309. <!-- </dependency>-->
  310. <!-- hutool -->
  311. <dependency>
  312. <groupId>cn.hutool</groupId>
  313. <artifactId>hutool-all</artifactId>
  314. <version>${hutool.version}</version>
  315. </dependency>
  316. <dependency>
  317. <!-- jsoup HTML parser library @ http://jsoup.org/ -->
  318. <groupId>org.jsoup</groupId>
  319. <artifactId>jsoup</artifactId>
  320. <version>1.10.2</version>
  321. </dependency>
  322. </dependencies>
  323. <build>
  324. <finalName>${project.name}</finalName>
  325. <resources>
  326. <resource>
  327. <directory>src/main/resources</directory>
  328. <filtering>true</filtering>
  329. </resource>
  330. </resources>
  331. <plugins>
  332. <plugin>
  333. <groupId>org.apache.maven.plugins</groupId>
  334. <artifactId>maven-compiler-plugin</artifactId>
  335. <configuration>
  336. <source>${java.version}</source>
  337. <target>${java.version}</target>
  338. <encoding>${project.build.sourceEncoding}</encoding>
  339. </configuration>
  340. </plugin>
  341. </plugins>
  342. <pluginManagement>
  343. <plugins>
  344. <plugin>
  345. <groupId>org.springframework.boot</groupId>
  346. <artifactId>spring-boot-maven-plugin</artifactId>
  347. <version>2.3.3.RELEASE</version>
  348. <executions>
  349. <execution>
  350. <goals>
  351. <goal>repackage</goal>
  352. </goals>
  353. </execution>
  354. </executions>
  355. </plugin>
  356. </plugins>
  357. </pluginManagement>
  358. </build>
  359. <profiles>
  360. <profile>
  361. <id>dev</id>
  362. <properties>
  363. <!-- 开发环境标识,需要与配置文件的名称相对应 -->
  364. <profiles.active>devo</profiles.active>
  365. <nacos.namespace>jerz_devo_new_namespace</nacos.namespace>
  366. <nacos.server-addr>123.57.87.118:8848</nacos.server-addr>
  367. <sentinel_host_port>123.57.87.118:8718</sentinel_host_port>
  368. <nacos.group>jerz_devo_new_group</nacos.group>
  369. </properties>
  370. <activation>
  371. <!-- 默认环境 -->
  372. <activeByDefault>true</activeByDefault>
  373. </activation>
  374. </profile>
  375. <profile>
  376. <id>test</id>
  377. <properties>
  378. <!-- 测试环境标识,需要与配置文件的名称相对应 -->
  379. <profiles.active>test</profiles.active>
  380. <nacos.namespace>jerz_test_new_namespace</nacos.namespace>
  381. <nacos.server-addr>8.140.25.221:8848</nacos.server-addr>
  382. <sentinel_host_port>8.140.25.221:8718</sentinel_host_port>
  383. <nacos.group>jerz_test_new_group</nacos.group>
  384. </properties>
  385. </profile>
  386. <profile>
  387. <id>pre</id>
  388. <properties>
  389. <!-- 预发布环境标识,需要与配置文件的名称相对应 -->
  390. <profiles.active>pre</profiles.active>
  391. <nacos.namespace>jerz_pre_new_namespace</nacos.namespace>
  392. <nacos.group>jerz_pre_new_group</nacos.group>
  393. <nacos.server-addr>8.140.25.221:8848</nacos.server-addr>
  394. <sentinel_host_port>8.140.25.221:8718</sentinel_host_port>
  395. </properties>
  396. </profile>
  397. <profile>
  398. <id>prod</id>
  399. <properties>
  400. <!-- 生产环境标识,需要与配置文件的名称相对应 -->
  401. <profiles.active>prod</profiles.active>
  402. <nacos.namespace>jerz_prod_new_namespace</nacos.namespace>
  403. <nacos.server-addr>8.140.25.221:8848</nacos.server-addr>
  404. <sentinel_host_port>8.140.25.221:8718</sentinel_host_port>
  405. <nacos.group>jerz_prod_new_group</nacos.group>
  406. </properties>
  407. </profile>
  408. </profiles>
  409. </project>