pom.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513
  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-account</module>
  22. <module>java/storlead-message</module>
  23. <module>java/storlead-sms</module>
  24. <module>java/storlead-system</module>
  25. <module>java/storlead-es</module>
  26. <module>java/storlead-sasa</module>
  27. <module>java/storlead-user</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</artifactId>
  149. <version>${revision}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.storlead.boot</groupId>
  153. <artifactId>storlead-message-api</artifactId>
  154. <version>${revision}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>com.storlead.boot</groupId>
  158. <artifactId>storlead-message-core</artifactId>
  159. <version>${revision}</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>com.storlead.boot</groupId>
  163. <artifactId>storlead-message-biz</artifactId>
  164. <version>${revision}</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>com.storlead.boot</groupId>
  168. <artifactId>storlead-es-api</artifactId>
  169. <version>${revision}</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>com.storlead.boot</groupId>
  173. <artifactId>storlead-es-core</artifactId>
  174. <version>${revision}</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.storlead.boot</groupId>
  178. <artifactId>storlead-es-biz</artifactId>
  179. <version>${revision}</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>com.storlead.boot</groupId>
  183. <artifactId>storlead-sms</artifactId>
  184. <version>${revision}</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>com.storlead.boot</groupId>
  188. <artifactId>storlead-sms-core</artifactId>
  189. <version>${revision}</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>com.storlead.boot</groupId>
  193. <artifactId>storlead-sms-biz</artifactId>
  194. <version>${revision}</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>com.storlead.boot</groupId>
  198. <artifactId>storlead-sms-api</artifactId>
  199. <version>${revision}</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>com.storlead.boot</groupId>
  203. <artifactId>storlead-user</artifactId>
  204. <version>${revision}</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>com.storlead.boot</groupId>
  208. <artifactId>storlead-thirdparty-api</artifactId>
  209. <version>${revision}</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>com.storlead.boot</groupId>
  213. <artifactId>storlead-thirdparty-core</artifactId>
  214. <version>${revision}</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>com.storlead.boot</groupId>
  218. <artifactId>storlead-thirdparty-wecom</artifactId>
  219. <version>${revision}</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>com.storlead.boot</groupId>
  223. <artifactId>storlead-thirdparty-dingtalk</artifactId>
  224. <version>${revision}</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>com.storlead.boot</groupId>
  228. <artifactId>storlead-customer</artifactId>
  229. <version>${revision}</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>com.storlead.boot</groupId>
  233. <artifactId>storlead-order</artifactId>
  234. <version>${revision}</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>com.storlead.boot</groupId>
  238. <artifactId>storlead-email</artifactId>
  239. <version>${revision}</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>com.storlead.boot</groupId>
  243. <artifactId>storlead-marketing</artifactId>
  244. <version>${revision}</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>com.storlead.boot</groupId>
  248. <artifactId>storlead-acquisition</artifactId>
  249. <version>${revision}</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>com.storlead.boot</groupId>
  253. <artifactId>storlead-mybatis</artifactId>
  254. <version>${revision}</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>com.storlead.boot</groupId>
  258. <artifactId>storlead-common</artifactId>
  259. <version>${revision}</version>
  260. </dependency>
  261. <!-- &lt;!&ndash;swagger&ndash;&gt;-->
  262. <dependency>
  263. <groupId>io.springfox</groupId>
  264. <artifactId>springfox-swagger2</artifactId>
  265. <version>${swagger.version}</version>
  266. </dependency>
  267. <dependency>
  268. <groupId>io.springfox</groupId>
  269. <artifactId>springfox-swagger-ui</artifactId>
  270. <version>${swagger.ui.version}</version>
  271. </dependency>
  272. <dependency>
  273. <groupId>io.swagger</groupId>
  274. <artifactId>swagger-annotations</artifactId>
  275. <version>${swagger.annotations.version}</version>
  276. </dependency>
  277. <dependency>
  278. <groupId>com.alibaba</groupId>
  279. <artifactId>fastjson</artifactId>
  280. <version>${fastjson.version}</version>
  281. </dependency>
  282. <!--JWT-->
  283. <dependency>
  284. <groupId>com.auth0</groupId>
  285. <artifactId>java-jwt</artifactId>
  286. <version>${io.jsonwebtoken.java.jwt.version}</version>
  287. </dependency>
  288. <!-- jwt 需�?移除会报�? -->
  289. <dependency>
  290. <groupId>io.jsonwebtoken</groupId>
  291. <artifactId>jjwt</artifactId>
  292. <version>${io.jsonwebtoken.version}</version>
  293. </dependency>
  294. <!-- pinyin4j -->
  295. <dependency>
  296. <groupId>cn.stylefeng.roses</groupId>
  297. <artifactId>pinyin-sdk-pinyin4j</artifactId>
  298. <version>${cn.stylefeng.pinyin4j.version}</version>
  299. </dependency>
  300. <dependency>
  301. <groupId>org.projectlombok</groupId>
  302. <artifactId>lombok</artifactId>
  303. <version>${lombok.version}</version>
  304. </dependency>
  305. <dependency>
  306. <groupId>cn.hutool</groupId>
  307. <artifactId>hutool-all</artifactId>
  308. <version>${hutool.version}</version>
  309. </dependency>
  310. <dependency>
  311. <groupId>org.redisson</groupId>
  312. <artifactId>redisson</artifactId>
  313. <version>${redisson.version}</version>
  314. </dependency>
  315. <!-- <dependency>-->
  316. <!-- <groupId>org.springframework.boot</groupId>-->
  317. <!-- <artifactId>spring-boot-dependencies</artifactId>-->
  318. <!-- <version>${spring.boot.version}</version>-->
  319. <!-- </dependency>-->
  320. <!--HttpClient-->
  321. <dependency>
  322. <groupId>org.apache.httpcomponents</groupId>
  323. <artifactId>httpclient</artifactId>
  324. <version>${httpclient.version}</version>
  325. </dependency>
  326. <dependency>
  327. <groupId>com.github.xiaoymin</groupId>
  328. <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
  329. <version>${knife4j.version}</version>
  330. </dependency>
  331. <!-- <dependency>-->
  332. <!-- <groupId>cn.hutool</groupId>-->
  333. <!-- <artifactId>hutool-all</artifactId>-->
  334. <!-- <version>4.5.11</version>-->
  335. <!-- </dependency>-->
  336. <dependency>
  337. <groupId>com.googlecode.aviator</groupId>
  338. <artifactId>aviator</artifactId>
  339. <version>${aviator.version}</version>
  340. </dependency>
  341. <dependency>
  342. <groupId>com.alibaba</groupId>
  343. <artifactId>transmittable-thread-local</artifactId>
  344. <version>${transmittable.thread.version}</version> <!-- 建议使用最新版�?-->
  345. </dependency>
  346. <!-- mybatis-plus -->
  347. <dependency>
  348. <groupId>com.baomidou</groupId>
  349. <artifactId>mybatis-plus-boot-starter</artifactId>
  350. <version>${mybatis-plus.version}</version>
  351. </dependency>
  352. <!--mysql-->
  353. <dependency>
  354. <groupId>mysql</groupId>
  355. <artifactId>mysql-connector-java</artifactId>
  356. <version>${mysql.connector.version}</version>
  357. </dependency>
  358. <!-- 动态数据源 -->
  359. <dependency>
  360. <groupId>com.baomidou</groupId>
  361. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  362. <version>${datasource.spring.boot.starter}</version>
  363. </dependency>
  364. <!-- druid -->
  365. <dependency>
  366. <groupId>com.alibaba</groupId>
  367. <artifactId>druid-spring-boot-starter</artifactId>
  368. <version>${druid.version}</version>
  369. </dependency>
  370. <!-- Web 相关 -->
  371. <dependency>
  372. <groupId>org.springframework.boot</groupId>
  373. <artifactId>spring-boot-starter-web</artifactId>
  374. <version>2.7.0</version>
  375. <exclusions>
  376. <exclusion>
  377. <groupId>org.springframework</groupId>
  378. <artifactId>spring-web</artifactId>
  379. </exclusion>
  380. </exclusions>
  381. </dependency>
  382. <dependency>
  383. <groupId>com.google.guava</groupId>
  384. <artifactId>guava</artifactId>
  385. <version>${guava.version}</version>
  386. </dependency>
  387. <dependency>
  388. <groupId>org.springdoc</groupId>
  389. <artifactId>springdoc-openapi-ui</artifactId>
  390. <version>${springdoc.version}</version>
  391. </dependency>
  392. </dependencies>
  393. </dependencyManagement>
  394. <build>
  395. <pluginManagement>
  396. <plugins>
  397. <!-- maven-surefire-plugin 插件,用于运行单元测试�?-->
  398. <!-- 注意,需要使�?3.0.X+,因为要支持 Junit 5 版本 -->
  399. <plugin>
  400. <groupId>org.apache.maven.plugins</groupId>
  401. <artifactId>maven-surefire-plugin</artifactId>
  402. <version>${maven-surefire-plugin.version}</version>
  403. </plugin>
  404. <!-- maven-compiler-plugin 插件,解�?spring-boot-configuration-processor + Lombok + MapStruct 组合 -->
  405. <!-- https://stackoverflow.com/questions/33483697/re-run-spring-boot-configuration-annotation-processor-to-update-generated-metada -->
  406. <plugin>
  407. <groupId>org.apache.maven.plugins</groupId>
  408. <artifactId>maven-compiler-plugin</artifactId>
  409. <version>${maven-compiler-plugin.version}</version>
  410. <configuration>
  411. <!-- <configuration>-->
  412. <!-- <source>17</source>-->
  413. <!-- <target>17</target>-->
  414. <!-- </configuration>-->
  415. <!-- <annotationProcessorPaths>-->
  416. <!-- <path>-->
  417. <!-- <groupId>org.springframework.boot</groupId>-->
  418. <!-- <artifactId>spring-boot-configuration-processor</artifactId>-->
  419. <!-- <version>${spring.boot.version}</version>-->
  420. <!-- </path>-->
  421. <!-- <path>-->
  422. <!-- <groupId>org.projectlombok</groupId>-->
  423. <!-- <artifactId>lombok</artifactId>-->
  424. <!-- <version>${lombok.version}</version>-->
  425. <!-- </path>-->
  426. <!-- <path>-->
  427. <!-- <groupId>org.mapstruct</groupId>-->
  428. <!-- <artifactId>mapstruct-processor</artifactId>-->
  429. <!-- <version>${mapstruct.version}</version>-->
  430. <!-- </path>-->
  431. <!-- </annotationProcessorPaths>-->
  432. </configuration>
  433. </plugin>
  434. </plugins>
  435. </pluginManagement>
  436. </build>
  437. <repositories>
  438. <repository>
  439. <id>aliyunmaven</id>
  440. <name>aliyun</name>
  441. <url>https://maven.aliyun.com/repository/public</url>
  442. </repository>
  443. <repository>
  444. <id>spring-milestones</id>
  445. <name>Spring Milestones</name>
  446. <url>https://repo.spring.io/milestone</url>
  447. <snapshots>
  448. <enabled>false</enabled>
  449. </snapshots>
  450. </repository>
  451. <repository>
  452. <id>spring-snapshots</id>
  453. <name>Spring Snapshots</name>
  454. <url>https://repo.spring.io/snapshot</url>
  455. <releases>
  456. <enabled>false</enabled>
  457. </releases>
  458. </repository>
  459. </repositories>
  460. </project>