pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  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_jd_api</artifactId>
  7. <version>3.8.4</version>
  8. <packaging>jar</packaging>
  9. <name>ezhizao_dms_jd_api</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. <!-- SqlServer 驱动包 -->
  113. <dependency>
  114. <groupId>com.microsoft.sqlserver</groupId>
  115. <artifactId>mssql-jdbc</artifactId>
  116. <scope>runtime</scope>
  117. </dependency>
  118. <!--Hutool 工具类-->
  119. <dependency>
  120. <groupId>cn.hutool</groupId>
  121. <artifactId>hutool-all</artifactId>
  122. <version>${hutool.version}</version>
  123. </dependency>
  124. <!-- zxing生成二维码 -->
  125. <dependency>
  126. <groupId>com.google.zxing</groupId>
  127. <artifactId>core</artifactId>
  128. <version>3.5.1</version>
  129. </dependency>
  130. <!-- SpringBoot集成mybatis框架
  131. <dependency>
  132. <groupId>org.mybatis.spring.boot</groupId>
  133. <artifactId>mybatis-spring-boot-starter</artifactId>
  134. <version>${mybatis.spring.boot.starter.version}</version>
  135. </dependency>
  136. -->
  137. <!-- mybaits-plus -->
  138. <dependency>
  139. <groupId>com.baomidou</groupId>
  140. <artifactId>mybatis-plus-boot-starter</artifactId>
  141. <version>${mybatis-plus.spring.boot.starter.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.projectlombok</groupId>
  145. <artifactId>lombok</artifactId>
  146. </dependency>
  147. <!-- pagehelper 分页插件 -->
  148. <dependency>
  149. <groupId>com.github.pagehelper</groupId>
  150. <artifactId>pagehelper-spring-boot-starter</artifactId>
  151. <version>${pagehelper.spring.boot.starter.version}</version>
  152. </dependency>
  153. <!-- 阿里数据库连接池 -->
  154. <dependency>
  155. <groupId>com.alibaba</groupId>
  156. <artifactId>druid-spring-boot-starter</artifactId>
  157. <version>${druid.version}</version>
  158. </dependency>
  159. <!-- 自定义验证注解 -->
  160. <dependency>
  161. <groupId>org.springframework.boot</groupId>
  162. <artifactId>spring-boot-starter-validation</artifactId>
  163. </dependency>
  164. <!-- 常用工具类 -->
  165. <dependency>
  166. <groupId>org.apache.commons</groupId>
  167. <artifactId>commons-lang3</artifactId>
  168. </dependency>
  169. <!-- io常用工具类 -->
  170. <dependency>
  171. <groupId>commons-io</groupId>
  172. <artifactId>commons-io</artifactId>
  173. <version>${commons.io.version}</version>
  174. </dependency>
  175. <!-- 文件上传工具类 -->
  176. <dependency>
  177. <groupId>commons-fileupload</groupId>
  178. <artifactId>commons-fileupload</artifactId>
  179. <version>${commons.fileupload.version}</version>
  180. </dependency>
  181. <!-- 解析客户端操作系统、浏览器等 -->
  182. <dependency>
  183. <groupId>eu.bitwalker</groupId>
  184. <artifactId>UserAgentUtils</artifactId>
  185. <version>${bitwalker.version}</version>
  186. </dependency>
  187. <!-- 阿里JSON解析器 -->
  188. <dependency>
  189. <groupId>com.alibaba.fastjson2</groupId>
  190. <artifactId>fastjson2</artifactId>
  191. <version>${fastjson.version}</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>com.alibaba</groupId>
  195. <artifactId>fastjson</artifactId>
  196. <version>1.2.76</version>
  197. </dependency>
  198. <!-- Spring框架基本的核心工具-->
  199. <dependency>
  200. <groupId>org.springframework</groupId>
  201. <artifactId>spring-context-support</artifactId>
  202. </dependency>
  203. <!-- Token生成与解析-->
  204. <dependency>
  205. <groupId>io.jsonwebtoken</groupId>
  206. <artifactId>jjwt</artifactId>
  207. <version>${jwt.version}</version>
  208. </dependency>
  209. <!-- Jaxb -->
  210. <dependency>
  211. <groupId>javax.xml.bind</groupId>
  212. <artifactId>jaxb-api</artifactId>
  213. </dependency>
  214. <!-- Swagger3依赖 -->
  215. <dependency>
  216. <groupId>io.springfox</groupId>
  217. <artifactId>springfox-boot-starter</artifactId>
  218. <version>${swagger.version}</version>
  219. <exclusions>
  220. <exclusion>
  221. <groupId>io.swagger</groupId>
  222. <artifactId>swagger-models</artifactId>
  223. </exclusion>
  224. </exclusions>
  225. </dependency>
  226. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  227. <dependency>
  228. <groupId>io.swagger</groupId>
  229. <artifactId>swagger-models</artifactId>
  230. <version>1.6.2</version>
  231. </dependency>
  232. <!-- 获取系统信息 -->
  233. <dependency>
  234. <groupId>com.github.oshi</groupId>
  235. <artifactId>oshi-core</artifactId>
  236. <version>${oshi.version}</version>
  237. </dependency>
  238. <!-- excel工具 -->
  239. <dependency>
  240. <groupId>org.apache.poi</groupId>
  241. <artifactId>poi-ooxml</artifactId>
  242. <version>${poi.version}</version>
  243. </dependency>
  244. <!-- velocity代码生成使用模板 -->
  245. <dependency>
  246. <groupId>org.apache.velocity</groupId>
  247. <artifactId>velocity-engine-core</artifactId>
  248. <version>${velocity.version}</version>
  249. </dependency>
  250. <!-- collections工具类 -->
  251. <dependency>
  252. <groupId>commons-collections</groupId>
  253. <artifactId>commons-collections</artifactId>
  254. <version>${commons.collections.version}</version>
  255. </dependency>
  256. <!-- 定时任务 -->
  257. <dependency>
  258. <groupId>org.quartz-scheduler</groupId>
  259. <artifactId>quartz</artifactId>
  260. <exclusions>
  261. <exclusion>
  262. <groupId>com.mchange</groupId>
  263. <artifactId>c3p0</artifactId>
  264. </exclusion>
  265. </exclusions>
  266. </dependency>
  267. <!-- apache http -->
  268. <dependency>
  269. <groupId>org.apache.httpcomponents</groupId>
  270. <artifactId>httpclient</artifactId>
  271. </dependency>
  272. <dependency>
  273. <groupId>org.apache.httpcomponents</groupId>
  274. <artifactId>httpcore</artifactId>
  275. </dependency>
  276. <!-- 验证码 -->
  277. <dependency>
  278. <groupId>pro.fessional</groupId>
  279. <artifactId>kaptcha</artifactId>
  280. <version>${kaptcha.version}</version>
  281. <exclusions>
  282. <exclusion>
  283. <artifactId>javax.servlet-api</artifactId>
  284. <groupId>javax.servlet</groupId>
  285. </exclusion>
  286. </exclusions>
  287. </dependency>
  288. <dependency>
  289. <groupId>com.baomidou</groupId>
  290. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  291. <version>3.5.2</version>
  292. </dependency>
  293. <dependency>
  294. <groupId>org.testng</groupId>
  295. <artifactId>testng</artifactId>
  296. <version>7.4.0</version>
  297. <scope>compile</scope>
  298. </dependency>
  299. <dependency>
  300. <groupId>junit</groupId>
  301. <artifactId>junit</artifactId>
  302. </dependency>
  303. <!-- <dependency>-->
  304. <!-- <groupId>com.ezhizao</groupId>-->
  305. <!-- <artifactId>snms-spring-boot-starter</artifactId>-->
  306. <!-- <version>0.0.2</version>-->
  307. <!-- </dependency>-->
  308. </dependencies>
  309. <build>
  310. <finalName>${project.artifactId}</finalName>
  311. <plugins>
  312. <plugin>
  313. <groupId>org.springframework.boot</groupId>
  314. <artifactId>spring-boot-maven-plugin</artifactId>
  315. <configuration>
  316. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  317. </configuration>
  318. </plugin>
  319. </plugins>
  320. </build>
  321. <repositories>
  322. <repository>
  323. <id>public</id>
  324. <name>aliyun nexus</name>
  325. <url>https://maven.aliyun.com/repository/public</url>
  326. <releases>
  327. <enabled>true</enabled>
  328. </releases>
  329. </repository>
  330. </repositories>
  331. <pluginRepositories>
  332. <pluginRepository>
  333. <id>public</id>
  334. <name>aliyun nexus</name>
  335. <url>https://maven.aliyun.com/repository/public</url>
  336. <releases>
  337. <enabled>true</enabled>
  338. </releases>
  339. <snapshots>
  340. <enabled>false</enabled>
  341. </snapshots>
  342. </pluginRepository>
  343. </pluginRepositories>
  344. </project>