pom.xml 13 KB

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