pom.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  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. <!-- swagger -->
  155. <dependency>
  156. <groupId>io.springfox</groupId>
  157. <artifactId>springfox-swagger2</artifactId>
  158. <version>${swagger.version}</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>io.springfox</groupId>
  162. <artifactId>springfox-swagger-ui</artifactId>
  163. <version>${swagger.ui.version}</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>io.swagger</groupId>
  167. <artifactId>swagger-annotations</artifactId>
  168. <version>${swagger.annotations.version}</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>com.alibaba</groupId>
  172. <artifactId>fastjson</artifactId>
  173. <version>${fastjson.version}</version>
  174. </dependency>
  175. <!-- jwt -->
  176. <dependency>
  177. <groupId>com.auth0</groupId>
  178. <artifactId>java-jwt</artifactId>
  179. <version>${io.jsonwebtoken.java.jwt.version}</version>
  180. </dependency>
  181. <!-- jwt -->
  182. <dependency>
  183. <groupId>io.jsonwebtoken</groupId>
  184. <artifactId>jjwt</artifactId>
  185. <version>${io.jsonwebtoken.version}</version>
  186. </dependency>
  187. <!-- pinyin4j -->
  188. <dependency>
  189. <groupId>cn.stylefeng.roses</groupId>
  190. <artifactId>pinyin-sdk-pinyin4j</artifactId>
  191. <version>${cn.stylefeng.pinyin4j.version}</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.projectlombok</groupId>
  195. <artifactId>lombok</artifactId>
  196. <version>${lombok.version}</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>cn.hutool</groupId>
  200. <artifactId>hutool-all</artifactId>
  201. <version>${hutool.version}</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.redisson</groupId>
  205. <artifactId>redisson</artifactId>
  206. <version>${redisson.version}</version>
  207. </dependency>
  208. <!-- <dependency>-->
  209. <!-- <groupId>org.springframework.boot</groupId>-->
  210. <!-- <artifactId>spring-boot-dependencies</artifactId>-->
  211. <!-- <version>${spring.boot.version}</version>-->
  212. <!-- </dependency>-->
  213. <!--HttpClient-->
  214. <dependency>
  215. <groupId>org.apache.httpcomponents</groupId>
  216. <artifactId>httpclient</artifactId>
  217. <version>${httpclient.version}</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>com.github.xiaoymin</groupId>
  221. <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
  222. <version>${knife4j.version}</version>
  223. </dependency>
  224. <!-- <dependency>-->
  225. <!-- <groupId>cn.hutool</groupId>-->
  226. <!-- <artifactId>hutool-all</artifactId>-->
  227. <!-- <version>4.5.11</version>-->
  228. <!-- </dependency>-->
  229. <dependency>
  230. <groupId>com.googlecode.aviator</groupId>
  231. <artifactId>aviator</artifactId>
  232. <version>${aviator.version}</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>com.alibaba</groupId>
  236. <artifactId>transmittable-thread-local</artifactId>
  237. <version>${transmittable.thread.version}</version>
  238. </dependency>
  239. <!-- mybatis-plus -->
  240. <dependency>
  241. <groupId>com.baomidou</groupId>
  242. <artifactId>mybatis-plus-boot-starter</artifactId>
  243. <version>${mybatis-plus.version}</version>
  244. </dependency>
  245. <!--mysql-->
  246. <dependency>
  247. <groupId>mysql</groupId>
  248. <artifactId>mysql-connector-java</artifactId>
  249. <version>${mysql.connector.version}</version>
  250. </dependency>
  251. <!-- 动态数据源 -->
  252. <dependency>
  253. <groupId>com.baomidou</groupId>
  254. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  255. <version>${datasource.spring.boot.starter}</version>
  256. </dependency>
  257. <!-- <dependency>-->
  258. <!-- <groupId>com.aliyun</groupId>-->
  259. <!-- <artifactId>credentials-java</artifactId>-->
  260. <!-- <version>0.3.4</version>-->
  261. <!-- </dependency>-->
  262. <!-- druid -->
  263. <dependency>
  264. <groupId>com.alibaba</groupId>
  265. <artifactId>druid-spring-boot-starter</artifactId>
  266. <version>${druid.version}</version>
  267. </dependency>
  268. <!-- <dependency>-->
  269. <!-- <groupId>com.aliyun.kms</groupId>-->
  270. <!-- <artifactId>kms-transfer-client</artifactId>-->
  271. <!-- <version>0.1.0</version>-->
  272. <!-- </dependency>-->
  273. <!-- <dependency>-->
  274. <!-- <groupId>com.aliyun</groupId>-->
  275. <!-- <artifactId>sts20150401</artifactId>-->
  276. <!-- <version>1.1.6</version>-->
  277. <!-- </dependency>-->
  278. <!-- Web 相关 -->
  279. <dependency>
  280. <groupId>org.springframework.boot</groupId>
  281. <artifactId>spring-boot-starter-web</artifactId>
  282. <version>2.7.0</version>
  283. <exclusions>
  284. <exclusion>
  285. <groupId>org.springframework</groupId>
  286. <artifactId>spring-web</artifactId>
  287. </exclusion>
  288. </exclusions>
  289. </dependency>
  290. <dependency>
  291. <groupId>com.google.guava</groupId>
  292. <artifactId>guava</artifactId>
  293. <version>${guava.version}</version>
  294. </dependency>
  295. <dependency>
  296. <groupId>org.springdoc</groupId>
  297. <artifactId>springdoc-openapi-ui</artifactId>
  298. <version>${springdoc.version}</version>
  299. </dependency>
  300. </dependencies>
  301. </dependencyManagement>
  302. <build>
  303. <pluginManagement>
  304. <plugins>
  305. <!-- maven-surefire-plugin for unit tests -->
  306. <!-- requires 3.0.X+ for JUnit 5 -->
  307. <plugin>
  308. <groupId>org.apache.maven.plugins</groupId>
  309. <artifactId>maven-surefire-plugin</artifactId>
  310. <version>${maven-surefire-plugin.version}</version>
  311. </plugin>
  312. <!-- maven-compiler-plugin: Lombok + MapStruct -->
  313. <!-- https://stackoverflow.com/questions/33483697/re-run-spring-boot-configuration-annotation-processor-to-update-generated-metada -->
  314. <plugin>
  315. <groupId>org.apache.maven.plugins</groupId>
  316. <artifactId>maven-compiler-plugin</artifactId>
  317. <version>${maven-compiler-plugin.version}</version>
  318. <configuration>
  319. <!-- <configuration>-->
  320. <!-- <source>17</source>-->
  321. <!-- <target>17</target>-->
  322. <!-- </configuration>-->
  323. <!-- <annotationProcessorPaths>-->
  324. <!-- <path>-->
  325. <!-- <groupId>org.springframework.boot</groupId>-->
  326. <!-- <artifactId>spring-boot-configuration-processor</artifactId>-->
  327. <!-- <version>${spring.boot.version}</version>-->
  328. <!-- </path>-->
  329. <!-- <path>-->
  330. <!-- <groupId>org.projectlombok</groupId>-->
  331. <!-- <artifactId>lombok</artifactId>-->
  332. <!-- <version>${lombok.version}</version>-->
  333. <!-- </path>-->
  334. <!-- <path>-->
  335. <!-- <groupId>org.mapstruct</groupId>-->
  336. <!-- <artifactId>mapstruct-processor</artifactId>-->
  337. <!-- <version>${mapstruct.version}</version>-->
  338. <!-- </path>-->
  339. <!-- </annotationProcessorPaths>-->
  340. </configuration>
  341. </plugin>
  342. </plugins>
  343. </pluginManagement>
  344. </build>
  345. <repositories>
  346. <repository>
  347. <id>aliyunmaven</id>
  348. <name>aliyun</name>
  349. <url>https://maven.aliyun.com/repository/public</url>
  350. </repository>
  351. <repository>
  352. <id>spring-milestones</id>
  353. <name>Spring Milestones</name>
  354. <url>https://repo.spring.io/milestone</url>
  355. <snapshots>
  356. <enabled>false</enabled>
  357. </snapshots>
  358. </repository>
  359. <repository>
  360. <id>spring-snapshots</id>
  361. <name>Spring Snapshots</name>
  362. <url>https://repo.spring.io/snapshot</url>
  363. <releases>
  364. <enabled>false</enabled>
  365. </releases>
  366. </repository>
  367. </repositories>
  368. </project>