pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>cn.ezhizao</groupId>
  6. <artifactId>ezhizao_yzbh_entrust</artifactId>
  7. <version>3.8.4</version>
  8. <packaging>jar</packaging>
  9. <name>ezhizao_yzbh_entrust</name>
  10. <url>http://www.ezhizao.cn</url>
  11. <description>易制造开发框架-api端</description>
  12. <parent>
  13. <groupId>org.springframework.boot</groupId>
  14. <artifactId>spring-boot-starter-parent</artifactId>
  15. <version>2.6.8</version>
  16. <relativePath />
  17. </parent>
  18. <properties>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  21. <java.version>1.8</java.version>
  22. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  23. <pagehelper.spring.boot.starter.version>1.4.6</pagehelper.spring.boot.starter.version>
  24. <fastjson.version>2.0.25</fastjson.version>
  25. <druid.version>1.2.16</druid.version>
  26. <commons.io.version>2.11.0</commons.io.version>
  27. <commons.collections.version>3.2.2</commons.collections.version>
  28. <bitwalker.version>1.21</bitwalker.version>
  29. <jwt.version>0.9.1</jwt.version>
  30. <kaptcha.version>2.3.3</kaptcha.version>
  31. <swagger.version>3.0.0</swagger.version>
  32. <poi.version>4.1.2</poi.version>
  33. <oshi.version>6.4.0</oshi.version>
  34. <velocity.version>2.3</velocity.version>
  35. <mybatis-plus.spring.boot.starter.version>3.5.0</mybatis-plus.spring.boot.starter.version>
  36. <commons.fileupload.version>1.4</commons.fileupload.version>
  37. <hutool.version>5.8.11</hutool.version>
  38. <spring-cloud-nacos.version>2021.0.1.0</spring-cloud-nacos.version>
  39. <spring-cloud-feign.version>3.1.3</spring-cloud-feign.version>
  40. </properties>
  41. <dependencies>
  42. <!-- Spring-Cloud-Feign -->
  43. <dependency>
  44. <groupId>org.springframework.cloud</groupId>
  45. <artifactId>spring-cloud-starter-openfeign</artifactId>
  46. <version>3.1.3</version>
  47. </dependency>
  48. <!-- Spring-Cloud-Nacos -->
  49. <dependency>
  50. <groupId>com.alibaba.cloud</groupId>
  51. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  52. <version>${spring-cloud-nacos.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.alibaba.cloud</groupId>
  56. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  57. <version>${spring-cloud-nacos.version}</version>
  58. </dependency>
  59. <!-- SpringBoot 核心包 -->
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>cn.hutool</groupId>
  66. <artifactId>hutool-all</artifactId>
  67. </dependency>
  68. <!-- SpringBoot 测试 -->
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-test</artifactId>
  72. <scope>test</scope>
  73. </dependency>
  74. <!-- SpringBoot 拦截器 -->
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-aop</artifactId>
  78. </dependency>
  79. <!-- SpringBoot Web容器 -->
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-web</artifactId>
  83. </dependency>
  84. <!-- spring-boot-devtools -->
  85. <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-devtools</artifactId>
  88. <optional>true</optional> <!-- 表示依赖不会传递 -->
  89. </dependency>
  90. <!-- spring security 安全认证 -->
  91. <dependency>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-starter-security</artifactId>
  94. </dependency>
  95. <!-- redis 缓存操作 -->
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-starter-data-redis</artifactId>
  99. </dependency>
  100. <!-- pool 对象池 -->
  101. <dependency>
  102. <groupId>org.apache.commons</groupId>
  103. <artifactId>commons-pool2</artifactId>
  104. </dependency>
  105. <!-- Mysql驱动包 -->
  106. <dependency>
  107. <groupId>mysql</groupId>
  108. <artifactId>mysql-connector-java</artifactId>
  109. <scope>runtime</scope>
  110. </dependency>
  111. <!--Hutool 工具类-->
  112. <dependency>
  113. <groupId>cn.hutool</groupId>
  114. <artifactId>hutool-all</artifactId>
  115. <version>${hutool.version}</version>
  116. </dependency>
  117. <!-- zxing生成二维码 -->
  118. <dependency>
  119. <groupId>com.google.zxing</groupId>
  120. <artifactId>core</artifactId>
  121. <version>3.5.1</version>
  122. </dependency>
  123. <!-- SpringBoot集成mybatis框架
  124. <dependency>
  125. <groupId>org.mybatis.spring.boot</groupId>
  126. <artifactId>mybatis-spring-boot-starter</artifactId>
  127. <version>${mybatis.spring.boot.starter.version}</version>
  128. </dependency>
  129. -->
  130. <dependency>
  131. <groupId>cn.hutool</groupId>
  132. <artifactId>hutool-all</artifactId>
  133. <version>${hutool.version}</version>
  134. </dependency>
  135. <!-- mybaits-plus -->
  136. <dependency>
  137. <groupId>com.baomidou</groupId>
  138. <artifactId>mybatis-plus-boot-starter</artifactId>
  139. <version>${mybatis-plus.spring.boot.starter.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.projectlombok</groupId>
  143. <artifactId>lombok</artifactId>
  144. </dependency>
  145. <!-- pagehelper 分页插件 -->
  146. <dependency>
  147. <groupId>com.github.pagehelper</groupId>
  148. <artifactId>pagehelper-spring-boot-starter</artifactId>
  149. <version>${pagehelper.spring.boot.starter.version}</version>
  150. </dependency>
  151. <!-- 阿里数据库连接池 -->
  152. <dependency>
  153. <groupId>com.alibaba</groupId>
  154. <artifactId>druid-spring-boot-starter</artifactId>
  155. <version>${druid.version}</version>
  156. </dependency>
  157. <!-- 自定义验证注解 -->
  158. <dependency>
  159. <groupId>org.springframework.boot</groupId>
  160. <artifactId>spring-boot-starter-validation</artifactId>
  161. </dependency>
  162. <!-- 常用工具类 -->
  163. <dependency>
  164. <groupId>org.apache.commons</groupId>
  165. <artifactId>commons-lang3</artifactId>
  166. </dependency>
  167. <!-- io常用工具类 -->
  168. <dependency>
  169. <groupId>commons-io</groupId>
  170. <artifactId>commons-io</artifactId>
  171. <version>${commons.io.version}</version>
  172. </dependency>
  173. <!-- 文件上传工具类 -->
  174. <dependency>
  175. <groupId>commons-fileupload</groupId>
  176. <artifactId>commons-fileupload</artifactId>
  177. <version>${commons.fileupload.version}</version>
  178. </dependency>
  179. <!-- 解析客户端操作系统、浏览器等 -->
  180. <dependency>
  181. <groupId>eu.bitwalker</groupId>
  182. <artifactId>UserAgentUtils</artifactId>
  183. <version>${bitwalker.version}</version>
  184. </dependency>
  185. <!-- 阿里JSON解析器 -->
  186. <dependency>
  187. <groupId>com.alibaba.fastjson2</groupId>
  188. <artifactId>fastjson2</artifactId>
  189. <version>${fastjson.version}</version>
  190. </dependency>
  191. <!-- Spring框架基本的核心工具-->
  192. <dependency>
  193. <groupId>org.springframework</groupId>
  194. <artifactId>spring-context-support</artifactId>
  195. </dependency>
  196. <!-- Token生成与解析-->
  197. <dependency>
  198. <groupId>io.jsonwebtoken</groupId>
  199. <artifactId>jjwt</artifactId>
  200. <version>${jwt.version}</version>
  201. </dependency>
  202. <!-- Jaxb -->
  203. <dependency>
  204. <groupId>javax.xml.bind</groupId>
  205. <artifactId>jaxb-api</artifactId>
  206. </dependency>
  207. <!-- Swagger3依赖 -->
  208. <dependency>
  209. <groupId>io.springfox</groupId>
  210. <artifactId>springfox-boot-starter</artifactId>
  211. <version>${swagger.version}</version>
  212. <exclusions>
  213. <exclusion>
  214. <groupId>io.swagger</groupId>
  215. <artifactId>swagger-models</artifactId>
  216. </exclusion>
  217. </exclusions>
  218. </dependency>
  219. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  220. <dependency>
  221. <groupId>io.swagger</groupId>
  222. <artifactId>swagger-models</artifactId>
  223. <version>1.6.2</version>
  224. </dependency>
  225. <!-- 获取系统信息 -->
  226. <dependency>
  227. <groupId>com.github.oshi</groupId>
  228. <artifactId>oshi-core</artifactId>
  229. <version>${oshi.version}</version>
  230. </dependency>
  231. <!-- excel工具 -->
  232. <dependency>
  233. <groupId>org.apache.poi</groupId>
  234. <artifactId>poi-ooxml</artifactId>
  235. <version>${poi.version}</version>
  236. </dependency>
  237. <!-- velocity代码生成使用模板 -->
  238. <dependency>
  239. <groupId>org.apache.velocity</groupId>
  240. <artifactId>velocity-engine-core</artifactId>
  241. <version>${velocity.version}</version>
  242. </dependency>
  243. <!-- collections工具类 -->
  244. <dependency>
  245. <groupId>commons-collections</groupId>
  246. <artifactId>commons-collections</artifactId>
  247. <version>${commons.collections.version}</version>
  248. </dependency>
  249. <!-- 定时任务 -->
  250. <dependency>
  251. <groupId>org.quartz-scheduler</groupId>
  252. <artifactId>quartz</artifactId>
  253. <exclusions>
  254. <exclusion>
  255. <groupId>com.mchange</groupId>
  256. <artifactId>c3p0</artifactId>
  257. </exclusion>
  258. </exclusions>
  259. </dependency>
  260. <!-- apache http -->
  261. <dependency>
  262. <groupId>org.apache.httpcomponents</groupId>
  263. <artifactId>httpclient</artifactId>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.apache.httpcomponents</groupId>
  267. <artifactId>httpcore</artifactId>
  268. </dependency>
  269. <!-- 验证码 -->
  270. <dependency>
  271. <groupId>pro.fessional</groupId>
  272. <artifactId>kaptcha</artifactId>
  273. <version>${kaptcha.version}</version>
  274. <exclusions>
  275. <exclusion>
  276. <artifactId>javax.servlet-api</artifactId>
  277. <groupId>javax.servlet</groupId>
  278. </exclusion>
  279. </exclusions>
  280. </dependency>
  281. <dependency>
  282. <groupId>com.baomidou</groupId>
  283. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  284. <version>3.5.2</version>
  285. </dependency>
  286. <!-- <dependency>-->
  287. <!-- <groupId>com.ezhizao</groupId>-->
  288. <!-- <artifactId>snms-spring-boot-starter</artifactId>-->
  289. <!-- <version>0.0.2</version>-->
  290. <!-- </dependency>-->
  291. </dependencies>
  292. <build>
  293. <finalName>${project.artifactId}</finalName>
  294. <plugins>
  295. <plugin>
  296. <groupId>org.springframework.boot</groupId>
  297. <artifactId>spring-boot-maven-plugin</artifactId>
  298. <configuration>
  299. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  300. </configuration>
  301. </plugin>
  302. </plugins>
  303. </build>
  304. <repositories>
  305. <repository>
  306. <id>public</id>
  307. <name>aliyun nexus</name>
  308. <url>https://maven.aliyun.com/repository/public</url>
  309. <releases>
  310. <enabled>true</enabled>
  311. </releases>
  312. </repository>
  313. </repositories>
  314. <pluginRepositories>
  315. <pluginRepository>
  316. <id>public</id>
  317. <name>aliyun nexus</name>
  318. <url>https://maven.aliyun.com/repository/public</url>
  319. <releases>
  320. <enabled>true</enabled>
  321. </releases>
  322. <snapshots>
  323. <enabled>false</enabled>
  324. </snapshots>
  325. </pluginRepository>
  326. </pluginRepositories>
  327. </project>