pom.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418
  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-mail-service</artifactId>
  14. <version>1.0</version>
  15. <packaging>pom</packaging>
  16. <name>storlead-mail-service</name>
  17. <modules>
  18. <module>storlead-dependencies</module>
  19. <module>storlead-framework</module>
  20. <module>storlead-api</module>
  21. <module>storlead-mail</module>
  22. </modules>
  23. <properties>
  24. <revision>1.0</revision>
  25. <java.version>11</java.version>
  26. <maven.compiler.source>${java.version}</maven.compiler.source>
  27. <maven.compiler.target>${java.version}</maven.compiler.target>
  28. <!-- 全局配置项目版本 -->
  29. <jwt.version>0.9.1</jwt.version>
  30. <commons.version>2.6</commons.version>
  31. <!-- 表示打包时跳过mvn test -->
  32. <maven.test.skip>true</maven.test.skip>
  33. <aviator.version>5.2.7</aviator.version>
  34. <io.jsonwebtoken.version>0.9.1</io.jsonwebtoken.version>
  35. <logstash-logback.version>6.6</logstash-logback.version>
  36. <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
  37. <maven-compiler-plugin.version>3.0</maven-compiler-plugin.version>
  38. <flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
  39. <spring.boot.version>2.7.0</spring.boot.version>
  40. <mapstruct.version>1.6.3</mapstruct.version>
  41. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  42. <spring.boot.starter.parent>2.7.0</spring.boot.starter.parent>
  43. <knife4j.version>4.5.0</knife4j.version>
  44. <spring-web.version>5.3.32</spring-web.version>
  45. <jsoup.version>1.18.3</jsoup.version>
  46. <mockito-inline.version>4.11.0</mockito-inline.version>
  47. <lombok.version>1.18.36</lombok.version>
  48. <spring.framework.version>5.3.20</spring.framework.version>
  49. <spring.security.version>5.8.14</spring.security.version>
  50. <fastjson.version>2.0.23</fastjson.version>
  51. <!-- 5.8.35-->
  52. <hutool.version>5.4.3</hutool.version>
  53. <springdoc.version>1.7.0</springdoc.version>
  54. <swagger.ui.version>3.0.0</swagger.ui.version>
  55. <swagger.version>3.0.0</swagger.version>
  56. <swagger.annotations.version>1.5.22</swagger.annotations.version>
  57. <spring.web.socket.version>1.5.3</spring.web.socket.version>
  58. <!-- redis -->
  59. <redisson.version>3.6.5</redisson.version>
  60. <httpclient.version>4.5.3</httpclient.version>
  61. <!-- DB 相关 -->
  62. <druid.version>1.1.24</druid.version>
  63. <mybatis.version>3.5.17</mybatis.version>
  64. <mybatis-plus.version>3.1.2</mybatis-plus.version>
  65. <datasource.spring.boot.starter>2.5.4</datasource.spring.boot.starter>
  66. <dynamic-datasource.version>4.3.1</dynamic-datasource.version>
  67. <mybatis-plus-join.version>1.4.13</mybatis-plus-join.version>
  68. <mysql.connector.version>5.1.47</mysql.connector.version>
  69. <guava.version>33.4.0-jre</guava.version>
  70. <transmittable.thread.version>2.14.0</transmittable.thread.version>
  71. <google.code.gson.version>2.10.1</google.code.gson.version>
  72. <squareup.okhttp.version>4.12.0</squareup.okhttp.version>
  73. <okhttp.sse.version>4.10.0</okhttp.sse.version>
  74. <spring.validation.version>2.6.3</spring.validation.version>
  75. <apache.httpcore5.client5.version>5.2.1</apache.httpcore5.client5.version>
  76. <apache.httpcore5.version>5.2.1</apache.httpcore5.version>
  77. <apache.httpcore5-h2.version>5.2.1</apache.httpcore5-h2.version>
  78. <apache.httpasyncclient.version>4.1.5</apache.httpasyncclient.version>
  79. <io.jsonwebtoken.java.jwt.version>3.7.0</io.jsonwebtoken.java.jwt.version>
  80. <cn.stylefeng.pinyin4j.version>7.2.3</cn.stylefeng.pinyin4j.version>
  81. </properties>
  82. <!-- <dependencyManagement>-->
  83. <!-- <dependencies>-->
  84. <!-- <dependency>-->
  85. <!-- <groupId>com.storlead.boot</groupId>-->
  86. <!-- <artifactId>storlead-dependencies</artifactId>-->
  87. <!-- <version>1.0</version>-->
  88. <!-- <type>pom</type>-->
  89. <!-- <scope>import</scope>-->
  90. <!-- </dependency>-->
  91. <!-- </dependencies>-->
  92. <!-- </dependencyManagement>-->
  93. <dependencyManagement>
  94. <dependencies>
  95. <!-- 统一三方依赖版本入口 -->
  96. <dependency>
  97. <groupId>com.storlead.boot</groupId>
  98. <artifactId>storlead-dependencies</artifactId>
  99. <version>${revision}</version>
  100. <type>pom</type>
  101. <scope>import</scope>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.storlead.boot</groupId>
  105. <artifactId>storlead-framework</artifactId>
  106. <version>${revision}</version>
  107. <type>pom</type>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.storlead.boot</groupId>
  111. <artifactId>storlead-core</artifactId>
  112. <version>${revision}</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.storlead.boot</groupId>
  116. <artifactId>storlead-auth</artifactId>
  117. <version>${revision}</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>com.storlead.boot</groupId>
  121. <artifactId>storlead-redis</artifactId>
  122. <version>${revision}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>com.storlead.boot</groupId>
  126. <artifactId>storlead-web</artifactId>
  127. <version>${revision}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.storlead.boot</groupId>
  131. <artifactId>storlead-mybatis</artifactId>
  132. <version>${revision}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.storlead.boot</groupId>
  136. <artifactId>storlead-common</artifactId>
  137. <version>${revision}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>com.storlead.boot</groupId>
  141. <artifactId>storlead-mail-common</artifactId>
  142. <version>${revision}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.storlead.boot</groupId>
  146. <artifactId>storlead-mail-crm</artifactId>
  147. <version>${revision}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.storlead.boot</groupId>
  151. <artifactId>storlead-mail-mkt</artifactId>
  152. <version>${revision}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>com.storlead.boot</groupId>
  156. <artifactId>storlead-mail-dispatch</artifactId>
  157. <version>${revision}</version>
  158. </dependency>
  159. <!-- swagger -->
  160. <dependency>
  161. <groupId>io.springfox</groupId>
  162. <artifactId>springfox-swagger2</artifactId>
  163. <version>${swagger.version}</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>io.springfox</groupId>
  167. <artifactId>springfox-swagger-ui</artifactId>
  168. <version>${swagger.ui.version}</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>io.swagger</groupId>
  172. <artifactId>swagger-annotations</artifactId>
  173. <version>${swagger.annotations.version}</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>com.alibaba</groupId>
  177. <artifactId>fastjson</artifactId>
  178. <version>${fastjson.version}</version>
  179. </dependency>
  180. <!-- jwt -->
  181. <dependency>
  182. <groupId>com.auth0</groupId>
  183. <artifactId>java-jwt</artifactId>
  184. <version>${io.jsonwebtoken.java.jwt.version}</version>
  185. </dependency>
  186. <!-- jwt -->
  187. <dependency>
  188. <groupId>io.jsonwebtoken</groupId>
  189. <artifactId>jjwt</artifactId>
  190. <version>${io.jsonwebtoken.version}</version>
  191. </dependency>
  192. <!-- pinyin4j -->
  193. <dependency>
  194. <groupId>cn.stylefeng.roses</groupId>
  195. <artifactId>pinyin-sdk-pinyin4j</artifactId>
  196. <version>${cn.stylefeng.pinyin4j.version}</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.projectlombok</groupId>
  200. <artifactId>lombok</artifactId>
  201. <version>${lombok.version}</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>cn.hutool</groupId>
  205. <artifactId>hutool-all</artifactId>
  206. <version>${hutool.version}</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>org.redisson</groupId>
  210. <artifactId>redisson</artifactId>
  211. <version>${redisson.version}</version>
  212. </dependency>
  213. <!-- <dependency>-->
  214. <!-- <groupId>org.springframework.boot</groupId>-->
  215. <!-- <artifactId>spring-boot-dependencies</artifactId>-->
  216. <!-- <version>${spring.boot.version}</version>-->
  217. <!-- </dependency>-->
  218. <!--HttpClient-->
  219. <dependency>
  220. <groupId>org.apache.httpcomponents</groupId>
  221. <artifactId>httpclient</artifactId>
  222. <version>${httpclient.version}</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>com.github.xiaoymin</groupId>
  226. <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
  227. <version>${knife4j.version}</version>
  228. </dependency>
  229. <!-- <dependency>-->
  230. <!-- <groupId>cn.hutool</groupId>-->
  231. <!-- <artifactId>hutool-all</artifactId>-->
  232. <!-- <version>4.5.11</version>-->
  233. <!-- </dependency>-->
  234. <dependency>
  235. <groupId>com.googlecode.aviator</groupId>
  236. <artifactId>aviator</artifactId>
  237. <version>${aviator.version}</version>
  238. </dependency>
  239. <dependency>
  240. <groupId>com.alibaba</groupId>
  241. <artifactId>transmittable-thread-local</artifactId>
  242. <version>${transmittable.thread.version}</version>
  243. </dependency>
  244. <!-- mybatis-plus -->
  245. <dependency>
  246. <groupId>com.baomidou</groupId>
  247. <artifactId>mybatis-plus-boot-starter</artifactId>
  248. <version>${mybatis-plus.version}</version>
  249. </dependency>
  250. <!--mysql-->
  251. <dependency>
  252. <groupId>mysql</groupId>
  253. <artifactId>mysql-connector-java</artifactId>
  254. <version>${mysql.connector.version}</version>
  255. </dependency>
  256. <!-- 动态数据源 -->
  257. <dependency>
  258. <groupId>com.baomidou</groupId>
  259. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  260. <version>${datasource.spring.boot.starter}</version>
  261. </dependency>
  262. <!-- <dependency>-->
  263. <!-- <groupId>com.aliyun</groupId>-->
  264. <!-- <artifactId>credentials-java</artifactId>-->
  265. <!-- <version>0.3.4</version>-->
  266. <!-- </dependency>-->
  267. <!-- druid -->
  268. <dependency>
  269. <groupId>com.alibaba</groupId>
  270. <artifactId>druid-spring-boot-starter</artifactId>
  271. <version>${druid.version}</version>
  272. </dependency>
  273. <!-- <dependency>-->
  274. <!-- <groupId>com.aliyun.kms</groupId>-->
  275. <!-- <artifactId>kms-transfer-client</artifactId>-->
  276. <!-- <version>0.1.0</version>-->
  277. <!-- </dependency>-->
  278. <!-- <dependency>-->
  279. <!-- <groupId>com.aliyun</groupId>-->
  280. <!-- <artifactId>sts20150401</artifactId>-->
  281. <!-- <version>1.1.6</version>-->
  282. <!-- </dependency>-->
  283. <!-- Web 相关 -->
  284. <dependency>
  285. <groupId>org.springframework.boot</groupId>
  286. <artifactId>spring-boot-starter-web</artifactId>
  287. <version>2.7.0</version>
  288. <exclusions>
  289. <exclusion>
  290. <groupId>org.springframework</groupId>
  291. <artifactId>spring-web</artifactId>
  292. </exclusion>
  293. </exclusions>
  294. </dependency>
  295. <dependency>
  296. <groupId>com.google.guava</groupId>
  297. <artifactId>guava</artifactId>
  298. <version>${guava.version}</version>
  299. </dependency>
  300. <dependency>
  301. <groupId>org.springdoc</groupId>
  302. <artifactId>springdoc-openapi-ui</artifactId>
  303. <version>${springdoc.version}</version>
  304. </dependency>
  305. </dependencies>
  306. </dependencyManagement>
  307. <build>
  308. <pluginManagement>
  309. <plugins>
  310. <!-- maven-surefire-plugin for unit tests -->
  311. <!-- requires 3.0.X+ for JUnit 5 -->
  312. <plugin>
  313. <groupId>org.apache.maven.plugins</groupId>
  314. <artifactId>maven-surefire-plugin</artifactId>
  315. <version>${maven-surefire-plugin.version}</version>
  316. </plugin>
  317. <!-- maven-compiler-plugin: Lombok + MapStruct -->
  318. <!-- https://stackoverflow.com/questions/33483697/re-run-spring-boot-configuration-annotation-processor-to-update-generated-metada -->
  319. <plugin>
  320. <groupId>org.apache.maven.plugins</groupId>
  321. <artifactId>maven-compiler-plugin</artifactId>
  322. <version>${maven-compiler-plugin.version}</version>
  323. <configuration>
  324. <!-- <configuration>-->
  325. <!-- <source>17</source>-->
  326. <!-- <target>17</target>-->
  327. <!-- </configuration>-->
  328. <!-- <annotationProcessorPaths>-->
  329. <!-- <path>-->
  330. <!-- <groupId>org.springframework.boot</groupId>-->
  331. <!-- <artifactId>spring-boot-configuration-processor</artifactId>-->
  332. <!-- <version>${spring.boot.version}</version>-->
  333. <!-- </path>-->
  334. <!-- <path>-->
  335. <!-- <groupId>org.projectlombok</groupId>-->
  336. <!-- <artifactId>lombok</artifactId>-->
  337. <!-- <version>${lombok.version}</version>-->
  338. <!-- </path>-->
  339. <!-- <path>-->
  340. <!-- <groupId>org.mapstruct</groupId>-->
  341. <!-- <artifactId>mapstruct-processor</artifactId>-->
  342. <!-- <version>${mapstruct.version}</version>-->
  343. <!-- </path>-->
  344. <!-- </annotationProcessorPaths>-->
  345. </configuration>
  346. </plugin>
  347. </plugins>
  348. </pluginManagement>
  349. </build>
  350. <repositories>
  351. <repository>
  352. <id>aliyunmaven</id>
  353. <name>aliyun</name>
  354. <url>https://maven.aliyun.com/repository/public</url>
  355. </repository>
  356. <repository>
  357. <id>spring-milestones</id>
  358. <name>Spring Milestones</name>
  359. <url>https://repo.spring.io/milestone</url>
  360. <snapshots>
  361. <enabled>false</enabled>
  362. </snapshots>
  363. </repository>
  364. <repository>
  365. <id>spring-snapshots</id>
  366. <name>Spring Snapshots</name>
  367. <url>https://repo.spring.io/snapshot</url>
  368. <releases>
  369. <enabled>false</enabled>
  370. </releases>
  371. </repository>
  372. </repositories>
  373. </project>