pom.xml 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.zksy</groupId>
  7. <artifactId>background-service</artifactId>
  8. <version>3.8.8</version>
  9. <properties>
  10. <zksy.version>3.8.8</zksy.version>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  13. <java.version>1.8</java.version>
  14. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  15. <spring-framework.version>5.3.33</spring-framework.version>
  16. <spring-security.version>5.7.12</spring-security.version>
  17. <druid.version>1.2.23</druid.version>
  18. <bitwalker.version>1.21</bitwalker.version>
  19. <swagger.version>3.0.0</swagger.version>
  20. <kaptcha.version>2.3.3</kaptcha.version>
  21. <pagehelper.boot.version>1.4.7</pagehelper.boot.version>
  22. <fastjson.version>2.0.43</fastjson.version>
  23. <oshi.version>6.6.3</oshi.version>
  24. <commons.io.version>2.13.0</commons.io.version>
  25. <poi.version>4.1.2</poi.version>
  26. <velocity.version>2.3</velocity.version>
  27. <jwt.version>0.9.1</jwt.version>
  28. <knife4j.version>4.1.0</knife4j.version>
  29. <mybatis-plus.version>3.5.1</mybatis-plus.version>
  30. </properties>
  31. <!-- 依赖声明 -->
  32. <dependencyManagement>
  33. <dependencies>
  34. <!-- SpringFramework的依赖配置-->
  35. <dependency>
  36. <groupId>org.springframework</groupId>
  37. <artifactId>spring-framework-bom</artifactId>
  38. <version>${spring-framework.version}</version>
  39. <type>pom</type>
  40. <scope>import</scope>
  41. </dependency>
  42. <!-- SpringSecurity的依赖配置-->
  43. <dependency>
  44. <groupId>org.springframework.security</groupId>
  45. <artifactId>spring-security-bom</artifactId>
  46. <version>${spring-security.version}</version>
  47. <type>pom</type>
  48. <scope>import</scope>
  49. </dependency>
  50. <!-- SpringBoot的依赖配置-->
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-dependencies</artifactId>
  54. <version>2.7.15</version>
  55. <type>pom</type>
  56. <scope>import</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.mysql</groupId>
  60. <artifactId>mysql-connector-j</artifactId>
  61. <version>8.1.0</version>
  62. </dependency>
  63. <!-- 阿里数据库连接池 -->
  64. <dependency>
  65. <groupId>com.alibaba</groupId>
  66. <artifactId>druid-spring-boot-starter</artifactId>
  67. <version>${druid.version}</version>
  68. </dependency>
  69. <!-- 解析客户端操作系统、浏览器等 -->
  70. <dependency>
  71. <groupId>eu.bitwalker</groupId>
  72. <artifactId>UserAgentUtils</artifactId>
  73. <version>${bitwalker.version}</version>
  74. </dependency>
  75. <!-- pagehelper 分页插件 -->
  76. <dependency>
  77. <groupId>com.github.pagehelper</groupId>
  78. <artifactId>pagehelper-spring-boot-starter</artifactId>
  79. <version>${pagehelper.boot.version}</version>
  80. </dependency>
  81. <!-- 获取系统信息 -->
  82. <dependency>
  83. <groupId>com.github.oshi</groupId>
  84. <artifactId>oshi-core</artifactId>
  85. <version>${oshi.version}</version>
  86. </dependency>
  87. <!-- Swagger3依赖 -->
  88. <dependency>
  89. <groupId>io.springfox</groupId>
  90. <artifactId>springfox-boot-starter</artifactId>
  91. <version>${swagger.version}</version>
  92. <exclusions>
  93. <exclusion>
  94. <groupId>io.swagger</groupId>
  95. <artifactId>swagger-models</artifactId>
  96. </exclusion>
  97. </exclusions>
  98. </dependency>
  99. <!-- io常用工具类 -->
  100. <dependency>
  101. <groupId>commons-io</groupId>
  102. <artifactId>commons-io</artifactId>
  103. <version>${commons.io.version}</version>
  104. </dependency>
  105. <!-- excel工具 -->
  106. <dependency>
  107. <groupId>org.apache.poi</groupId>
  108. <artifactId>poi-ooxml</artifactId>
  109. <version>${poi.version}</version>
  110. </dependency>
  111. <!-- velocity代码生成使用模板 -->
  112. <dependency>
  113. <groupId>org.apache.velocity</groupId>
  114. <artifactId>velocity-engine-core</artifactId>
  115. <version>${velocity.version}</version>
  116. </dependency>
  117. <!-- 阿里JSON解析器 -->
  118. <dependency>
  119. <groupId>com.alibaba.fastjson2</groupId>
  120. <artifactId>fastjson2</artifactId>
  121. <version>${fastjson.version}</version>
  122. </dependency>
  123. <!-- Token生成与解析-->
  124. <dependency>
  125. <groupId>io.jsonwebtoken</groupId>
  126. <artifactId>jjwt</artifactId>
  127. <version>${jwt.version}</version>
  128. </dependency>
  129. <!-- 验证码 -->
  130. <dependency>
  131. <groupId>pro.fessional</groupId>
  132. <artifactId>kaptcha</artifactId>
  133. <version>${kaptcha.version}</version>
  134. </dependency>
  135. <!-- 定时任务-->
  136. <dependency>
  137. <groupId>com.zksy</groupId>
  138. <artifactId>zksy-quartz</artifactId>
  139. <version>${zksy.version}</version>
  140. </dependency>
  141. <!-- 代码生成-->
  142. <dependency>
  143. <groupId>com.zksy</groupId>
  144. <artifactId>zksy-generator</artifactId>
  145. <version>${zksy.version}</version>
  146. </dependency>
  147. <!-- 核心模块-->
  148. <dependency>
  149. <groupId>com.zksy</groupId>
  150. <artifactId>zksy-framework</artifactId>
  151. <version>${zksy.version}</version>
  152. </dependency>
  153. <!-- 系统模块-->
  154. <dependency>
  155. <groupId>com.zksy</groupId>
  156. <artifactId>zksy-system</artifactId>
  157. <version>${zksy.version}</version>
  158. </dependency>
  159. <!-- 通用工具-->
  160. <dependency>
  161. <groupId>com.zksy</groupId>
  162. <artifactId>zksy-common</artifactId>
  163. <version>${zksy.version}</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>com.github.xiaoymin</groupId>
  167. <artifactId>knife4j-openapi2-spring-boot-starter</artifactId>
  168. <version>${knife4j.version}</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>com.baomidou</groupId>
  172. <artifactId>mybatis-plus-boot-starter</artifactId>
  173. <version>${mybatis-plus.version}</version>
  174. </dependency>
  175. </dependencies>
  176. </dependencyManagement>
  177. <modules>
  178. <module>zksy-admin</module>
  179. <module>zksy-framework</module>
  180. <module>zksy-system</module>
  181. <module>zksy-quartz</module>
  182. <module>zksy-generator</module>
  183. <module>zksy-common</module>
  184. </modules>
  185. <packaging>pom</packaging>
  186. <build>
  187. <plugins>
  188. <plugin>
  189. <groupId>org.apache.maven.plugins</groupId>
  190. <artifactId>maven-compiler-plugin</artifactId>
  191. <version>3.1</version>
  192. <configuration>
  193. <source>${java.version}</source>
  194. <target>${java.version}</target>
  195. <encoding>${project.build.sourceEncoding}</encoding>
  196. </configuration>
  197. </plugin>
  198. </plugins>
  199. </build>
  200. <!-- <repositories>-->
  201. <!-- <repository>-->
  202. <!-- <id>public</id>-->
  203. <!-- <name>aliyun nexus</name>-->
  204. <!-- <url>https://maven.aliyun.com/repository/public</url>-->
  205. <!-- <releases>-->
  206. <!-- <enabled>true</enabled>-->
  207. <!-- </releases>-->
  208. <!-- </repository>-->
  209. <!-- </repositories>-->
  210. <!-- <pluginRepositories>-->
  211. <!-- <pluginRepository>-->
  212. <!-- <id>public</id>-->
  213. <!-- <name>aliyun nexus</name>-->
  214. <!-- <url>https://maven.aliyun.com/repository/public</url>-->
  215. <!-- <releases>-->
  216. <!-- <enabled>true</enabled>-->
  217. <!-- </releases>-->
  218. <!-- <snapshots>-->
  219. <!-- <enabled>false</enabled>-->
  220. <!-- </snapshots>-->
  221. <!-- </pluginRepository>-->
  222. <!-- </pluginRepositories>-->
  223. </project>