pom.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
  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-modules</module>
  14. <module>slope-common</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. <sentinel-csp.version>1.8.6</sentinel-csp.version>
  38. <nacos-client.version>2.2.1</nacos-client.version>
  39. <hutool.version>5.8.18</hutool.version>
  40. <mybatis-plus.version>3.5.3.1</mybatis-plus.version>
  41. <dynamic-datasource.version>3.6.1</dynamic-datasource.version>
  42. <latest.release.version>5.2.0</latest.release.version>
  43. <tdengine.version>3.2.5</tdengine.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. <!--nacos-->
  172. <dependency>
  173. <groupId>com.alibaba.nacos</groupId>
  174. <artifactId>nacos-client</artifactId>
  175. <version>${nacos-client.version}</version>
  176. </dependency>
  177. <!--jdk9+ 以上需要手动添加 JAXB能够使用Jackson对JAXB注解-->
  178. <dependency>
  179. <groupId>javax.xml.bind</groupId>
  180. <artifactId>jaxb-api</artifactId>
  181. <version>2.3.1</version>
  182. </dependency>
  183. <!--hutool-->
  184. <dependency>
  185. <groupId>cn.hutool</groupId>
  186. <artifactId>hutool-http</artifactId>
  187. <version>${hutool.version}</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>cn.hutool</groupId>
  191. <artifactId>hutool-extra</artifactId>
  192. <version>${hutool.version}</version>
  193. </dependency>
  194. <!--mybatis-plus 依赖-->
  195. <dependency>
  196. <groupId>com.baomidou</groupId>
  197. <artifactId>mybatis-plus-boot-starter</artifactId>
  198. <version>${mybatis-plus.version}</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>com.baomidou</groupId>
  202. <artifactId>mybatis-plus-annotation</artifactId>
  203. <version>${mybatis-plus.version}</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>com.baomidou</groupId>
  207. <artifactId>mybatis-plus-extension</artifactId>
  208. <version>${mybatis-plus.version}</version>
  209. </dependency>
  210. <!--多数据源-->
  211. <dependency>
  212. <groupId>com.baomidou</groupId>
  213. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  214. <version>${dynamic-datasource.version}</version>
  215. </dependency>
  216. <!--ShardingSphere-JDBC-->
  217. <dependency>
  218. <groupId>org.apache.shardingsphere</groupId>
  219. <artifactId>shardingsphere-jdbc-core-spring-boot-starter</artifactId>
  220. <version>${latest.release.version}</version>
  221. </dependency>
  222. <!--tdengine-->
  223. <dependency>
  224. <groupId>com.taosdata.jdbc</groupId>
  225. <artifactId>taos-jdbcdriver</artifactId>
  226. <version>${tdengine.version}</version>
  227. </dependency>
  228. <!--分页-->
  229. <dependency>
  230. <groupId>com.github.pagehelper</groupId>
  231. <artifactId>pagehelper</artifactId>
  232. <version>${pagehelper.version}</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>com.github.pagehelper</groupId>
  236. <artifactId>pagehelper-spring-boot-autoconfigure</artifactId>
  237. <version>${pagehelper-spring-boot-starter.version}</version>
  238. </dependency>
  239. <dependency>
  240. <groupId>com.github.pagehelper</groupId>
  241. <artifactId>pagehelper-spring-boot-starter</artifactId>
  242. <version>${pagehelper-spring-boot-starter.version}</version>
  243. </dependency>
  244. <!--junit-->
  245. <dependency>
  246. <groupId>junit</groupId>
  247. <artifactId>junit</artifactId>
  248. <version>${junit.version}</version>
  249. <scope>test</scope>
  250. </dependency>
  251. <!--Lombok-->
  252. <dependency>
  253. <groupId>org.projectlombok</groupId>
  254. <artifactId>lombok</artifactId>
  255. <version>1.18.26</version>
  256. <!--<scope>provided</scope>-->
  257. </dependency>
  258. <dependency>
  259. <groupId>org.apache.tomcat.embed</groupId>
  260. <artifactId>tomcat-embed-core</artifactId>
  261. <version>10.1.7</version>
  262. </dependency>
  263. <dependency>
  264. <groupId>org.springframework</groupId>
  265. <artifactId>spring-webmvc</artifactId>
  266. <version>${spring-version}</version>
  267. </dependency>
  268. <!--xxx-job-->
  269. <dependency>
  270. <groupId>com.xuxueli</groupId>
  271. <artifactId>xxl-job-core</artifactId>
  272. <version>${xxljob.version}</version>
  273. </dependency>
  274. <dependency>
  275. <groupId>org.bouncycastle</groupId>
  276. <artifactId>bcprov-jdk18on</artifactId>
  277. <version>1.74</version>
  278. </dependency>
  279. </dependencies>
  280. </dependencyManagement>
  281. <profiles>
  282. <profile>
  283. <id>dev</id>
  284. <properties>
  285. <profiles.active>dev</profiles.active>
  286. <nacos.server>10.10.10.230:8848</nacos.server>
  287. <nacos.namespace>slope-manage-service</nacos.namespace>
  288. </properties>
  289. </profile>
  290. <!--测试环境-->
  291. <profile>
  292. <id>test</id>
  293. <properties>
  294. <profiles.active>test</profiles.active>
  295. <nacos.server>10.10.10.224:8848</nacos.server>
  296. <nacos.namespace>slope-manage-service</nacos.namespace>
  297. </properties>
  298. </profile>
  299. <!--生产环境-->
  300. <profile>
  301. <id>prod</id>
  302. <properties>
  303. <profiles.active>prod</profiles.active>
  304. <nacos.server>172.16.156.151:8848</nacos.server>
  305. <nacos.namespace>slope-manage-service</nacos.namespace>
  306. </properties>
  307. </profile>
  308. </profiles>
  309. <build>
  310. <pluginManagement>
  311. <plugins>
  312. <plugin>
  313. <groupId>org.apache.maven.plugins</groupId>
  314. <artifactId>maven-clean-plugin</artifactId>
  315. <version>${maven-clean-plugin.version}</version>
  316. </plugin>
  317. <plugin>
  318. <groupId>org.apache.maven.plugins</groupId>
  319. <artifactId>maven-compiler-plugin</artifactId>
  320. <version>${maven-compiler-plugin.version}</version>
  321. </plugin>
  322. <plugin>
  323. <groupId>org.apache.maven.plugins</groupId>
  324. <artifactId>maven-deploy-plugin</artifactId>
  325. <version>${maven-deploy-plugin.version}</version>
  326. </plugin>
  327. <plugin>
  328. <groupId>org.apache.maven.plugins</groupId>
  329. <artifactId>maven-install-plugin</artifactId>
  330. <version>${maven-install-plugin.version}</version>
  331. </plugin>
  332. <plugin>
  333. <groupId>org.apache.maven.plugins</groupId>
  334. <artifactId>maven-jar-plugin</artifactId>
  335. <version>${maven-jar-plugin.version}</version>
  336. </plugin>
  337. <plugin>
  338. <groupId>org.apache.maven.plugins</groupId>
  339. <artifactId>maven-resources-plugin</artifactId>
  340. <version>${maven-resources-plugin.version}</version>
  341. <configuration>
  342. <propertiesEncoding>${project.build.sourceEncoding}</propertiesEncoding>
  343. <delimiters>
  344. <delimiter>@</delimiter>
  345. </delimiters>
  346. <useDefaultDelimiters>false</useDefaultDelimiters>
  347. </configuration>
  348. </plugin>
  349. <plugin>
  350. <groupId>org.springframework.boot</groupId>
  351. <artifactId>spring-boot-maven-plugin</artifactId>
  352. <version>${spring-boot.version}</version>
  353. </plugin>
  354. </plugins>
  355. </pluginManagement>
  356. <plugins>
  357. <plugin>
  358. <groupId>org.apache.maven.plugins</groupId>
  359. <artifactId>maven-clean-plugin</artifactId>
  360. </plugin>
  361. <plugin>
  362. <groupId>org.apache.maven.plugins</groupId>
  363. <artifactId>maven-deploy-plugin</artifactId>
  364. </plugin>
  365. <plugin>
  366. <groupId>org.apache.maven.plugins</groupId>
  367. <artifactId>maven-install-plugin</artifactId>
  368. </plugin>
  369. <plugin>
  370. <groupId>org.apache.maven.plugins</groupId>
  371. <artifactId>maven-compiler-plugin</artifactId>
  372. <configuration>
  373. <source>17</source>
  374. <target>17</target>
  375. <encoding>UTF-8</encoding>
  376. </configuration>
  377. </plugin>
  378. </plugins>
  379. <resources>
  380. <resource>
  381. <directory>src/main/resources</directory>
  382. <!-- 关闭过滤 -->
  383. <filtering>false</filtering>
  384. <includes>
  385. <include>**/*</include>
  386. </includes>
  387. </resource>
  388. <resource>
  389. <directory>src/main/resources</directory>
  390. <!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 -->
  391. <filtering>true</filtering>
  392. <!--资源-->
  393. <includes>
  394. <include>**/*.properties</include>
  395. <include>**/*.yml</include>
  396. </includes>
  397. </resource>
  398. </resources>
  399. </build>
  400. </project>