pom.xml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463
  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.sckw</groupId>
  7. <artifactId>slope-manage-service</artifactId>
  8. <version>1.0.0</version>
  9. <name>slope-manage-service</name>
  10. <url>http://git.sckaiwu.cn/17358629955/sckw-service-platform.git</url>
  11. <description>slope-manage-service微服务系统</description>
  12. <modules>
  13. <module>slope-common</module>
  14. <module>slope-modules</module>
  15. <module>slope-modules-api</module>
  16. </modules>
  17. <packaging>pom</packaging>
  18. <properties>
  19. <maven.compiler.source>17</maven.compiler.source>
  20. <maven.compiler.target>17</maven.compiler.target>
  21. <maven.compiler.compilerVersion>17</maven.compiler.compilerVersion>
  22. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  23. <spring-version>6.0.7</spring-version>
  24. <spring-boot.version>3.0.5</spring-boot.version>
  25. <spring-cloud.version>2022.0.0</spring-cloud.version>
  26. <spring-cloud-alibaba.version>2022.0.0.0-RC1</spring-cloud-alibaba.version>
  27. <!--不能使用3.2.0版本,会导致redisson里面的kryo版本降低值4.2.0-->
  28. <dubbo.version>3.2.2</dubbo.version>
  29. <snakeyaml.version>2.0</snakeyaml.version>
  30. <springdoc.version>2.1.0</springdoc.version>
  31. <redisson.version>3.21.3</redisson.version>
  32. <fastjson.version>2.0.38</fastjson.version>
  33. <easyexcel.version>3.3.2</easyexcel.version>
  34. <cglib.version>3.3.0</cglib.version>
  35. <commons-io.version>2.11.0</commons-io.version>
  36. <alicloud-sms.version>2.2.0.RELEASE</alicloud-sms.version>
  37. <oss.version>2.2.0.RELEASE</oss.version>
  38. <sentinel-csp.version>1.8.6</sentinel-csp.version>
  39. <nacos-client.version>2.2.1</nacos-client.version>
  40. <hutool.version>5.8.18</hutool.version>
  41. <mybatis-plus.version>3.5.3.1</mybatis-plus.version>
  42. <dynamic-datasource.version>3.6.1</dynamic-datasource.version>
  43. <latest.release.version>5.2.0</latest.release.version>
  44. <pagehelper.version>5.3.2</pagehelper.version>
  45. <pagehelper-spring-boot-starter.version>1.4.7</pagehelper-spring-boot-starter.version>
  46. <junit.version>4.13.2</junit.version>
  47. <xxljob.version>2.4.0</xxljob.version>
  48. <project.version>1.0.0</project.version>
  49. <!--maven插件版本声明-->
  50. <maven-clean-plugin.version>3.2.0</maven-clean-plugin.version>
  51. <maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
  52. <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
  53. <maven-resources-plugin.version>3.3.0</maven-resources-plugin.version>
  54. <maven-install-plugin.version>3.0.1</maven-install-plugin.version>
  55. <maven-deploy-plugin.version>3.0.0</maven-deploy-plugin.version>
  56. </properties>
  57. <dependencyManagement>
  58. <dependencies>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-dependencies</artifactId>
  62. <version>${spring-boot.version}</version>
  63. <type>pom</type>
  64. <scope>import</scope>
  65. </dependency>
  66. <!-- spring-cloud -->
  67. <dependency>
  68. <groupId>org.springframework.cloud</groupId>
  69. <artifactId>spring-cloud-dependencies</artifactId>
  70. <version>${spring-cloud.version}</version>
  71. <type>pom</type>
  72. <scope>import</scope>
  73. </dependency>
  74. <!-- spring-cloud-alibaba -->
  75. <dependency>
  76. <groupId>com.alibaba.cloud</groupId>
  77. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  78. <version>${spring-cloud-alibaba.version}</version>
  79. <type>pom</type>
  80. <scope>import</scope>
  81. <exclusions>
  82. <exclusion>
  83. <groupId>com.alibaba.nacos</groupId>
  84. <artifactId>nacos-client</artifactId>
  85. </exclusion>
  86. </exclusions>
  87. </dependency>
  88. <!-- common 的依赖配置-->
  89. <dependency>
  90. <groupId>com.sckw</groupId>
  91. <artifactId>sckw-common-bom</artifactId>
  92. <version>${project.version}</version>
  93. <type>pom</type>
  94. <scope>import</scope>
  95. </dependency>
  96. <!-- modules 的依赖配置-->
  97. <dependency>
  98. <groupId>com.sckw</groupId>
  99. <artifactId>sckw-modules-bom</artifactId>
  100. <version>${project.version}</version>
  101. <type>pom</type>
  102. <scope>import</scope>
  103. </dependency>
  104. <!-- apache dubbo -->
  105. <dependency>
  106. <groupId>org.apache.dubbo</groupId>
  107. <artifactId>dubbo-bom</artifactId>
  108. <version>${dubbo.version}</version>
  109. <type>pom</type>
  110. <scope>import</scope>
  111. <exclusions>
  112. <exclusion>
  113. <groupId>com.alibaba</groupId>
  114. <artifactId>hessian-lite</artifactId>
  115. </exclusion>
  116. </exclusions>
  117. </dependency>
  118. <!-- yaml/yml配置文件 -->
  119. <dependency>
  120. <groupId>org.yaml</groupId>
  121. <artifactId>snakeyaml</artifactId>
  122. <version>${snakeyaml.version}</version>
  123. <!--<scope>compile</scope>-->
  124. </dependency>
  125. <!--处理序列化问题-->
  126. <dependency>
  127. <groupId>com.caucho</groupId>
  128. <artifactId>hessian</artifactId>
  129. </dependency>
  130. <!--reids操作-->
  131. <dependency>
  132. <groupId>org.redisson</groupId>
  133. <artifactId>redisson-spring-boot-starter</artifactId>
  134. <version>${redisson.version}</version>
  135. </dependency>
  136. <!--alibaba fastjson-->
  137. <dependency>
  138. <groupId>com.alibaba</groupId>
  139. <artifactId>fastjson</artifactId>
  140. <version>${fastjson.version}</version>
  141. </dependency>
  142. <!--alibaba EasyExcel导入导出-->
  143. <dependency>
  144. <groupId>com.alibaba</groupId>
  145. <artifactId>easyexcel</artifactId>
  146. <version>${easyexcel.version}</version>
  147. </dependency>
  148. <!--cglib-->
  149. <dependency>
  150. <groupId>cglib</groupId>
  151. <artifactId>cglib</artifactId>
  152. <exclusions>
  153. <exclusion>
  154. <groupId>org.ow2.asm</groupId>
  155. <artifactId>asm</artifactId>
  156. </exclusion>
  157. </exclusions>
  158. <version>${cglib.version}</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>commons-io</groupId>
  162. <artifactId>commons-io</artifactId>
  163. <version>${commons-io.version}</version>
  164. </dependency>
  165. <!--alibaba 短信-->
  166. <dependency>
  167. <groupId>com.alibaba.cloud</groupId>
  168. <artifactId>spring-cloud-alicloud-sms</artifactId>
  169. <version>${alicloud-sms.version}</version>
  170. </dependency>
  171. <!--alibaba oss-->
  172. <dependency>
  173. <groupId>com.alibaba.cloud</groupId>
  174. <artifactId>spring-cloud-starter-alicloud-oss</artifactId>
  175. <version>${oss.version}</version>
  176. </dependency>
  177. <!-- Sentinel Datasource Nacos 持久化存储-->
  178. <dependency>
  179. <groupId>com.alibaba.csp</groupId>
  180. <artifactId>sentinel-datasource-nacos</artifactId>
  181. <version>${sentinel-csp.version}</version>
  182. </dependency>
  183. <!--nacos-->
  184. <dependency>
  185. <groupId>com.alibaba.nacos</groupId>
  186. <artifactId>nacos-client</artifactId>
  187. <version>${nacos-client.version}</version>
  188. </dependency>
  189. <!-- 上面排除掉了springcloud默认seata版本,此处引入和seata-server版本对应的seata包-->
  190. <dependency>
  191. <groupId>io.seata</groupId>
  192. <artifactId>seata-spring-boot-starter</artifactId>
  193. <version>1.6.1</version>
  194. </dependency>
  195. <!--jdk9+ 以上需要手动添加 JAXB能够使用Jackson对JAXB注解-->
  196. <dependency>
  197. <groupId>javax.xml.bind</groupId>
  198. <artifactId>jaxb-api</artifactId>
  199. <version>2.3.1</version>
  200. </dependency>
  201. <!--hutool-->
  202. <dependency>
  203. <groupId>cn.hutool</groupId>
  204. <artifactId>hutool-http</artifactId>
  205. <version>${hutool.version}</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>cn.hutool</groupId>
  209. <artifactId>hutool-extra</artifactId>
  210. <version>${hutool.version}</version>
  211. </dependency>
  212. <!--mybatis-plus 依赖-->
  213. <dependency>
  214. <groupId>com.baomidou</groupId>
  215. <artifactId>mybatis-plus-boot-starter</artifactId>
  216. <version>${mybatis-plus.version}</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>com.baomidou</groupId>
  220. <artifactId>mybatis-plus-annotation</artifactId>
  221. <version>${mybatis-plus.version}</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>com.baomidou</groupId>
  225. <artifactId>mybatis-plus-extension</artifactId>
  226. <version>${mybatis-plus.version}</version>
  227. </dependency>
  228. <!--多数据源-->
  229. <dependency>
  230. <groupId>com.baomidou</groupId>
  231. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  232. <version>${dynamic-datasource.version}</version>
  233. </dependency>
  234. <!--ShardingSphere-JDBC-->
  235. <dependency>
  236. <groupId>org.apache.shardingsphere</groupId>
  237. <artifactId>shardingsphere-jdbc-core-spring-boot-starter</artifactId>
  238. <version>${latest.release.version}</version>
  239. </dependency>
  240. <!--分页-->
  241. <dependency>
  242. <groupId>com.github.pagehelper</groupId>
  243. <artifactId>pagehelper</artifactId>
  244. <version>${pagehelper.version}</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>com.github.pagehelper</groupId>
  248. <artifactId>pagehelper-spring-boot-autoconfigure</artifactId>
  249. <version>${pagehelper-spring-boot-starter.version}</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>com.github.pagehelper</groupId>
  253. <artifactId>pagehelper-spring-boot-starter</artifactId>
  254. <version>${pagehelper-spring-boot-starter.version}</version>
  255. </dependency>
  256. <!--junit-->
  257. <dependency>
  258. <groupId>junit</groupId>
  259. <artifactId>junit</artifactId>
  260. <version>${junit.version}</version>
  261. <scope>test</scope>
  262. </dependency>
  263. <!--Lombok-->
  264. <dependency>
  265. <groupId>org.projectlombok</groupId>
  266. <artifactId>lombok</artifactId>
  267. <version>1.18.26</version>
  268. <!--<scope>provided</scope>-->
  269. </dependency>
  270. <dependency>
  271. <groupId>org.apache.tomcat.embed</groupId>
  272. <artifactId>tomcat-embed-core</artifactId>
  273. <version>10.1.7</version>
  274. </dependency>
  275. <dependency>
  276. <groupId>org.springframework</groupId>
  277. <artifactId>spring-webmvc</artifactId>
  278. <version>${spring-version}</version>
  279. </dependency>
  280. <!--xxx-job-->
  281. <dependency>
  282. <groupId>com.xuxueli</groupId>
  283. <artifactId>xxl-job-core</artifactId>
  284. <version>${xxljob.version}</version>
  285. </dependency>
  286. <!--<dependency>
  287. <groupId>org.aspectj</groupId>
  288. <artifactId>aspectjweaver</artifactId>
  289. <version>1.9.19</version>
  290. </dependency>-->
  291. <dependency>
  292. <groupId>org.bouncycastle</groupId>
  293. <artifactId>bcprov-jdk18on</artifactId>
  294. <version>1.74</version>
  295. </dependency>
  296. <!--日志链路-->
  297. <dependency>
  298. <groupId>com.yomahub</groupId>
  299. <artifactId>tlog-all-spring-boot-starter</artifactId>
  300. <version>1.5.1</version>
  301. </dependency>
  302. </dependencies>
  303. </dependencyManagement>
  304. <profiles>
  305. <profile>
  306. <id>dev</id>
  307. <properties>
  308. <profiles.active>dev</profiles.active>
  309. <nacos.server>10.10.10.230:8848</nacos.server>
  310. <nacos.namespace>sckw-service-platform-dev</nacos.namespace>
  311. </properties>
  312. </profile>
  313. <!--测试环境-->
  314. <profile>
  315. <id>test</id>
  316. <properties>
  317. <profiles.active>test</profiles.active>
  318. <nacos.server>10.10.10.224:8848</nacos.server>
  319. <nacos.namespace>sckw-service-platform</nacos.namespace>
  320. </properties>
  321. </profile>
  322. <!--生产环境-->
  323. <profile>
  324. <id>prod</id>
  325. <properties>
  326. <profiles.active>prod</profiles.active>
  327. <nacos.server>172.16.156.151:8848</nacos.server>
  328. <nacos.namespace>sckw-service-platform</nacos.namespace>
  329. </properties>
  330. </profile>
  331. </profiles>
  332. <build>
  333. <pluginManagement>
  334. <plugins>
  335. <plugin>
  336. <groupId>org.apache.maven.plugins</groupId>
  337. <artifactId>maven-clean-plugin</artifactId>
  338. <version>${maven-clean-plugin.version}</version>
  339. </plugin>
  340. <plugin>
  341. <groupId>org.apache.maven.plugins</groupId>
  342. <artifactId>maven-compiler-plugin</artifactId>
  343. <version>${maven-compiler-plugin.version}</version>
  344. </plugin>
  345. <plugin>
  346. <groupId>org.apache.maven.plugins</groupId>
  347. <artifactId>maven-deploy-plugin</artifactId>
  348. <version>${maven-deploy-plugin.version}</version>
  349. </plugin>
  350. <plugin>
  351. <groupId>org.apache.maven.plugins</groupId>
  352. <artifactId>maven-install-plugin</artifactId>
  353. <version>${maven-install-plugin.version}</version>
  354. </plugin>
  355. <plugin>
  356. <groupId>org.apache.maven.plugins</groupId>
  357. <artifactId>maven-jar-plugin</artifactId>
  358. <version>${maven-jar-plugin.version}</version>
  359. </plugin>
  360. <plugin>
  361. <groupId>org.apache.maven.plugins</groupId>
  362. <artifactId>maven-resources-plugin</artifactId>
  363. <version>${maven-resources-plugin.version}</version>
  364. <configuration>
  365. <propertiesEncoding>${project.build.sourceEncoding}</propertiesEncoding>
  366. <delimiters>
  367. <delimiter>@</delimiter>
  368. </delimiters>
  369. <useDefaultDelimiters>false</useDefaultDelimiters>
  370. </configuration>
  371. </plugin>
  372. <plugin>
  373. <groupId>org.springframework.boot</groupId>
  374. <artifactId>spring-boot-maven-plugin</artifactId>
  375. <version>${spring-boot.version}</version>
  376. </plugin>
  377. </plugins>
  378. </pluginManagement>
  379. <!-- <plugins>-->
  380. <!-- <plugin>-->
  381. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  382. <!-- <artifactId>maven-clean-plugin</artifactId>-->
  383. <!-- </plugin>-->
  384. <!-- <plugin>-->
  385. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  386. <!-- <artifactId>maven-deploy-plugin</artifactId>-->
  387. <!-- </plugin>-->
  388. <!-- <plugin>-->
  389. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  390. <!-- <artifactId>maven-install-plugin</artifactId>-->
  391. <!-- </plugin>-->
  392. <!-- <plugin>-->
  393. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  394. <!-- <artifactId>maven-compiler-plugin</artifactId>-->
  395. <!-- <configuration>-->
  396. <!-- <source>17</source>-->
  397. <!-- <target>17</target>-->
  398. <!-- <encoding>UTF-8</encoding>-->
  399. <!-- </configuration>-->
  400. <!-- </plugin>-->
  401. <!-- </plugins>-->
  402. <resources>
  403. <resource>
  404. <directory>src/main/resources</directory>
  405. <!-- 关闭过滤 -->
  406. <filtering>false</filtering>
  407. <includes>
  408. <include>**/*</include>
  409. </includes>
  410. </resource>
  411. <resource>
  412. <directory>src/main/resources</directory>
  413. <!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 -->
  414. <filtering>true</filtering>
  415. <!--资源-->
  416. <includes>
  417. <include>**/*.properties</include>
  418. <include>**/*.yml</include>
  419. </includes>
  420. </resource>
  421. </resources>
  422. </build>
  423. </project>