pom.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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.ozs</groupId>
  7. <artifactId>Hazard</artifactId>
  8. <packaging>pom</packaging>
  9. <version>1.0</version>
  10. <modules>
  11. <module>admin</module>
  12. <module>business-service</module>
  13. </modules>
  14. <name>hazard</name>
  15. <url></url>
  16. <description>地质灾害系统</description>
  17. <properties>
  18. <monitor.version>1.0</monitor.version>
  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. <druid.version>1.2.15</druid.version>
  24. <bitwalker.version>1.21</bitwalker.version>
  25. <swagger.version>3.0.0</swagger.version>
  26. <kaptcha.version>2.3.3</kaptcha.version>
  27. <pagehelper.boot.version>1.4.6</pagehelper.boot.version>
  28. <fastjson.version>2.0.23</fastjson.version>
  29. <oshi.version>6.4.0</oshi.version>
  30. <commons.io.version>2.11.0</commons.io.version>
  31. <commons.fileupload.version>1.4</commons.fileupload.version>
  32. <commons.collections.version>3.2.2</commons.collections.version>
  33. <poi.version>4.1.2</poi.version>
  34. <velocity.version>2.3</velocity.version>
  35. <jwt.version>0.9.1</jwt.version>
  36. <mybatis-plus.version>3.5.1</mybatis-plus.version>
  37. </properties>
  38. <!-- 依赖声明 -->
  39. <dependencyManagement>
  40. <dependencies>
  41. <!-- SpringBoot的依赖配置-->
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-dependencies</artifactId>
  45. <version>2.5.14</version>
  46. <type>pom</type>
  47. <scope>import</scope>
  48. </dependency>
  49. <!-- 阿里数据库连接池 -->
  50. <dependency>
  51. <groupId>com.alibaba</groupId>
  52. <artifactId>druid-spring-boot-starter</artifactId>
  53. <version>${druid.version}</version>
  54. </dependency>
  55. <!-- 解析客户端操作系统、浏览器等 -->
  56. <dependency>
  57. <groupId>eu.bitwalker</groupId>
  58. <artifactId>UserAgentUtils</artifactId>
  59. <version>${bitwalker.version}</version>
  60. </dependency>
  61. <!-- pagehelper 分页插件 -->
  62. <dependency>
  63. <groupId>com.github.pagehelper</groupId>
  64. <artifactId>pagehelper-spring-boot-starter</artifactId>
  65. <version>${pagehelper.boot.version}</version>
  66. </dependency>
  67. <!-- 获取系统信息 -->
  68. <dependency>
  69. <groupId>com.github.oshi</groupId>
  70. <artifactId>oshi-core</artifactId>
  71. <version>${oshi.version}</version>
  72. </dependency>
  73. <!-- Swagger3依赖 -->
  74. <dependency>
  75. <groupId>io.springfox</groupId>
  76. <artifactId>springfox-boot-starter</artifactId>
  77. <version>${swagger.version}</version>
  78. <exclusions>
  79. <exclusion>
  80. <groupId>io.swagger</groupId>
  81. <artifactId>swagger-models</artifactId>
  82. </exclusion>
  83. </exclusions>
  84. </dependency>
  85. <!-- io常用工具类 -->
  86. <dependency>
  87. <groupId>commons-io</groupId>
  88. <artifactId>commons-io</artifactId>
  89. <version>${commons.io.version}</version>
  90. </dependency>
  91. <!-- 文件上传工具类 -->
  92. <dependency>
  93. <groupId>commons-fileupload</groupId>
  94. <artifactId>commons-fileupload</artifactId>
  95. <version>${commons.fileupload.version}</version>
  96. </dependency>
  97. <!-- excel工具 -->
  98. <dependency>
  99. <groupId>org.apache.poi</groupId>
  100. <artifactId>poi-ooxml</artifactId>
  101. <version>${poi.version}</version>
  102. </dependency>
  103. <!-- velocity代码生成使用模板 -->
  104. <dependency>
  105. <groupId>org.apache.velocity</groupId>
  106. <artifactId>velocity-engine-core</artifactId>
  107. <version>${velocity.version}</version>
  108. </dependency>
  109. <!-- collections工具类 -->
  110. <dependency>
  111. <groupId>commons-collections</groupId>
  112. <artifactId>commons-collections</artifactId>
  113. <version>${commons.collections.version}</version>
  114. </dependency>
  115. <!-- 阿里JSON解析器 -->
  116. <dependency>
  117. <groupId>com.alibaba.fastjson2</groupId>
  118. <artifactId>fastjson2</artifactId>
  119. <version>${fastjson.version}</version>
  120. </dependency>
  121. <!-- Token生成与解析-->
  122. <dependency>
  123. <groupId>io.jsonwebtoken</groupId>
  124. <artifactId>jjwt</artifactId>
  125. <version>${jwt.version}</version>
  126. </dependency>
  127. <!-- 验证码 -->
  128. <dependency>
  129. <groupId>pro.fessional</groupId>
  130. <artifactId>kaptcha</artifactId>
  131. <version>${kaptcha.version}</version>
  132. </dependency>
  133. <!-- 定时任务-->
  134. <dependency>
  135. <groupId>com.ozs</groupId>
  136. <artifactId>quartz</artifactId>
  137. <version>${monitor.version}</version>
  138. </dependency>
  139. <!-- 代码生成-->
  140. <dependency>
  141. <groupId>com.ozs</groupId>
  142. <artifactId>generator</artifactId>
  143. <version>${monitor.version}</version>
  144. </dependency>
  145. <!-- 核心模块-->
  146. <dependency>
  147. <groupId>com.ozs</groupId>
  148. <artifactId>framework</artifactId>
  149. <version>${monitor.version}</version>
  150. </dependency>
  151. <!-- 系统模块-->
  152. <dependency>
  153. <groupId>com.ozs</groupId>
  154. <artifactId>system</artifactId>
  155. <version>${monitor.version}</version>
  156. </dependency>
  157. <!-- 通用工具-->
  158. <dependency>
  159. <groupId>com.ozs</groupId>
  160. <artifactId>common</artifactId>
  161. <version>${monitor.version}</version>
  162. </dependency>
  163. <!-- mybatis-plus -->
  164. <dependency>
  165. <groupId>com.baomidou</groupId>
  166. <artifactId>mybatis-plus-boot-starter</artifactId>
  167. <version>${mybatis-plus.version}</version>
  168. </dependency>
  169. </dependencies>
  170. </dependencyManagement>
  171. <build>
  172. <plugins>
  173. <plugin>
  174. <groupId>org.apache.maven.plugins</groupId>
  175. <artifactId>maven-compiler-plugin</artifactId>
  176. <version>3.1</version>
  177. <configuration>
  178. <source>${java.version}</source>
  179. <target>${java.version}</target>
  180. <encoding>${project.build.sourceEncoding}</encoding>
  181. </configuration>
  182. </plugin>
  183. </plugins>
  184. </build>
  185. <repositories>
  186. <repository>
  187. <id>public</id>
  188. <name>aliyun nexus</name>
  189. <url>https://maven.aliyun.com/repository/public</url>
  190. <releases>
  191. <enabled>true</enabled>
  192. </releases>
  193. </repository>
  194. </repositories>
  195. <pluginRepositories>
  196. <pluginRepository>
  197. <id>public</id>
  198. <name>aliyun nexus</name>
  199. <url>https://maven.aliyun.com/repository/public</url>
  200. <releases>
  201. <enabled>true</enabled>
  202. </releases>
  203. <snapshots>
  204. <enabled>false</enabled>
  205. </snapshots>
  206. </pluginRepository>
  207. </pluginRepositories>
  208. </project>