多租户商城-后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

606 lines
18 KiB

2 years ago
  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.1.7.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.shop</groupId>
  12. <artifactId>cereshop</artifactId>
  13. <version>2.0</version>
  14. <packaging>pom</packaging>
  15. <name>cereshop</name>
  16. <description>cereshop project for Spring Boot</description>
  17. <modules>
  18. <module>cereshop-commons</module>
  19. <module>cereshop-admin</module>
  20. <module>cereshop-business</module>
  21. <module>cereshop-app</module>
  22. </modules>
  23. <properties>
  24. <java.version>1.8</java.version>
  25. <spring.boot.thymeleaf.vesion>2.1.7.RELEASE</spring.boot.thymeleaf.vesion>
  26. <aop.version>2.1.7.RELEASE</aop.version>
  27. <mybatis.version>1.1.1</mybatis.version>
  28. <pinyin4j.version>2.5.0</pinyin4j.version>
  29. <mysql.connector.version>8.0.22</mysql.connector.version>
  30. <druid.version>1.1.10</druid.version>
  31. <gson.version>2.6.1</gson.version>
  32. <thumbnailator.version>0.4.8</thumbnailator.version>
  33. <fastjson.version>1.2.44</fastjson.version>
  34. <lombok.version>1.18.8</lombok.version>
  35. <poi.version>3.17</poi.version>
  36. <commons-io.version>2.5</commons-io.version>
  37. <beanutils.version>1.8.3</beanutils.version>
  38. <common-lang.version>2.6</common-lang.version>
  39. <shiro.version>1.8.0</shiro.version>
  40. <thymeleaf-extras-shiro>2.0.0</thymeleaf-extras-shiro>
  41. <pagehealper.version>1.2.5</pagehealper.version>
  42. <swagger.version>2.8.0</swagger.version>
  43. <qr.core.version>3.3.0</qr.core.version>
  44. <file.upload.version>1.3.1</file.upload.version>
  45. <redis.version>2.9.3</redis.version>
  46. <spring.redis.version>2.1.7.RELEASE</spring.redis.version>
  47. <commons.pool2.version>2.5.0</commons.pool2.version>
  48. <dubbo.version>0.2.0</dubbo.version>
  49. <aliyun-sdk-oss.version>3.8.0</aliyun-sdk-oss.version>
  50. <aliyun-java-sdk-core.version>4.5.9</aliyun-java-sdk-core.version>
  51. <aliyun-java-sdk-dysmsapi.version>1.1.0</aliyun-java-sdk-dysmsapi.version>
  52. <imageio-jpeg.version>3.3</imageio-jpeg.version>
  53. <httpclient.version>4.5.8</httpclient.version>
  54. <httpcore.version>4.4.10</httpcore.version>
  55. <httpmime.version>4.5.12</httpmime.version>
  56. <hutool-all.version>5.3.4</hutool-all.version>
  57. <configuration.version>1.9</configuration.version>
  58. <spring.boo.version>2.1.7.RELEASE</spring.boo.version>
  59. <mybatis-plus-version>3.1.0</mybatis-plus-version>
  60. <ognl-version>3.2</ognl-version>
  61. <velocity-version>2.2</velocity-version>
  62. <redisson-version>3.7.3</redisson-version>
  63. <UserAgentUtils-version>1.20</UserAgentUtils-version>
  64. <alipay.version>4.13.58.ALL</alipay.version>
  65. <wxjava.version>4.3.0</wxjava.version>
  66. <jjwt.version>0.11.1</jjwt.version>
  67. <wxv3.version>0.4.7</wxv3.version>
  68. </properties>
  69. <!-- 父工程管理 -->
  70. <dependencyManagement>
  71. <dependencies>
  72. <!-- Spring Boot Redis依赖 -->
  73. <!-- 注意:1.5版本的依赖和2.0的依赖不一样,注意看哦 1.5我记得名字里面应该没有“data”, 2.0必须是“spring-boot-starter-data-redis” 这个才行-->
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-data-redis</artifactId>
  77. <version>${spring.redis.version}</version>
  78. <!-- 1.5的版本默认采用的连接池技术是jedis 2.0以上版本默认连接池是lettuce, 在这里采用jedis,所以需要排除lettuce的jar -->
  79. <exclusions>
  80. <exclusion>
  81. <groupId>redis.clients</groupId>
  82. <artifactId>jedis</artifactId>
  83. </exclusion>
  84. <exclusion>
  85. <groupId>io.lettuce</groupId>
  86. <artifactId>lettuce-core</artifactId>
  87. </exclusion>
  88. </exclusions>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.baomidou</groupId>
  92. <artifactId>mybatis-plus-boot-starter</artifactId>
  93. <version>${mybatis-plus-version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.baomidou</groupId>
  97. <artifactId>mybatis-plus-core</artifactId>
  98. <version>${mybatis-plus-version}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.baomidou</groupId>
  102. <artifactId>mybatis-plus-extension</artifactId>
  103. <version>${mybatis-plus-version}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>ognl</groupId>
  107. <artifactId>ognl</artifactId>
  108. <version>${ognl-version}</version>
  109. </dependency>
  110. <!--mybatis-plus代码生成器 相关依赖-->
  111. <dependency>
  112. <groupId>com.baomidou</groupId>
  113. <artifactId>mybatis-plus-generator</artifactId>
  114. <version>${mybatis-plus-version}</version>
  115. </dependency>
  116. <!--代码生成器模板引擎 相关依赖-->
  117. <dependency>
  118. <groupId>org.apache.velocity</groupId>
  119. <artifactId>velocity-engine-core</artifactId>
  120. <version>${velocity-version}</version>
  121. </dependency>
  122. <!-- 添加jedis客户端 -->
  123. <dependency>
  124. <groupId>redis.clients</groupId>
  125. <artifactId>jedis</artifactId>
  126. <version>${redis.version}</version>
  127. <exclusions>
  128. <exclusion>
  129. <artifactId>commons-pool2</artifactId>
  130. <groupId>org.apache.commons</groupId>
  131. </exclusion>
  132. </exclusions>
  133. </dependency>
  134. <!-- redis分布式锁框架 -->
  135. <dependency>
  136. <groupId>org.redisson</groupId>
  137. <artifactId>redisson</artifactId>
  138. <version>${redisson-version}</version>
  139. </dependency>
  140. <!--spring2.0集成redis所需common-pool2-->
  141. <!-- 必须加上,jedis依赖此 -->
  142. <!-- spring boot 2.0 的操作手册有标注 大家可以去看看 地址是:https://docs.spring.io/spring-boot/docs/2.0.3.RELEASE/reference/htmlsingle/-->
  143. <dependency>
  144. <groupId>org.apache.commons</groupId>
  145. <artifactId>commons-pool2</artifactId>
  146. <version>${commons.pool2.version}</version>
  147. </dependency>
  148. <!--aliyunOSS-->
  149. <dependency>
  150. <groupId>com.aliyun.oss</groupId>
  151. <artifactId>aliyun-sdk-oss</artifactId>
  152. <version>${aliyun-sdk-oss.version}</version>
  153. </dependency>
  154. <!--阿里短信服务-->
  155. <dependency>
  156. <groupId>com.aliyun</groupId>
  157. <artifactId>aliyun-java-sdk-core</artifactId>
  158. <version>${aliyun-java-sdk-core.version}</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>com.aliyun</groupId>
  162. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  163. <version>${aliyun-java-sdk-dysmsapi.version}</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.springframework.boot</groupId>
  167. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  168. <version>${spring.boot.thymeleaf.vesion}</version>
  169. </dependency>
  170. <!--模板引擎-->
  171. <dependency>
  172. <groupId>org.springframework.boot</groupId>
  173. <artifactId>spring-boot-starter-freemarker</artifactId>
  174. <version>${spring.boot.thymeleaf.vesion}</version>
  175. </dependency>
  176. <!-- 支付宝支付 -->
  177. <dependency>
  178. <groupId>com.alipay.sdk</groupId>
  179. <artifactId>alipay-sdk-java</artifactId>
  180. <version>${alipay.version}</version>
  181. </dependency>
  182. <!-- jwt -->
  183. <dependency>
  184. <groupId>io.jsonwebtoken</groupId>
  185. <artifactId>jjwt-api</artifactId>
  186. <version>${jjwt.version}</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>io.jsonwebtoken</groupId>
  190. <artifactId>jjwt-impl</artifactId>
  191. <version>${jjwt.version}</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>io.jsonwebtoken</groupId>
  195. <artifactId>jjwt-jackson</artifactId>
  196. <version>${jjwt.version}</version>
  197. </dependency>
  198. </dependencies>
  199. </dependencyManagement>
  200. <dependencies>
  201. <!-- https://mvnrepository.com/artifact/eu.bitwalker/UserAgentUtils -->
  202. <dependency>
  203. <groupId>eu.bitwalker</groupId>
  204. <artifactId>UserAgentUtils</artifactId>
  205. <version>${UserAgentUtils-version}</version>
  206. </dependency>
  207. <!-- mail-starter -->
  208. <dependency>
  209. <groupId>org.springframework.boot</groupId>
  210. <artifactId>spring-boot-starter-mail</artifactId>
  211. <version>${spring.boo.version}</version>
  212. </dependency>
  213. <dependency>
  214. <groupId>org.springframework.boot</groupId>
  215. <artifactId>spring-boot-starter-test</artifactId>
  216. <version>${spring.boo.version}</version>
  217. </dependency>
  218. <!-- java的huttool工具 -->
  219. <dependency>
  220. <groupId>cn.hutool</groupId>
  221. <artifactId>hutool-all</artifactId>
  222. <version>${hutool-all.version}</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.springframework.boot</groupId>
  226. <artifactId>spring-boot-starter-data-jpa</artifactId>
  227. <version>${spring.boo.version}</version>
  228. </dependency>
  229. <dependency>
  230. <groupId>org.apache.commons</groupId>
  231. <artifactId>commons-lang3</artifactId>
  232. </dependency>
  233. <dependency>
  234. <groupId>org.springframework.boot</groupId>
  235. <artifactId>spring-boot-starter-web</artifactId>
  236. <!-- 排掉内置的tomcat-->
  237. <!--<exclusions>
  238. <exclusion>
  239. <groupId>org.springframework.boot</groupId>
  240. <artifactId>spring-boot-starter-tomcat</artifactId>
  241. </exclusion>
  242. </exclusions>-->
  243. </dependency>
  244. <!-- https://mvnrepository.com/artifact/commons-configuration/commons-configuration -->
  245. <dependency>
  246. <groupId>commons-configuration</groupId>
  247. <artifactId>commons-configuration</artifactId>
  248. <version>${configuration.version}</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>org.springframework.boot</groupId>
  252. <artifactId>spring-boot-starter-security</artifactId>
  253. </dependency>
  254. <dependency>
  255. <groupId>org.springframework.boot</groupId>
  256. <artifactId>spring-boot-starter-tomcat</artifactId>
  257. <scope>compile</scope>
  258. </dependency>
  259. <dependency>
  260. <groupId>org.springframework.boot</groupId>
  261. <artifactId>spring-boot-devtools</artifactId>
  262. <optional>true</optional>
  263. </dependency>
  264. <!-- 切面aop-->
  265. <dependency>
  266. <groupId>org.springframework.boot</groupId>
  267. <artifactId>spring-boot-starter-aop</artifactId>
  268. <version>${aop.version}</version>
  269. </dependency>
  270. <!-- mybatis依赖 begin -->
  271. <dependency>
  272. <groupId>org.mybatis.spring.boot</groupId>
  273. <artifactId>mybatis-spring-boot-starter</artifactId>
  274. <version>${mybatis.version}</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>com.belerweb</groupId>
  278. <artifactId>pinyin4j</artifactId>
  279. <version>${pinyin4j.version}</version>
  280. </dependency>
  281. <!-- mybatis依赖 end -->
  282. <!-- mysql数据库配置 begin -->
  283. <dependency>
  284. <groupId>mysql</groupId>
  285. <artifactId>mysql-connector-java</artifactId>
  286. <version>${mysql.connector.version}</version>
  287. </dependency>
  288. <dependency>
  289. <groupId>com.github.drtrang</groupId>
  290. <artifactId>druid-spring-boot2-starter</artifactId>
  291. <version>${druid.version}</version>
  292. </dependency>
  293. <dependency>
  294. <groupId>com.google.code.gson</groupId>
  295. <artifactId>gson</artifactId>
  296. <version>${gson.version}</version>
  297. </dependency>
  298. <!-- 图片压缩 -->
  299. <dependency>
  300. <groupId>net.coobird</groupId>
  301. <artifactId>thumbnailator</artifactId>
  302. <version>${thumbnailator.version}</version>
  303. </dependency>
  304. <!-- cmyk格式图片转换 -->
  305. <dependency>
  306. <groupId>com.twelvemonkeys.imageio</groupId>
  307. <artifactId>imageio-jpeg</artifactId>
  308. <version>${imageio-jpeg.version}</version>
  309. </dependency>
  310. <dependency>
  311. <groupId>org.apache.httpcomponents</groupId>
  312. <artifactId>httpclient</artifactId>
  313. <version>${httpclient.version}</version>
  314. </dependency>
  315. <dependency>
  316. <groupId>org.apache.httpcomponents</groupId>
  317. <artifactId>httpcore</artifactId>
  318. <version>${httpcore.version}</version>
  319. </dependency>
  320. <dependency>
  321. <groupId>org.apache.httpcomponents</groupId>
  322. <artifactId>httpmime</artifactId>
  323. <version>${httpmime.version}</version>
  324. </dependency>
  325. <dependency>
  326. <groupId>com.twelvemonkeys.imageio</groupId>
  327. <artifactId>imageio-tiff</artifactId>
  328. <version>${imageio-jpeg.version}</version>
  329. </dependency>
  330. <dependency>
  331. <groupId>com.alibaba</groupId>
  332. <artifactId>fastjson</artifactId>
  333. <version>${fastjson.version}</version>
  334. </dependency>
  335. <!--lombok-->
  336. <dependency>
  337. <groupId>org.projectlombok</groupId>
  338. <artifactId>lombok</artifactId>
  339. <version>${lombok.version}</version>
  340. </dependency>
  341. <!--POI-->
  342. <dependency>
  343. <groupId>org.apache.poi</groupId>
  344. <artifactId>poi</artifactId>
  345. <version>${poi.version}</version>
  346. </dependency>
  347. <!--POI-->
  348. <dependency>
  349. <groupId>org.apache.poi</groupId>
  350. <artifactId>poi-ooxml-schemas</artifactId>
  351. <version>${poi.version}</version>
  352. </dependency>
  353. <!--POI-->
  354. <dependency>
  355. <groupId>org.apache.poi</groupId>
  356. <artifactId>poi-ooxml</artifactId>
  357. <version>${poi.version}</version>
  358. </dependency>
  359. <dependency>
  360. <groupId>commons-io</groupId>
  361. <artifactId>commons-io</artifactId>
  362. <version>${commons-io.version}</version>
  363. </dependency>
  364. <!-- beanutils -->
  365. <dependency>
  366. <groupId>commons-beanutils</groupId>
  367. <artifactId>commons-beanutils</artifactId>
  368. <version>${beanutils.version}</version>
  369. </dependency>
  370. <!-- commons-lang-->
  371. <dependency>
  372. <groupId>commons-lang</groupId>
  373. <artifactId>commons-lang</artifactId>
  374. <version>${common-lang.version}</version>
  375. </dependency>
  376. <!-- shiro-->
  377. <dependency>
  378. <groupId>org.apache.shiro</groupId>
  379. <artifactId>shiro-spring</artifactId>
  380. <version>${shiro.version}</version>
  381. <exclusions>
  382. <exclusion>
  383. <artifactId>commons-beanutils</artifactId>
  384. <groupId>commons-beanutils</groupId>
  385. </exclusion>
  386. </exclusions>
  387. </dependency>
  388. <dependency>
  389. <groupId>com.github.theborakompanioni</groupId>
  390. <artifactId>thymeleaf-extras-shiro</artifactId>
  391. <version>${thymeleaf-extras-shiro}</version>
  392. </dependency>
  393. <!-- 分页插件-->
  394. <dependency>
  395. <groupId>com.github.pagehelper</groupId>
  396. <artifactId>pagehelper-spring-boot-starter</artifactId>
  397. <version>${pagehealper.version}</version>
  398. <exclusions>
  399. <exclusion>
  400. <artifactId>mybatis-spring-boot-starter</artifactId>
  401. <groupId>org.mybatis.spring.boot</groupId>
  402. </exclusion>
  403. </exclusions>
  404. </dependency>
  405. <!-- swagger2
  406. <dependency>
  407. <groupId>io.springfox</groupId>
  408. <artifactId>springfox-swagger2</artifactId>
  409. <version>${swagger.version}</version>
  410. <exclusions>
  411. <exclusion>
  412. <artifactId>javassist</artifactId>
  413. <groupId>org.javassist</groupId>
  414. </exclusion>
  415. </exclusions>
  416. </dependency>
  417. <dependency>
  418. <groupId>io.springfox</groupId>
  419. <artifactId>springfox-swagger-ui</artifactId>
  420. <version>${swagger.version}</version>
  421. </dependency>
  422. -->
  423. <dependency>
  424. <groupId>com.github.xiaoymin</groupId>
  425. <artifactId>knife4j-spring-boot-starter</artifactId>
  426. <!--在引用时请在maven中央仓库搜索最新版本号-->
  427. <version>2.0.2</version>
  428. </dependency>
  429. <!-- 生成二维码依赖-->
  430. <dependency>
  431. <groupId>com.google.zxing</groupId>
  432. <artifactId>core</artifactId>
  433. <version>${qr.core.version}</version>
  434. </dependency>
  435. <dependency>
  436. <groupId>com.google.zxing</groupId>
  437. <artifactId>javase</artifactId>
  438. <version>${qr.core.version}</version>
  439. </dependency>
  440. <dependency>
  441. <groupId>commons-fileupload</groupId>
  442. <artifactId>commons-fileupload</artifactId>
  443. <version>${file.upload.version}</version>
  444. </dependency>
  445. <!-- 这里包含了Zookeeper依赖和Dubbo依赖
  446. <dependency>
  447. <groupId>com.alibaba.boot</groupId>
  448. <artifactId>dubbo-spring-boot-starter</artifactId>
  449. <version>${dubbo.version}</version>
  450. <exclusions>
  451. <exclusion>
  452. <artifactId>guava</artifactId>
  453. <groupId>com.google.guava</groupId>
  454. </exclusion>
  455. </exclusions>
  456. </dependency> -->
  457. <!-- 支付宝支付 -->
  458. <dependency>
  459. <groupId>com.alipay.sdk</groupId>
  460. <artifactId>alipay-sdk-java</artifactId>
  461. <version>${alipay.version}</version>
  462. </dependency>
  463. <dependency>
  464. <groupId>com.github.binarywang</groupId>
  465. <artifactId>weixin-java-mp</artifactId>
  466. <version>${wxjava.version}</version>
  467. </dependency>
  468. <dependency>
  469. <groupId>com.github.binarywang</groupId>
  470. <artifactId>weixin-java-cp</artifactId>
  471. <version>${wxjava.version}</version>
  472. </dependency>
  473. <dependency>
  474. <groupId>com.github.binarywang</groupId>
  475. <artifactId>weixin-java-pay</artifactId>
  476. <version>${wxjava.version}</version>
  477. </dependency>
  478. <dependency>
  479. <groupId>com.github.binarywang</groupId>
  480. <artifactId>weixin-java-miniapp</artifactId>
  481. <version>${wxjava.version}</version>
  482. </dependency>
  483. <dependency>
  484. <groupId>com.github.wechatpay-apiv3</groupId>
  485. <artifactId>wechatpay-apache-httpclient</artifactId>
  486. <version>${wxv3.version}</version>
  487. </dependency>
  488. <!-- jwt -->
  489. <dependency>
  490. <groupId>io.jsonwebtoken</groupId>
  491. <artifactId>jjwt-api</artifactId>
  492. </dependency>
  493. <dependency>
  494. <groupId>io.jsonwebtoken</groupId>
  495. <artifactId>jjwt-impl</artifactId>
  496. </dependency>
  497. <dependency>
  498. <groupId>io.jsonwebtoken</groupId>
  499. <artifactId>jjwt-jackson</artifactId>
  500. </dependency>
  501. <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core -->
  502. <dependency>
  503. <groupId>com.fasterxml.jackson.core</groupId>
  504. <artifactId>jackson-core</artifactId>
  505. <version>2.12.5</version>
  506. </dependency>
  507. <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations -->
  508. <dependency>
  509. <groupId>com.fasterxml.jackson.core</groupId>
  510. <artifactId>jackson-annotations</artifactId>
  511. <version>2.12.5</version>
  512. </dependency>
  513. <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
  514. <dependency>
  515. <groupId>com.fasterxml.jackson.core</groupId>
  516. <artifactId>jackson-databind</artifactId>
  517. <version>2.12.5</version>
  518. </dependency>
  519. </dependencies>
  520. <distributionManagement>
  521. <repository>
  522. <id>releases</id>
  523. <name>Internet Release</name>
  524. <url>http://127.0.0.1:8081/nexus/content/repositories/releases/</url>
  525. </repository>
  526. <snapshotRepository>
  527. <id>snapshots</id>
  528. <name>Internet Snapshots</name>
  529. <url>http://127.0.0.1:8081/nexus/content/repositories/snapshots/</url>
  530. </snapshotRepository>
  531. </distributionManagement>
  532. </project>