pom.xml 14 KB

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