pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  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.ruoyi</groupId>
  7. <artifactId>sh-platform</artifactId>
  8. <version>3.8.8</version>
  9. <name>sh-platform</name>
  10. <description>上海水务海洋数字孪生模型平台</description>
  11. <properties>
  12. <ruoyi.version>3.8.8</ruoyi.version>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  15. <java.version>1.8</java.version>
  16. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  17. <spring-framework.version>5.3.33</spring-framework.version>
  18. <spring-security.version>5.7.12</spring-security.version>
  19. <druid.version>1.2.23</druid.version>
  20. <bitwalker.version>1.21</bitwalker.version>
  21. <swagger.version>3.0.0</swagger.version>
  22. <kaptcha.version>2.3.3</kaptcha.version>
  23. <mybatis-plus.version>3.5.3.2</mybatis-plus.version>
  24. <mybatis-spring-boot.version>2.2.0</mybatis-spring-boot.version>
  25. <pagehelper.boot.version>1.4.7</pagehelper.boot.version>
  26. <fastjson.version>2.0.53</fastjson.version>
  27. <oshi.version>6.6.3</oshi.version>
  28. <commons.io.version>2.13.0</commons.io.version>
  29. <poi.version>4.1.2</poi.version>
  30. <velocity.version>2.3</velocity.version>
  31. <jwt.version>0.9.1</jwt.version>
  32. <dom4j.version>2.1.4</dom4j.version>
  33. <snail-job.version>1.7.1-jdk8</snail-job.version>
  34. <docker-java.version>3.4.0</docker-java.version>
  35. <jaxrs-api.version>2.1.1</jaxrs-api.version>
  36. </properties>
  37. <!-- 依赖声明 -->
  38. <dependencyManagement>
  39. <dependencies>
  40. <!-- SpringFramework的依赖配置-->
  41. <dependency>
  42. <groupId>org.springframework</groupId>
  43. <artifactId>spring-framework-bom</artifactId>
  44. <version>${spring-framework.version}</version>
  45. <type>pom</type>
  46. <scope>import</scope>
  47. </dependency>
  48. <!-- SpringSecurity的依赖配置-->
  49. <dependency>
  50. <groupId>org.springframework.security</groupId>
  51. <artifactId>spring-security-bom</artifactId>
  52. <version>${spring-security.version}</version>
  53. <type>pom</type>
  54. <scope>import</scope>
  55. </dependency>
  56. <!-- SpringBoot的依赖配置-->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-dependencies</artifactId>
  60. <version>2.5.15</version>
  61. <type>pom</type>
  62. <scope>import</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.projectlombok</groupId>
  66. <artifactId>lombok</artifactId>
  67. <version>1.18.30</version>
  68. </dependency>
  69. <!-- 阿里数据库连接池 -->
  70. <dependency>
  71. <groupId>com.alibaba</groupId>
  72. <artifactId>druid-spring-boot-starter</artifactId>
  73. <version>${druid.version}</version>
  74. </dependency>
  75. <!-- 解析客户端操作系统、浏览器等 -->
  76. <dependency>
  77. <groupId>eu.bitwalker</groupId>
  78. <artifactId>UserAgentUtils</artifactId>
  79. <version>${bitwalker.version}</version>
  80. </dependency>
  81. <!-- DM8驱动包 -->
  82. <dependency>
  83. <groupId>com.dameng</groupId>
  84. <artifactId>DmJdbcDriver18</artifactId>
  85. <version>8.1.3.140</version>
  86. </dependency>
  87. <!-- mybatis 代码生成器 -->
  88. <dependency>
  89. <groupId>com.baomidou</groupId>
  90. <artifactId>mybatis-plus-boot-starter</artifactId>
  91. <version>${mybatis-plus.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.baomidou</groupId>
  95. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  96. <version>3.5.2</version>
  97. </dependency>
  98. <!-- pagehelper 分页插件 -->
  99. <dependency>
  100. <groupId>com.github.pagehelper</groupId>
  101. <artifactId>pagehelper-spring-boot-starter</artifactId>
  102. <version>${pagehelper.boot.version}</version>
  103. </dependency>
  104. <!-- 获取系统信息 -->
  105. <dependency>
  106. <groupId>com.github.oshi</groupId>
  107. <artifactId>oshi-core</artifactId>
  108. <version>${oshi.version}</version>
  109. </dependency>
  110. <!-- Swagger3依赖 -->
  111. <dependency>
  112. <groupId>io.springfox</groupId>
  113. <artifactId>springfox-boot-starter</artifactId>
  114. <version>${swagger.version}</version>
  115. <exclusions>
  116. <exclusion>
  117. <groupId>io.swagger</groupId>
  118. <artifactId>swagger-models</artifactId>
  119. </exclusion>
  120. </exclusions>
  121. </dependency>
  122. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  123. <dependency>
  124. <groupId>io.swagger</groupId>
  125. <artifactId>swagger-models</artifactId>
  126. <version>1.6.2</version>
  127. </dependency>
  128. <!-- io常用工具类 -->
  129. <dependency>
  130. <groupId>commons-io</groupId>
  131. <artifactId>commons-io</artifactId>
  132. <version>${commons.io.version}</version>
  133. </dependency>
  134. <!-- excel工具 -->
  135. <dependency>
  136. <groupId>org.apache.poi</groupId>
  137. <artifactId>poi-ooxml</artifactId>
  138. <version>${poi.version}</version>
  139. </dependency>
  140. <!-- velocity代码生成使用模板 -->
  141. <dependency>
  142. <groupId>org.apache.velocity</groupId>
  143. <artifactId>velocity-engine-core</artifactId>
  144. <version>${velocity.version}</version>
  145. </dependency>
  146. <!-- 阿里JSON解析器 -->
  147. <dependency>
  148. <groupId>com.alibaba.fastjson2</groupId>
  149. <artifactId>fastjson2</artifactId>
  150. <version>${fastjson.version}</version>
  151. </dependency>
  152. <!-- xml解析工具类 -->
  153. <dependency>
  154. <groupId>org.dom4j</groupId>
  155. <artifactId>dom4j</artifactId>
  156. <version>${dom4j.version}</version>
  157. </dependency>
  158. <!-- Token生成与解析-->
  159. <dependency>
  160. <groupId>io.jsonwebtoken</groupId>
  161. <artifactId>jjwt</artifactId>
  162. <version>${jwt.version}</version>
  163. </dependency>
  164. <!-- 验证码 -->
  165. <dependency>
  166. <groupId>pro.fessional</groupId>
  167. <artifactId>kaptcha</artifactId>
  168. <version>${kaptcha.version}</version>
  169. </dependency>
  170. <!-- 定时任务-->
  171. <dependency>
  172. <groupId>com.ruoyi</groupId>
  173. <artifactId>ruoyi-quartz</artifactId>
  174. <version>${ruoyi.version}</version>
  175. </dependency>
  176. <!-- 代码生成-->
  177. <dependency>
  178. <groupId>com.ruoyi</groupId>
  179. <artifactId>ruoyi-generator</artifactId>
  180. <version>${ruoyi.version}</version>
  181. </dependency>
  182. <!-- 核心模块-->
  183. <dependency>
  184. <groupId>com.ruoyi</groupId>
  185. <artifactId>ruoyi-framework</artifactId>
  186. <version>${ruoyi.version}</version>
  187. </dependency>
  188. <!-- 系统模块-->
  189. <dependency>
  190. <groupId>com.ruoyi</groupId>
  191. <artifactId>ruoyi-system</artifactId>
  192. <version>${ruoyi.version}</version>
  193. </dependency>
  194. <!-- 通用工具-->
  195. <dependency>
  196. <groupId>com.ruoyi</groupId>
  197. <artifactId>ruoyi-common</artifactId>
  198. <version>${ruoyi.version}</version>
  199. </dependency>
  200. <!-- 生态流量业务代码模块-->
  201. <dependency>
  202. <groupId>com.ruoyi</groupId>
  203. <artifactId>ruoyi-sh</artifactId>
  204. <version>${ruoyi.version}</version>
  205. </dependency>
  206. <!-- 接口服务模块 -->
  207. <dependency>
  208. <groupId>com.ruoyi</groupId>
  209. <artifactId>ruoyi-api-patform</artifactId>
  210. <version>${ruoyi.version}</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>com.ruoyi</groupId>
  214. <artifactId>ruoyi-model-dpp</artifactId>
  215. <version>${ruoyi.version}</version>
  216. </dependency>
  217. <!-- <dependency>-->
  218. <!-- <groupId>cn.com.goldenwater</groupId>-->
  219. <!-- <artifactId>gw-cloud-id</artifactId>-->
  220. <!-- <version>0.0.1-SNAPSHOT</version>-->
  221. <!-- </dependency>-->
  222. <dependency>
  223. <groupId>com.squareup.okhttp3</groupId>
  224. <artifactId>okhttp</artifactId>
  225. <version>4.12.0</version>
  226. </dependency>
  227. <!-- docker java -->
  228. <dependency>
  229. <groupId>com.github.docker-java</groupId>
  230. <artifactId>docker-java</artifactId>
  231. <version>${docker-java.version}</version>
  232. </dependency>
  233. <dependency>
  234. <groupId>com.github.docker-java</groupId>
  235. <artifactId>docker-java-transport-httpclient5</artifactId>
  236. <version>${docker-java.version}</version>
  237. </dependency>
  238. </dependencies>
  239. </dependencyManagement>
  240. <modules>
  241. <module>ruoyi-admin</module>
  242. <module>ruoyi-sh</module>
  243. <module>ruoyi-api-patform</module>
  244. <module>ruoyi-framework</module>
  245. <module>ruoyi-system</module>
  246. <module>ruoyi-quartz</module>
  247. <module>ruoyi-generator</module>
  248. <module>ruoyi-common</module>
  249. <module>ruoyi-model-dpp</module>
  250. </modules>
  251. <packaging>pom</packaging>
  252. <build>
  253. <plugins>
  254. <plugin>
  255. <groupId>org.apache.maven.plugins</groupId>
  256. <artifactId>maven-compiler-plugin</artifactId>
  257. <version>3.1</version>
  258. <configuration>
  259. <source>${java.version}</source>
  260. <target>${java.version}</target>
  261. <encoding>${project.build.sourceEncoding}</encoding>
  262. </configuration>
  263. </plugin>
  264. </plugins>
  265. </build>
  266. <repositories>
  267. <repository>
  268. <id>public</id>
  269. <name>aliyun nexus</name>
  270. <url>https://maven.aliyun.com/repository/public</url>
  271. <releases>
  272. <enabled>true</enabled>
  273. </releases>
  274. </repository>
  275. </repositories>
  276. <pluginRepositories>
  277. <pluginRepository>
  278. <id>public</id>
  279. <name>aliyun nexus</name>
  280. <url>https://maven.aliyun.com/repository/public</url>
  281. <releases>
  282. <enabled>true</enabled>
  283. </releases>
  284. <snapshots>
  285. <enabled>false</enabled>
  286. </snapshots>
  287. </pluginRepository>
  288. </pluginRepositories>
  289. </project>