pom.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.3.3.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.gree.manager</groupId>
  12. <artifactId>supply_api</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>supply_api</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <org.mapstruct.version>1.5.5.Final</org.mapstruct.version>
  19. <lombok-mapstruct-binding.version>0.2.0</lombok-mapstruct-binding.version>
  20. <org.projectlombok.version>1.18.28</org.projectlombok.version>
  21. </properties>
  22. <dependencies>
  23. <!--<dependency>-->
  24. <!--<groupId>org.springframework.boot</groupId>-->
  25. <!--<artifactId>spring-boot-starter-security</artifactId>-->
  26. <!--</dependency>-->
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-web</artifactId>
  30. <exclusions>
  31. <exclusion>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-tomcat</artifactId>
  34. </exclusion>
  35. </exclusions>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-data-redis</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.integration</groupId>
  43. <artifactId>spring-integration-redis</artifactId>
  44. <!-- <version>RELEASE</version>-->
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-devtools</artifactId>
  49. <scope>runtime</scope>
  50. <optional>true</optional>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-test</artifactId>
  55. <scope>test</scope>
  56. </dependency>
  57. <!--<dependency>-->
  58. <!--<groupId>org.mongodb</groupId>-->
  59. <!--<artifactId>mongo-java-driver</artifactId>-->
  60. <!--<version>3.2.2</version>-->
  61. <!--</dependency>-->
  62. <dependency>
  63. <groupId>com.aliyun.oss</groupId>
  64. <artifactId>aliyun-sdk-oss</artifactId>
  65. <version>3.8.1</version>
  66. </dependency>
  67. <!--<dependency>-->
  68. <!--<groupId>org.mybatis.spring.boot</groupId>-->
  69. <!--<artifactId>mybatis-spring-boot-starter</artifactId>-->
  70. <!--<version>2.1.0</version>-->
  71. <!--<exclusions>-->
  72. <!--<exclusion>-->
  73. <!--<artifactId>mybatis</artifactId>-->
  74. <!--<groupId>org.mybatis</groupId>-->
  75. <!--</exclusion>-->
  76. <!--</exclusions>-->
  77. <!--</dependency>-->
  78. <dependency>
  79. <groupId>com.baomidou</groupId>
  80. <artifactId>mybatis-plus-boot-starter</artifactId>
  81. <version>3.4.2</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.baomidou</groupId>
  85. <artifactId>mybatis-plus-generator</artifactId>
  86. <version>3.5.0</version>
  87. </dependency>
  88. <!-- 多数据源 star -->
  89. <dependency>
  90. <groupId>com.baomidou</groupId>
  91. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  92. <version>2.5.7</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter-actuator</artifactId>
  97. <version>1.5.1.RELEASE</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-starter-jdbc</artifactId>
  102. <version>1.5.1.RELEASE</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-starter-aop</artifactId>
  107. <version>1.5.1.RELEASE</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>p6spy</groupId>
  111. <artifactId>p6spy</artifactId>
  112. <version>3.8.0</version>
  113. </dependency>
  114. <!-- 多数据源 end -->
  115. <dependency>
  116. <groupId>org.apache.velocity</groupId>
  117. <artifactId>velocity-engine-core</artifactId>
  118. <version>2.1</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.projectlombok</groupId>
  122. <artifactId>lombok</artifactId>
  123. <version>${org.projectlombok.version}</version>
  124. <scope>provided</scope>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.mybatis.spring.boot</groupId>
  128. <artifactId>mybatis-spring-boot-autoconfigure</artifactId>
  129. <version>2.1.0</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>com.google.zxing</groupId>
  133. <artifactId>core</artifactId>
  134. <version>3.3.2</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>com.google.zxing</groupId>
  138. <artifactId>javase</artifactId>
  139. <version>3.3.2</version>
  140. </dependency>
  141. <!--mysql驱动-->
  142. <dependency>
  143. <groupId>mysql</groupId>
  144. <artifactId>mysql-connector-java</artifactId>
  145. <version>8.0.17</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>com.aliyun</groupId>
  149. <artifactId>alibaba-dingtalk-service-sdk</artifactId>
  150. <version>2.0.0</version>
  151. </dependency>
  152. <!--访问安全-->
  153. <!--<dependency>-->
  154. <!--<groupId>org.springframework.security</groupId>-->
  155. <!--<artifactId>spring-security-test</artifactId>-->
  156. <!--<scope>test</scope>-->
  157. <!--</dependency>-->
  158. <!-- druid -->
  159. <!--<dependency>-->
  160. <!--<groupId>com.alibaba</groupId>-->
  161. <!--<artifactId>druid</artifactId>-->
  162. <!--<version>1.1.19</version>-->
  163. <!--</dependency>-->
  164. <dependency>
  165. <groupId>com.alibaba</groupId>
  166. <artifactId>druid-spring-boot-starter</artifactId>
  167. <version>1.1.21</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.apache.commons</groupId>
  171. <artifactId>commons-pool2</artifactId>
  172. <version>2.8.0</version>
  173. </dependency>
  174. <!--fastjson-->
  175. <dependency>
  176. <groupId>com.alibaba</groupId>
  177. <artifactId>fastjson</artifactId>
  178. <version>1.2.59</version>
  179. </dependency>
  180. <!--okhttp3-->
  181. <dependency>
  182. <groupId>com.squareup.okhttp3</groupId>
  183. <artifactId>okhttp</artifactId>
  184. <version>4.0.1</version>
  185. </dependency>
  186. <!--swagger接口文档框架-->
  187. <dependency>
  188. <groupId>io.springfox</groupId>
  189. <artifactId>springfox-swagger2</artifactId>
  190. <version>2.9.2</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>io.springfox</groupId>
  194. <artifactId>springfox-swagger-ui</artifactId>
  195. <version>2.9.2</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>com.github.xiaoymin</groupId>
  199. <artifactId>swagger-bootstrap-ui</artifactId>
  200. <version>1.9.4</version>
  201. </dependency>
  202. <!-- 支持 @ConfigurationProperties 注解 -->
  203. <dependency>
  204. <groupId>org.springframework.boot</groupId>
  205. <artifactId>spring-boot-configuration-processor</artifactId>
  206. <optional>true</optional>
  207. </dependency>
  208. <!-- fix swagger input报错-->
  209. <dependency>
  210. <groupId>io.swagger</groupId>
  211. <artifactId>swagger-annotations</artifactId>
  212. <version>1.5.22</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>io.swagger</groupId>
  216. <artifactId>swagger-models</artifactId>
  217. <version>1.5.22</version>
  218. </dependency>
  219. <!--更换undertow容器-->
  220. <dependency>
  221. <groupId>org.springframework.boot</groupId>
  222. <artifactId>spring-boot-starter-undertow</artifactId>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.bouncycastle</groupId>
  226. <artifactId>bcprov-jdk15on</artifactId>
  227. <version>1.60</version>
  228. <scope>compile</scope>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.apache.poi</groupId>
  232. <artifactId>poi</artifactId>
  233. <version>4.1.2</version>
  234. </dependency>
  235. <!--<dependency>-->
  236. <!--<groupId>com.vdurmont</groupId>-->
  237. <!--<artifactId>emoji-java</artifactId>-->
  238. <!--<version>4.0.0</version>-->
  239. <!--</dependency>-->
  240. <dependency>
  241. <groupId>net.coobird</groupId>
  242. <artifactId>thumbnailator</artifactId>
  243. <version>0.4.8</version>
  244. <scope>compile</scope>
  245. </dependency>
  246. <dependency>
  247. <groupId>com.alibaba</groupId>
  248. <artifactId>easyexcel</artifactId>
  249. <version>3.0.5</version>
  250. <exclusions>
  251. <exclusion>
  252. <artifactId>asm</artifactId>
  253. <groupId>org.ow2.asm</groupId>
  254. </exclusion>
  255. </exclusions>
  256. </dependency>
  257. <dependency>
  258. <groupId>eu.bitwalker</groupId>
  259. <artifactId>UserAgentUtils</artifactId>
  260. <version>1.21</version>
  261. </dependency>
  262. <!-- 图片验证码 -->
  263. <dependency>
  264. <groupId>com.github.penggle</groupId>
  265. <artifactId>kaptcha</artifactId>
  266. <version>2.3.2</version>
  267. </dependency>
  268. <!--<dependency>-->
  269. <!--<groupId>org.mongodb</groupId>-->
  270. <!--<artifactId>mongo-java-driver</artifactId>-->
  271. <!--<version>3.2.2</version>-->
  272. <!--</dependency>-->
  273. <dependency>
  274. <groupId>org.apache.poi</groupId>
  275. <artifactId>poi</artifactId>
  276. <version>4.1.2</version>
  277. </dependency>
  278. <dependency>
  279. <groupId>org.apache.poi</groupId>
  280. <artifactId>poi-ooxml-schemas</artifactId>
  281. <version>4.1.2</version>
  282. </dependency>
  283. <dependency>
  284. <groupId>org.apache.poi</groupId>
  285. <artifactId>poi-ooxml</artifactId>
  286. <version>4.1.2</version>
  287. </dependency>
  288. <!--word 转 pdf-->
  289. <!--<dependency>-->
  290. <!--<groupId>e-iceblue</groupId>-->
  291. <!--<artifactId>spire.doc.free</artifactId>-->
  292. <!--<version>5.2.0</version>-->
  293. <!--</dependency>-->
  294. <!--<dependency>-->
  295. <!--<groupId>fr.opensagres.xdocreport</groupId>-->
  296. <!--<artifactId>fr.opensagres.poi.xwpf.converter.pdf-gae</artifactId>-->
  297. <!--<version>2.0.1</version>-->
  298. <!--</dependency>-->
  299. <!--<dependency>-->
  300. <!--<groupId>org.docx4j</groupId>-->
  301. <!--<artifactId>docx4j-JAXB-Internal</artifactId>-->
  302. <!--<version>8.2.4</version>-->
  303. <!--</dependency>-->
  304. <!--<dependency>-->
  305. <!--<groupId>org.docx4j</groupId>-->
  306. <!--<artifactId>docx4j-export-fo</artifactId>-->
  307. <!--<version>8.2.4</version>-->
  308. <!--</dependency>-->
  309. <!---excel导入-->
  310. <dependency>
  311. <groupId>cn.afterturn</groupId>
  312. <artifactId>easypoi-base</artifactId>
  313. <version>4.4.0</version>
  314. </dependency>
  315. <dependency>
  316. <groupId>cn.afterturn</groupId>
  317. <artifactId>easypoi-web</artifactId>
  318. <version>4.4.0</version>
  319. </dependency>
  320. <dependency>
  321. <groupId>cn.afterturn</groupId>
  322. <artifactId>easypoi-annotation</artifactId>
  323. <version>4.4.0</version>
  324. </dependency>
  325. <dependency>
  326. <groupId>io.jsonwebtoken</groupId>
  327. <artifactId>jjwt</artifactId>
  328. <version>0.6.0</version>
  329. </dependency>
  330. <dependency>
  331. <groupId>com.aliyun.oss</groupId>
  332. <artifactId>aliyun-sdk-oss</artifactId>
  333. <version>3.8.1</version>
  334. </dependency>
  335. <dependency>
  336. <groupId>org.springframework</groupId>
  337. <artifactId>spring-mock</artifactId>
  338. <version>2.0.8</version>
  339. </dependency>
  340. <dependency>
  341. <groupId>org.apache.httpcomponents</groupId>
  342. <artifactId>httpclient</artifactId>
  343. <version>4.4</version>
  344. </dependency>
  345. <dependency>
  346. <groupId>org.apache.httpcomponents</groupId>
  347. <artifactId>httpmime</artifactId>
  348. <version>4.4</version>
  349. </dependency>
  350. <!--模板组件-->
  351. <dependency>
  352. <groupId>org.springframework.boot</groupId>
  353. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  354. <version>2.2.6.RELEASE</version>
  355. </dependency>
  356. <!--模板组件END-->
  357. <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
  358. <dependency>
  359. <groupId>commons-codec</groupId>
  360. <artifactId>commons-codec</artifactId>
  361. <version>1.9</version>
  362. </dependency>
  363. <dependency>
  364. <groupId>com.aliyun</groupId>
  365. <artifactId>aliyun-java-sdk-core</artifactId>
  366. <version>4.0.3</version>
  367. </dependency>
  368. <dependency>
  369. <groupId>com.alibaba.cloud</groupId>
  370. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  371. <version>2.1.0.RELEASE</version>
  372. </dependency>
  373. <dependency>
  374. <groupId>com.alibaba.cloud</groupId>
  375. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  376. <version>2.1.0.RELEASE</version>
  377. </dependency>
  378. <dependency>
  379. <groupId>org.springframework.cloud</groupId>
  380. <artifactId>spring-cloud-starter-openfeign</artifactId>
  381. <version>2.1.3.RELEASE</version>
  382. </dependency>
  383. <dependency>
  384. <groupId>net.logstash.logback</groupId>
  385. <artifactId>logstash-logback-encoder</artifactId>
  386. <version>6.3</version>
  387. </dependency>
  388. <!-- hutool工具 -->
  389. <dependency>
  390. <groupId>cn.hutool</groupId>
  391. <artifactId>hutool-all</artifactId>
  392. <version>5.8.20</version>
  393. </dependency>
  394. <!-- 校验工具 -->
  395. <dependency>
  396. <groupId>org.hibernate</groupId>
  397. <artifactId>hibernate-validator</artifactId>
  398. <version>6.1.6.Final</version>
  399. </dependency>
  400. <!--freemarker制作Html邮件模板依赖包-->
  401. <dependency>
  402. <groupId>org.springframework.boot</groupId>
  403. <artifactId>spring-boot-starter-freemarker</artifactId>
  404. </dependency>
  405. <dependency>
  406. <groupId>org.mapstruct</groupId>
  407. <artifactId>mapstruct</artifactId>
  408. <version>${org.mapstruct.version}</version>
  409. </dependency>
  410. </dependencies>
  411. <profiles>
  412. <profile>
  413. <!-- 本地开发环境 -->
  414. <id>dev</id>
  415. <properties>
  416. <profiles.active>dev</profiles.active>
  417. </properties>
  418. <activation>
  419. <!-- 设置默认激活这个配置 -->
  420. <activeByDefault>true</activeByDefault>
  421. </activation>
  422. </profile>
  423. <profile>
  424. <!-- 测试环境 -->
  425. <id>test</id>
  426. <properties>
  427. <profiles.active>test</profiles.active>
  428. </properties>
  429. </profile>
  430. <profile>
  431. <!-- 正式环境 -->
  432. <id>prd</id>
  433. <properties>
  434. <profiles.active>prd</profiles.active>
  435. </properties>
  436. </profile>
  437. </profiles>
  438. <build>
  439. <plugins>
  440. <plugin>
  441. <groupId>org.springframework.boot</groupId>
  442. <artifactId>spring-boot-maven-plugin</artifactId>
  443. <version>2.3.10.RELEASE</version>
  444. </plugin>
  445. <plugin>
  446. <groupId>org.apache.maven.plugins</groupId>
  447. <artifactId>maven-compiler-plugin</artifactId>
  448. <version>${maven-compiler-plugin.version}</version>
  449. <configuration>
  450. <source>${java.version}</source>
  451. <target>${java.version}</target>
  452. <annotationProcessorPaths>
  453. <path>
  454. <groupId>org.mapstruct</groupId>
  455. <artifactId>mapstruct-processor</artifactId>
  456. <version>${org.mapstruct.version}</version>
  457. </path>
  458. <path>
  459. <groupId>org.projectlombok</groupId>
  460. <artifactId>lombok</artifactId>
  461. <version>${org.projectlombok.version}</version>
  462. </path>
  463. <path>
  464. <groupId>org.projectlombok</groupId>
  465. <artifactId>lombok-mapstruct-binding</artifactId>
  466. <version>${lombok-mapstruct-binding.version}</version>
  467. </path>
  468. </annotationProcessorPaths>
  469. </configuration>
  470. </plugin>
  471. <plugin>
  472. <groupId>com.plus.plugin</groupId>
  473. <artifactId>plus-maven-plugin</artifactId>
  474. <version>5.0.0-SNAPSHOT</version>
  475. <configuration>
  476. <configPath>src/main/resources/generator-${profiles.active}.properties</configPath>
  477. </configuration>
  478. </plugin>
  479. </plugins>
  480. </build>
  481. <repositories>
  482. <repository>
  483. <id>nexus</id>
  484. <name>Releases</name>
  485. <url>http://121.43.111.127:8081/repository/maven-public</url>
  486. <releases>
  487. <enabled>true</enabled>
  488. </releases>
  489. <!--snapshots默认是关闭的,需要开启 -->
  490. <snapshots>
  491. <enabled>true</enabled>
  492. </snapshots>
  493. </repository>
  494. <repository>
  495. <id>com.e-iceblue</id>
  496. <name>e-iceblue</name>
  497. <url>https://repo.e-iceblue.cn/repository/maven-public/</url>
  498. </repository>
  499. </repositories>
  500. <pluginRepositories>
  501. <pluginRepository>
  502. <id>nexus</id>
  503. <name>Releases</name>
  504. <url>http://121.43.111.127:8081/repository/maven-public</url>
  505. </pluginRepository>
  506. </pluginRepositories>
  507. </project>