pom.xml 17 KB

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