pom.xml 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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.goldenwater</groupId>
  7. <artifactId>slaj</artifactId>
  8. <version>3.9.2</version>
  9. <name>goldenwater</name>
  10. <url>http://www.goldenwater.vip</url>
  11. <description>水利安全生产监管信息系统</description>
  12. <properties>
  13. <goldenwater.version>3.9.2</goldenwater.version>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <java.version>17</java.version>
  17. <spring-boot.version>4.0.3</spring-boot.version>
  18. <mybatis-spring-boot.version>4.0.1</mybatis-spring-boot.version>
  19. <druid.version>1.2.28</druid.version>
  20. <yauaa.version>8.1.0</yauaa.version>
  21. <kaptcha.version>2.3.3</kaptcha.version>
  22. <pagehelper.boot.version>2.1.1</pagehelper.boot.version>
  23. <fastjson.version>2.0.61</fastjson.version>
  24. <oshi.version>6.10.0</oshi.version>
  25. <commons.io.version>2.21.0</commons.io.version>
  26. <poi.version>4.1.2</poi.version>
  27. <velocity.version>2.3</velocity.version>
  28. <jwt.version>0.9.1</jwt.version>
  29. <jaxb-api.version>2.3.1</jaxb-api.version>
  30. <springdoc.version>3.0.2</springdoc.version>
  31. <lombok.version>1.18.36</lombok.version>
  32. </properties>
  33. <!-- 依赖声明 -->
  34. <dependencyManagement>
  35. <dependencies>
  36. <!-- SpringBoot的依赖配置-->
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-dependencies</artifactId>
  40. <version>${spring-boot.version}</version>
  41. <type>pom</type>
  42. <scope>import</scope>
  43. </dependency>
  44. <!-- 阿里数据库连接池 -->
  45. <dependency>
  46. <groupId>com.alibaba</groupId>
  47. <artifactId>druid-spring-boot-4-starter</artifactId>
  48. <version>${druid.version}</version>
  49. </dependency>
  50. <!-- 解析客户端操作系统、浏览器等 -->
  51. <dependency>
  52. <groupId>nl.basjes.parse.useragent</groupId>
  53. <artifactId>yauaa</artifactId>
  54. <version>${yauaa.version}</version>
  55. </dependency>
  56. <!-- pagehelper 分页插件 -->
  57. <dependency>
  58. <groupId>com.github.pagehelper</groupId>
  59. <artifactId>pagehelper-spring-boot-starter</artifactId>
  60. <version>${pagehelper.boot.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.mybatis.spring.boot</groupId>
  64. <artifactId>mybatis-spring-boot-starter</artifactId>
  65. <version>${mybatis-spring-boot.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>javax.xml.bind</groupId>
  69. <artifactId>jaxb-api</artifactId>
  70. <version>${jaxb-api.version}</version>
  71. </dependency>
  72. <!-- 获取系统信息 -->
  73. <dependency>
  74. <groupId>com.github.oshi</groupId>
  75. <artifactId>oshi-core</artifactId>
  76. <version>${oshi.version}</version>
  77. </dependency>
  78. <!-- spring-doc -->
  79. <dependency>
  80. <groupId>org.springdoc</groupId>
  81. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  82. <version>${springdoc.version}</version>
  83. </dependency>
  84. <!-- lombok -->
  85. <dependency>
  86. <groupId>org.projectlombok</groupId>
  87. <artifactId>lombok</artifactId>
  88. <version>${lombok.version}</version>
  89. </dependency>
  90. <!-- io常用工具类 -->
  91. <dependency>
  92. <groupId>commons-io</groupId>
  93. <artifactId>commons-io</artifactId>
  94. <version>${commons.io.version}</version>
  95. </dependency>
  96. <!-- excel工具 -->
  97. <dependency>
  98. <groupId>org.apache.poi</groupId>
  99. <artifactId>poi-ooxml</artifactId>
  100. <version>${poi.version}</version>
  101. </dependency>
  102. <!-- velocity代码生成使用模板 -->
  103. <dependency>
  104. <groupId>org.apache.velocity</groupId>
  105. <artifactId>velocity-engine-core</artifactId>
  106. <version>${velocity.version}</version>
  107. </dependency>
  108. <!-- 阿里JSON解析器 -->
  109. <dependency>
  110. <groupId>com.alibaba.fastjson2</groupId>
  111. <artifactId>fastjson2</artifactId>
  112. <version>${fastjson.version}</version>
  113. </dependency>
  114. <!-- Token生成与解析-->
  115. <dependency>
  116. <groupId>io.jsonwebtoken</groupId>
  117. <artifactId>jjwt</artifactId>
  118. <version>${jwt.version}</version>
  119. </dependency>
  120. <!-- 验证码 -->
  121. <dependency>
  122. <groupId>pro.fessional</groupId>
  123. <artifactId>kaptcha</artifactId>
  124. <version>${kaptcha.version}</version>
  125. </dependency>
  126. <!-- 定时任务-->
  127. <dependency>
  128. <groupId>com.goldenwater</groupId>
  129. <artifactId>gw-quartz</artifactId>
  130. <version>${goldenwater.version}</version>
  131. </dependency>
  132. <!-- 核心模块-->
  133. <dependency>
  134. <groupId>com.goldenwater</groupId>
  135. <artifactId>gw-framework</artifactId>
  136. <version>${goldenwater.version}</version>
  137. </dependency>
  138. <!-- 系统模块-->
  139. <dependency>
  140. <groupId>com.goldenwater</groupId>
  141. <artifactId>gw-system</artifactId>
  142. <version>${goldenwater.version}</version>
  143. </dependency>
  144. <!-- 水利安监业务模块-->
  145. <dependency>
  146. <groupId>com.goldenwater</groupId>
  147. <artifactId>gw-slaj</artifactId>
  148. <version>${goldenwater.version}</version>
  149. </dependency>
  150. <!-- 通用工具-->
  151. <dependency>
  152. <groupId>com.goldenwater</groupId>
  153. <artifactId>gw-common</artifactId>
  154. <version>${goldenwater.version}</version>
  155. </dependency>
  156. </dependencies>
  157. </dependencyManagement>
  158. <modules>
  159. <module>gw-admin</module>
  160. <module>gw-framework</module>
  161. <module>gw-system</module>
  162. <module>gw-slaj</module>
  163. <module>gw-quartz</module>
  164. <module>gw-common</module>
  165. </modules>
  166. <packaging>pom</packaging>
  167. <build>
  168. <plugins>
  169. <plugin>
  170. <groupId>org.apache.maven.plugins</groupId>
  171. <artifactId>maven-compiler-plugin</artifactId>
  172. <version>3.13.0</version>
  173. <configuration>
  174. <parameters>true</parameters>
  175. <source>${java.version}</source>
  176. <target>${java.version}</target>
  177. <encoding>${project.build.sourceEncoding}</encoding>
  178. </configuration>
  179. </plugin>
  180. <plugin>
  181. <groupId>org.springframework.boot</groupId>
  182. <artifactId>spring-boot-maven-plugin</artifactId>
  183. <version>${spring-boot.version}</version>
  184. </plugin>
  185. </plugins>
  186. </build>
  187. <repositories>
  188. <repository>
  189. <id>public</id>
  190. <name>aliyun nexus</name>
  191. <url>https://maven.aliyun.com/repository/public</url>
  192. <releases>
  193. <enabled>true</enabled>
  194. </releases>
  195. </repository>
  196. </repositories>
  197. <pluginRepositories>
  198. <pluginRepository>
  199. <id>public</id>
  200. <name>aliyun nexus</name>
  201. <url>https://maven.aliyun.com/repository/public</url>
  202. <releases>
  203. <enabled>true</enabled>
  204. </releases>
  205. <snapshots>
  206. <enabled>false</enabled>
  207. </snapshots>
  208. </pluginRepository>
  209. </pluginRepositories>
  210. </project>