pom.xml 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  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>com.zhiyun</groupId>
  6. <artifactId>zy-serve</artifactId>
  7. <version>4.7.6</version>
  8. <packaging>jar</packaging>
  9. <name>zy-serve</name>
  10. <description>若依管理系统</description>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>2.5.14</version>
  15. <relativePath/>
  16. </parent>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  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. <guava.version>31.1-jre</guava.version>
  23. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  24. <bitwalker.version>1.21</bitwalker.version>
  25. <kaptcha.version>2.3.3</kaptcha.version>
  26. <fastjson.version>2.0.25</fastjson.version>
  27. <oshi.version>6.4.0</oshi.version>
  28. <commons.io.version>2.11.0</commons.io.version>
  29. <commons.fileupload.version>1.5</commons.fileupload.version>
  30. <commons.collections.version>3.2.2</commons.collections.version>
  31. <poi.version>4.1.2</poi.version>
  32. <jwt.version>0.9.1</jwt.version>
  33. <mybatis_plus.version>3.5.3.1</mybatis_plus.version>
  34. </properties>
  35. <dependencies>
  36. <!-- SpringBoot 核心包 -->
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter</artifactId>
  40. </dependency>
  41. <!-- SpringBoot 测试 -->
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-test</artifactId>
  45. <scope>test</scope>
  46. </dependency>
  47. <!-- SpringBoot 拦截器 -->
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-aop</artifactId>
  51. </dependency>
  52. <!-- SpringBoot Web容器 -->
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-web</artifactId>
  56. </dependency>
  57. <!-- spring security 安全认证 -->
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-security</artifactId>
  61. </dependency>
  62. <!-- 自定义验证注解 -->
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-validation</artifactId>
  66. </dependency>
  67. <!-- Spring框架基本的核心工具 -->
  68. <dependency>
  69. <groupId>org.springframework</groupId>
  70. <artifactId>spring-context-support</artifactId>
  71. </dependency>
  72. <!-- redis 缓存操作 -->
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-data-redis</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.baomidou</groupId>
  79. <artifactId>mybatis-plus-boot-starter</artifactId>
  80. <version>${mybatis_plus.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.freemarker</groupId>
  84. <artifactId>freemarker</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.baomidou</groupId>
  88. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  89. <version>3.6.1</version>
  90. </dependency>
  91. <!-- Mysql驱动包 -->
  92. <dependency>
  93. <groupId>mysql</groupId>
  94. <artifactId>mysql-connector-java</artifactId>
  95. </dependency>
  96. <!-- Token生成与解析-->
  97. <dependency>
  98. <groupId>io.jsonwebtoken</groupId>
  99. <artifactId>jjwt</artifactId>
  100. <version>${jwt.version}</version>
  101. </dependency>
  102. <!-- 常用工具类 -->
  103. <dependency>
  104. <groupId>org.apache.commons</groupId>
  105. <artifactId>commons-lang3</artifactId>
  106. </dependency>
  107. <!-- io常用工具类 -->
  108. <dependency>
  109. <groupId>commons-io</groupId>
  110. <artifactId>commons-io</artifactId>
  111. <version>${commons.io.version}</version>
  112. </dependency>
  113. <!-- 文件上传工具类 -->
  114. <dependency>
  115. <groupId>commons-fileupload</groupId>
  116. <artifactId>commons-fileupload</artifactId>
  117. <version>${commons.fileupload.version}</version>
  118. </dependency>
  119. <!-- 阿里JSON解析器 -->
  120. <dependency>
  121. <groupId>com.alibaba.fastjson2</groupId>
  122. <artifactId>fastjson2</artifactId>
  123. <version>${fastjson.version}</version>
  124. </dependency>
  125. <!-- 解析客户端操作系统、浏览器等 -->
  126. <dependency>
  127. <groupId>eu.bitwalker</groupId>
  128. <artifactId>UserAgentUtils</artifactId>
  129. <version>${bitwalker.version}</version>
  130. </dependency>
  131. <!-- 验证码 -->
  132. <dependency>
  133. <groupId>pro.fessional</groupId>
  134. <artifactId>kaptcha</artifactId>
  135. <version>${kaptcha.version}</version>
  136. <exclusions>
  137. <exclusion>
  138. <artifactId>javax.servlet-api</artifactId>
  139. <groupId>javax.servlet</groupId>
  140. </exclusion>
  141. </exclusions>
  142. </dependency>
  143. <!-- 获取系统信息 -->
  144. <dependency>
  145. <groupId>com.github.oshi</groupId>
  146. <artifactId>oshi-core</artifactId>
  147. <version>${oshi.version}</version>
  148. </dependency>
  149. <!--代码生成器-->
  150. <dependency>
  151. <groupId>com.baomidou</groupId>
  152. <artifactId>mybatis-plus-generator</artifactId>
  153. <version>3.5.3.1</version>
  154. </dependency>
  155. <!--代码生成器需要-->
  156. <dependency>
  157. <groupId>org.apache.velocity</groupId>
  158. <artifactId>velocity</artifactId>
  159. <version>1.7</version>
  160. </dependency>
  161. <!-- excel工具 -->
  162. <dependency>
  163. <groupId>org.apache.poi</groupId>
  164. <artifactId>poi-ooxml</artifactId>
  165. <version>${poi.version}</version>
  166. </dependency>
  167. <!-- collections工具类 -->
  168. <dependency>
  169. <groupId>commons-collections</groupId>
  170. <artifactId>commons-collections</artifactId>
  171. <version>${commons.collections.version}</version>
  172. </dependency>
  173. <!-- pool 对象池 -->
  174. <dependency>
  175. <groupId>org.apache.commons</groupId>
  176. <artifactId>commons-pool2</artifactId>
  177. </dependency>
  178. <!-- yml解析器 -->
  179. <dependency>
  180. <groupId>org.yaml</groupId>
  181. <artifactId>snakeyaml</artifactId>
  182. </dependency>
  183. <!-- Jaxb -->
  184. <dependency>
  185. <groupId>javax.xml.bind</groupId>
  186. <artifactId>jaxb-api</artifactId>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.projectlombok</groupId>
  190. <artifactId>lombok</artifactId>
  191. <optional>true</optional>
  192. </dependency>
  193. <!--rabbitmq-->
  194. <dependency>
  195. <groupId>org.springframework.boot</groupId>
  196. <artifactId>spring-boot-starter-amqp</artifactId>
  197. </dependency>
  198. <dependency>
  199. <groupId>com.google.guava</groupId>
  200. <artifactId>guava</artifactId>
  201. <version>${guava.version}</version>
  202. </dependency>
  203. <!--easyexcel依赖-->
  204. <dependency>
  205. <groupId>com.alibaba</groupId>
  206. <artifactId>easyexcel</artifactId>
  207. <version>3.2.1</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>io.vavr</groupId>
  211. <artifactId>vavr</artifactId>
  212. <version>0.10.4</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>org.apache.httpcomponents</groupId>
  216. <artifactId>httpclient</artifactId>
  217. </dependency>
  218. <!-- mqtt -->
  219. <dependency>
  220. <groupId>org.springframework.integration</groupId>
  221. <artifactId>spring-integration-mqtt</artifactId>
  222. </dependency>
  223. </dependencies>
  224. <repositories>
  225. <repository>
  226. <id>public</id>
  227. <name>aliyun nexus</name>
  228. <url>https://maven.aliyun.com/repository/public</url>
  229. <releases>
  230. <enabled>true</enabled>
  231. </releases>
  232. </repository>
  233. </repositories>
  234. <pluginRepositories>
  235. <pluginRepository>
  236. <id>public</id>
  237. <name>aliyun nexus</name>
  238. <url>https://maven.aliyun.com/repository/public</url>
  239. <releases>
  240. <enabled>true</enabled>
  241. </releases>
  242. <snapshots>
  243. <enabled>false</enabled>
  244. </snapshots>
  245. </pluginRepository>
  246. </pluginRepositories>
  247. <build>
  248. <plugins>
  249. <plugin>
  250. <groupId>org.springframework.boot</groupId>
  251. <artifactId>spring-boot-maven-plugin</artifactId>
  252. <configuration>
  253. <excludes>
  254. <exclude>
  255. <groupId>org.projectlombok</groupId>
  256. <artifactId>lombok</artifactId>
  257. </exclude>
  258. </excludes>
  259. </configuration>
  260. </plugin>
  261. </plugins>
  262. </build>
  263. </project>