pom.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570
  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. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.7.0</version>
  10. <relativePath/> <!-- 或者默�?-->
  11. </parent>
  12. <groupId>com.storlead.boot</groupId>
  13. <artifactId>storlead-saas-platform</artifactId>
  14. <version>1.0</version>
  15. <packaging>pom</packaging>
  16. <name>storlead-saas-platform</name>
  17. <modules>
  18. <module>java/storlead-dependencies</module>
  19. <module>java/storlead-framework</module>
  20. <module>java/storlead-api</module>
  21. <module>java/storlead-message</module>
  22. <module>java/storlead-sms</module>
  23. <module>java/storlead-system</module>
  24. <module>java/storlead-es</module>
  25. <module>java/storlead-sasa</module>
  26. <module>java/storlead-user</module>
  27. <module>java/storlead-knowledge</module>
  28. <module>java/storlead-thirdparty</module>
  29. </modules>
  30. <properties>
  31. <revision>1.0</revision>
  32. <java.version>11</java.version>
  33. <maven.compiler.source>${java.version}</maven.compiler.source>
  34. <maven.compiler.target>${java.version}</maven.compiler.target>
  35. <!-- 全局配置项目版本 -->
  36. <jwt.version>0.9.1</jwt.version>
  37. <commons.version>2.6</commons.version>
  38. <!-- 表示打包时跳过mvn test -->
  39. <maven.test.skip>true</maven.test.skip>
  40. <aviator.version>5.2.7</aviator.version>
  41. <io.jsonwebtoken.version>0.9.1</io.jsonwebtoken.version>
  42. <logstash-logback.version>6.6</logstash-logback.version>
  43. <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
  44. <maven-compiler-plugin.version>3.0</maven-compiler-plugin.version>
  45. <flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
  46. <spring.boot.version>2.7.0</spring.boot.version>
  47. <mapstruct.version>1.6.3</mapstruct.version>
  48. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  49. <spring.boot.starter.parent>2.7.0</spring.boot.starter.parent>
  50. <knife4j.version>4.5.0</knife4j.version>
  51. <spring-web.version>5.3.32</spring-web.version>
  52. <jsoup.version>1.18.3</jsoup.version>
  53. <mockito-inline.version>4.11.0</mockito-inline.version>
  54. <lombok.version>1.18.36</lombok.version>
  55. <spring.framework.version>5.3.20</spring.framework.version>
  56. <spring.security.version>5.8.14</spring.security.version>
  57. <fastjson.version>2.0.23</fastjson.version>
  58. <!-- 5.8.35-->
  59. <hutool.version>5.4.3</hutool.version>
  60. <springdoc.version>1.7.0</springdoc.version>
  61. <swagger.ui.version>3.0.0</swagger.ui.version>
  62. <swagger.version>3.0.0</swagger.version>
  63. <swagger.annotations.version>1.5.22</swagger.annotations.version>
  64. <spring.web.socket.version>1.5.3</spring.web.socket.version>
  65. <!-- redis -->
  66. <redisson.version>3.6.5</redisson.version>
  67. <httpclient.version>4.5.3</httpclient.version>
  68. <!-- DB 相关 -->
  69. <druid.version>1.1.24</druid.version>
  70. <mybatis.version>3.5.17</mybatis.version>
  71. <mybatis-plus.version>3.1.2</mybatis-plus.version>
  72. <datasource.spring.boot.starter>2.5.4</datasource.spring.boot.starter>
  73. <dynamic-datasource.version>4.3.1</dynamic-datasource.version>
  74. <mybatis-plus-join.version>1.4.13</mybatis-plus-join.version>
  75. <mysql.connector.version>5.1.47</mysql.connector.version>
  76. <guava.version>33.4.0-jre</guava.version>
  77. <transmittable.thread.version>2.14.0</transmittable.thread.version>
  78. <google.code.gson.version>2.10.1</google.code.gson.version>
  79. <squareup.okhttp.version>4.12.0</squareup.okhttp.version>
  80. <okhttp.sse.version>4.10.0</okhttp.sse.version>
  81. <spring.validation.version>2.6.3</spring.validation.version>
  82. <apache.httpcore5.client5.version>5.2.1</apache.httpcore5.client5.version>
  83. <apache.httpcore5.version>5.2.1</apache.httpcore5.version>
  84. <apache.httpcore5-h2.version>5.2.1</apache.httpcore5-h2.version>
  85. <apache.httpasyncclient.version>4.1.5</apache.httpasyncclient.version>
  86. <io.jsonwebtoken.java.jwt.version>3.7.0</io.jsonwebtoken.java.jwt.version>
  87. <cn.stylefeng.pinyin4j.version>7.2.3</cn.stylefeng.pinyin4j.version>
  88. </properties>
  89. <!-- <dependencyManagement>-->
  90. <!-- <dependencies>-->
  91. <!-- <dependency>-->
  92. <!-- <groupId>com.storlead.boot</groupId>-->
  93. <!-- <artifactId>storlead-dependencies</artifactId>-->
  94. <!-- <version>1.0</version>-->
  95. <!-- <type>pom</type>-->
  96. <!-- <scope>import</scope>-->
  97. <!-- </dependency>-->
  98. <!-- </dependencies>-->
  99. <!-- </dependencyManagement>-->
  100. <dependencyManagement>
  101. <dependencies>
  102. <!-- 统一三方依赖版本入口 -->
  103. <dependency>
  104. <groupId>com.storlead.boot</groupId>
  105. <artifactId>storlead-dependencies</artifactId>
  106. <version>${revision}</version>
  107. <type>pom</type>
  108. <scope>import</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.storlead.boot</groupId>
  112. <artifactId>storlead-framework</artifactId>
  113. <version>${revision}</version>
  114. <type>pom</type>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.storlead.boot</groupId>
  118. <artifactId>storlead-core</artifactId>
  119. <version>${revision}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.storlead.boot</groupId>
  123. <artifactId>storlead-auth</artifactId>
  124. <version>${revision}</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.storlead.boot</groupId>
  128. <artifactId>storlead-redis</artifactId>
  129. <version>${revision}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>com.storlead.boot</groupId>
  133. <artifactId>storlead-web</artifactId>
  134. <version>${revision}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>com.storlead.boot</groupId>
  138. <artifactId>storlead-account-api</artifactId>
  139. <version>${revision}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.storlead.boot</groupId>
  143. <artifactId>storlead-account-biz</artifactId>
  144. <version>${revision}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>com.storlead.boot</groupId>
  148. <artifactId>storlead-system-core</artifactId>
  149. <version>${revision}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.storlead.boot</groupId>
  153. <artifactId>storlead-system-spi</artifactId>
  154. <version>${revision}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>com.storlead.boot</groupId>
  158. <artifactId>storlead-system-biz</artifactId>
  159. <version>${revision}</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>com.storlead.boot</groupId>
  163. <artifactId>storlead-system-api</artifactId>
  164. <version>${revision}</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>com.storlead.boot</groupId>
  168. <artifactId>storlead-message-api</artifactId>
  169. <version>${revision}</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>com.storlead.boot</groupId>
  173. <artifactId>storlead-message-core</artifactId>
  174. <version>${revision}</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.storlead.boot</groupId>
  178. <artifactId>storlead-message-biz</artifactId>
  179. <version>${revision}</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>com.storlead.boot</groupId>
  183. <artifactId>storlead-es-api</artifactId>
  184. <version>${revision}</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>com.storlead.boot</groupId>
  188. <artifactId>storlead-es-core</artifactId>
  189. <version>${revision}</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>com.storlead.boot</groupId>
  193. <artifactId>storlead-es-biz</artifactId>
  194. <version>${revision}</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>com.storlead.boot</groupId>
  198. <artifactId>storlead-sms</artifactId>
  199. <version>${revision}</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>com.storlead.boot</groupId>
  203. <artifactId>storlead-sms-core</artifactId>
  204. <version>${revision}</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>com.storlead.boot</groupId>
  208. <artifactId>storlead-sms-spi</artifactId>
  209. <version>${revision}</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>com.storlead.boot</groupId>
  213. <artifactId>storlead-sms-biz</artifactId>
  214. <version>${revision}</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>com.storlead.boot</groupId>
  218. <artifactId>storlead-sms-api</artifactId>
  219. <version>${revision}</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>com.storlead.boot</groupId>
  223. <artifactId>storlead-user-core</artifactId>
  224. <version>${revision}</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>com.storlead.boot</groupId>
  228. <artifactId>storlead-user-spi</artifactId>
  229. <version>${revision}</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>com.storlead.boot</groupId>
  233. <artifactId>storlead-user-api</artifactId>
  234. <version>${revision}</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>com.storlead.boot</groupId>
  238. <artifactId>storlead-user-biz</artifactId>
  239. <version>${revision}</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>com.storlead.boot</groupId>
  243. <artifactId>storlead-knowledge-core</artifactId>
  244. <version>${revision}</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>com.storlead.boot</groupId>
  248. <artifactId>storlead-knowledge-spi</artifactId>
  249. <version>${revision}</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>com.storlead.boot</groupId>
  253. <artifactId>storlead-knowledge-biz</artifactId>
  254. <version>${revision}</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>com.storlead.boot</groupId>
  258. <artifactId>storlead-knowledge-api</artifactId>
  259. <version>${revision}</version>
  260. </dependency>
  261. <dependency>
  262. <groupId>com.storlead.boot</groupId>
  263. <artifactId>storlead-thirdparty-api</artifactId>
  264. <version>${revision}</version>
  265. </dependency>
  266. <dependency>
  267. <groupId>com.storlead.boot</groupId>
  268. <artifactId>storlead-thirdparty-core</artifactId>
  269. <version>${revision}</version>
  270. </dependency>
  271. <dependency>
  272. <groupId>com.storlead.boot</groupId>
  273. <artifactId>storlead-thirdparty-wecom</artifactId>
  274. <version>${revision}</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>com.storlead.boot</groupId>
  278. <artifactId>storlead-thirdparty-dingtalk</artifactId>
  279. <version>${revision}</version>
  280. </dependency>
  281. <dependency>
  282. <groupId>com.storlead.boot</groupId>
  283. <artifactId>storlead-customer</artifactId>
  284. <version>${revision}</version>
  285. </dependency>
  286. <dependency>
  287. <groupId>com.storlead.boot</groupId>
  288. <artifactId>storlead-order</artifactId>
  289. <version>${revision}</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>com.storlead.boot</groupId>
  293. <artifactId>storlead-email</artifactId>
  294. <version>${revision}</version>
  295. </dependency>
  296. <dependency>
  297. <groupId>com.storlead.boot</groupId>
  298. <artifactId>storlead-marketing</artifactId>
  299. <version>${revision}</version>
  300. </dependency>
  301. <dependency>
  302. <groupId>com.storlead.boot</groupId>
  303. <artifactId>storlead-acquisition</artifactId>
  304. <version>${revision}</version>
  305. </dependency>
  306. <dependency>
  307. <groupId>com.storlead.boot</groupId>
  308. <artifactId>storlead-mybatis</artifactId>
  309. <version>${revision}</version>
  310. </dependency>
  311. <dependency>
  312. <groupId>com.storlead.boot</groupId>
  313. <artifactId>storlead-common</artifactId>
  314. <version>${revision}</version>
  315. </dependency>
  316. <!-- &lt;!&ndash;swagger&ndash;&gt;-->
  317. <dependency>
  318. <groupId>io.springfox</groupId>
  319. <artifactId>springfox-swagger2</artifactId>
  320. <version>${swagger.version}</version>
  321. </dependency>
  322. <dependency>
  323. <groupId>io.springfox</groupId>
  324. <artifactId>springfox-swagger-ui</artifactId>
  325. <version>${swagger.ui.version}</version>
  326. </dependency>
  327. <dependency>
  328. <groupId>io.swagger</groupId>
  329. <artifactId>swagger-annotations</artifactId>
  330. <version>${swagger.annotations.version}</version>
  331. </dependency>
  332. <dependency>
  333. <groupId>com.alibaba</groupId>
  334. <artifactId>fastjson</artifactId>
  335. <version>${fastjson.version}</version>
  336. </dependency>
  337. <!--JWT-->
  338. <dependency>
  339. <groupId>com.auth0</groupId>
  340. <artifactId>java-jwt</artifactId>
  341. <version>${io.jsonwebtoken.java.jwt.version}</version>
  342. </dependency>
  343. <!-- jwt 需�?移除会报�? -->
  344. <dependency>
  345. <groupId>io.jsonwebtoken</groupId>
  346. <artifactId>jjwt</artifactId>
  347. <version>${io.jsonwebtoken.version}</version>
  348. </dependency>
  349. <!-- pinyin4j -->
  350. <dependency>
  351. <groupId>cn.stylefeng.roses</groupId>
  352. <artifactId>pinyin-sdk-pinyin4j</artifactId>
  353. <version>${cn.stylefeng.pinyin4j.version}</version>
  354. </dependency>
  355. <dependency>
  356. <groupId>org.projectlombok</groupId>
  357. <artifactId>lombok</artifactId>
  358. <version>${lombok.version}</version>
  359. </dependency>
  360. <dependency>
  361. <groupId>cn.hutool</groupId>
  362. <artifactId>hutool-all</artifactId>
  363. <version>${hutool.version}</version>
  364. </dependency>
  365. <dependency>
  366. <groupId>org.redisson</groupId>
  367. <artifactId>redisson</artifactId>
  368. <version>${redisson.version}</version>
  369. </dependency>
  370. <!-- <dependency>-->
  371. <!-- <groupId>org.springframework.boot</groupId>-->
  372. <!-- <artifactId>spring-boot-dependencies</artifactId>-->
  373. <!-- <version>${spring.boot.version}</version>-->
  374. <!-- </dependency>-->
  375. <!--HttpClient-->
  376. <dependency>
  377. <groupId>org.apache.httpcomponents</groupId>
  378. <artifactId>httpclient</artifactId>
  379. <version>${httpclient.version}</version>
  380. </dependency>
  381. <dependency>
  382. <groupId>com.github.xiaoymin</groupId>
  383. <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
  384. <version>${knife4j.version}</version>
  385. </dependency>
  386. <!-- <dependency>-->
  387. <!-- <groupId>cn.hutool</groupId>-->
  388. <!-- <artifactId>hutool-all</artifactId>-->
  389. <!-- <version>4.5.11</version>-->
  390. <!-- </dependency>-->
  391. <dependency>
  392. <groupId>com.googlecode.aviator</groupId>
  393. <artifactId>aviator</artifactId>
  394. <version>${aviator.version}</version>
  395. </dependency>
  396. <dependency>
  397. <groupId>com.alibaba</groupId>
  398. <artifactId>transmittable-thread-local</artifactId>
  399. <version>${transmittable.thread.version}</version> <!-- 建议使用最新版�?-->
  400. </dependency>
  401. <!-- mybatis-plus -->
  402. <dependency>
  403. <groupId>com.baomidou</groupId>
  404. <artifactId>mybatis-plus-boot-starter</artifactId>
  405. <version>${mybatis-plus.version}</version>
  406. </dependency>
  407. <!--mysql-->
  408. <dependency>
  409. <groupId>mysql</groupId>
  410. <artifactId>mysql-connector-java</artifactId>
  411. <version>${mysql.connector.version}</version>
  412. </dependency>
  413. <!-- 动态数据源 -->
  414. <dependency>
  415. <groupId>com.baomidou</groupId>
  416. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  417. <version>${datasource.spring.boot.starter}</version>
  418. </dependency>
  419. <!-- druid -->
  420. <dependency>
  421. <groupId>com.alibaba</groupId>
  422. <artifactId>druid-spring-boot-starter</artifactId>
  423. <version>${druid.version}</version>
  424. </dependency>
  425. <!-- Web 相关 -->
  426. <dependency>
  427. <groupId>org.springframework.boot</groupId>
  428. <artifactId>spring-boot-starter-web</artifactId>
  429. <version>2.7.0</version>
  430. <exclusions>
  431. <exclusion>
  432. <groupId>org.springframework</groupId>
  433. <artifactId>spring-web</artifactId>
  434. </exclusion>
  435. </exclusions>
  436. </dependency>
  437. <dependency>
  438. <groupId>com.google.guava</groupId>
  439. <artifactId>guava</artifactId>
  440. <version>${guava.version}</version>
  441. </dependency>
  442. <dependency>
  443. <groupId>org.springdoc</groupId>
  444. <artifactId>springdoc-openapi-ui</artifactId>
  445. <version>${springdoc.version}</version>
  446. </dependency>
  447. </dependencies>
  448. </dependencyManagement>
  449. <build>
  450. <pluginManagement>
  451. <plugins>
  452. <!-- maven-surefire-plugin 插件,用于运行单元测试�?-->
  453. <!-- 注意,需要使�?3.0.X+,因为要支持 Junit 5 版本 -->
  454. <plugin>
  455. <groupId>org.apache.maven.plugins</groupId>
  456. <artifactId>maven-surefire-plugin</artifactId>
  457. <version>${maven-surefire-plugin.version}</version>
  458. </plugin>
  459. <!-- maven-compiler-plugin 插件,解�?spring-boot-configuration-processor + Lombok + MapStruct 组合 -->
  460. <!-- https://stackoverflow.com/questions/33483697/re-run-spring-boot-configuration-annotation-processor-to-update-generated-metada -->
  461. <plugin>
  462. <groupId>org.apache.maven.plugins</groupId>
  463. <artifactId>maven-compiler-plugin</artifactId>
  464. <version>${maven-compiler-plugin.version}</version>
  465. <configuration>
  466. <!-- <configuration>-->
  467. <!-- <source>17</source>-->
  468. <!-- <target>17</target>-->
  469. <!-- </configuration>-->
  470. <!-- <annotationProcessorPaths>-->
  471. <!-- <path>-->
  472. <!-- <groupId>org.springframework.boot</groupId>-->
  473. <!-- <artifactId>spring-boot-configuration-processor</artifactId>-->
  474. <!-- <version>${spring.boot.version}</version>-->
  475. <!-- </path>-->
  476. <!-- <path>-->
  477. <!-- <groupId>org.projectlombok</groupId>-->
  478. <!-- <artifactId>lombok</artifactId>-->
  479. <!-- <version>${lombok.version}</version>-->
  480. <!-- </path>-->
  481. <!-- <path>-->
  482. <!-- <groupId>org.mapstruct</groupId>-->
  483. <!-- <artifactId>mapstruct-processor</artifactId>-->
  484. <!-- <version>${mapstruct.version}</version>-->
  485. <!-- </path>-->
  486. <!-- </annotationProcessorPaths>-->
  487. </configuration>
  488. </plugin>
  489. </plugins>
  490. </pluginManagement>
  491. </build>
  492. <repositories>
  493. <repository>
  494. <id>aliyunmaven</id>
  495. <name>aliyun</name>
  496. <url>https://maven.aliyun.com/repository/public</url>
  497. </repository>
  498. <repository>
  499. <id>spring-milestones</id>
  500. <name>Spring Milestones</name>
  501. <url>https://repo.spring.io/milestone</url>
  502. <snapshots>
  503. <enabled>false</enabled>
  504. </snapshots>
  505. </repository>
  506. <repository>
  507. <id>spring-snapshots</id>
  508. <name>Spring Snapshots</name>
  509. <url>https://repo.spring.io/snapshot</url>
  510. <releases>
  511. <enabled>false</enabled>
  512. </releases>
  513. </repository>
  514. </repositories>
  515. </project>