pom.xml 15 KB

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