pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  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.ruoyi</groupId>
  6. <artifactId>ruoyi</artifactId>
  7. <version>4.6.0</version>
  8. <name>ruoyi</name>
  9. <url>http://www.ruoyi.vip</url>
  10. <description>西湖防控管理系统</description>
  11. <properties>
  12. <ruoyi.version>4.6.0</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. <shiro.version>1.8.0</shiro.version>
  18. <!-- <thymeleaf.version>3.0.14.RELEASE</thymeleaf.version>-->
  19. <thymeleaf.extras.shiro.version>2.0.0</thymeleaf.extras.shiro.version>
  20. <druid.version>1.2.4</druid.version>
  21. <bitwalker.version>1.21</bitwalker.version>
  22. <kaptcha.version>2.3.2</kaptcha.version>
  23. <swagger.version>2.9.2</swagger.version>
  24. <pagehelper.boot.version>1.3.0</pagehelper.boot.version>
  25. <fastjson.version>1.2.75</fastjson.version>
  26. <oshi.version>5.8.6</oshi.version>
  27. <jna.version>5.10.0</jna.version>
  28. <commons.io.version>2.5</commons.io.version>
  29. <commons.fileupload.version>1.3.3</commons.fileupload.version>
  30. <poi.version>4.1.2</poi.version>
  31. <velocity.version>1.7</velocity.version>
  32. <log4j2.version>2.17.0</log4j2.version>
  33. </properties>
  34. <!-- 依赖声明 -->
  35. <dependencyManagement>
  36. <dependencies>
  37. <!-- SpringBoot的依赖配置-->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-dependencies</artifactId>
  41. <version>2.2.13.RELEASE</version>
  42. <type>pom</type>
  43. <scope>import</scope>
  44. </dependency>
  45. <!--阿里数据库连接池 -->
  46. <dependency>
  47. <groupId>com.alibaba</groupId>
  48. <artifactId>druid-spring-boot-starter</artifactId>
  49. <version>${druid.version}</version>
  50. </dependency>
  51. <!--验证码 -->
  52. <dependency>
  53. <groupId>com.github.penggle</groupId>
  54. <artifactId>kaptcha</artifactId>
  55. <version>${kaptcha.version}</version>
  56. </dependency>
  57. <!--Shiro核心框架 -->
  58. <dependency>
  59. <groupId>org.apache.shiro</groupId>
  60. <artifactId>shiro-core</artifactId>
  61. <version>${shiro.version}</version>
  62. </dependency>
  63. <!-- Shiro使用Spring框架 -->
  64. <dependency>
  65. <groupId>org.apache.shiro</groupId>
  66. <artifactId>shiro-spring</artifactId>
  67. <version>${shiro.version}</version>
  68. </dependency>
  69. <!-- Shiro使用EhCache缓存框架 -->
  70. <dependency>
  71. <groupId>org.apache.shiro</groupId>
  72. <artifactId>shiro-ehcache</artifactId>
  73. <version>${shiro.version}</version>
  74. </dependency>
  75. <!-- thymeleaf模板引擎和spring框架的整合 -->
  76. <!-- <dependency>-->
  77. <!-- <groupId>org.thymeleaf</groupId>-->
  78. <!-- <artifactId>thymeleaf-spring5</artifactId>-->
  79. <!-- <version>${thymeleaf.version}</version>-->
  80. <!-- </dependency>-->
  81. <!-- <dependency>-->
  82. <!-- <groupId>org.thymeleaf</groupId>-->
  83. <!-- <artifactId>thymeleaf</artifactId>-->
  84. <!-- <version>${thymeleaf.version}</version>-->
  85. <!-- </dependency>-->
  86. <!-- thymeleaf模板引擎和shiro框架的整合 -->
  87. <dependency>
  88. <groupId>com.github.theborakompanioni</groupId>
  89. <artifactId>thymeleaf-extras-shiro</artifactId>
  90. <version>${thymeleaf.extras.shiro.version}</version>
  91. </dependency>
  92. <!-- 解析客户端操作系统、浏览器等 -->
  93. <dependency>
  94. <groupId>eu.bitwalker</groupId>
  95. <artifactId>UserAgentUtils</artifactId>
  96. <version>${bitwalker.version}</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. <dependency>
  111. <groupId>net.java.dev.jna</groupId>
  112. <artifactId>jna</artifactId>
  113. <version>${jna.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>net.java.dev.jna</groupId>
  117. <artifactId>jna-platform</artifactId>
  118. <version>${jna.version}</version>
  119. </dependency>
  120. <!-- swagger2-->
  121. <dependency>
  122. <groupId>io.springfox</groupId>
  123. <artifactId>springfox-swagger2</artifactId>
  124. <version>${swagger.version}</version>
  125. <exclusions>
  126. <exclusion>
  127. <groupId>io.swagger</groupId>
  128. <artifactId>swagger-annotations</artifactId>
  129. </exclusion>
  130. <exclusion>
  131. <groupId>io.swagger</groupId>
  132. <artifactId>swagger-models</artifactId>
  133. </exclusion>
  134. </exclusions>
  135. </dependency>
  136. <!-- swagger2-UI-->
  137. <dependency>
  138. <groupId>io.springfox</groupId>
  139. <artifactId>springfox-swagger-ui</artifactId>
  140. <version>${swagger.version}</version>
  141. </dependency>
  142. <!--io常用工具类 -->
  143. <dependency>
  144. <groupId>commons-io</groupId>
  145. <artifactId>commons-io</artifactId>
  146. <version>${commons.io.version}</version>
  147. </dependency>
  148. <!--文件上传工具类 -->
  149. <dependency>
  150. <groupId>commons-fileupload</groupId>
  151. <artifactId>commons-fileupload</artifactId>
  152. <version>${commons.fileupload.version}</version>
  153. </dependency>
  154. <!-- excel工具 -->
  155. <dependency>
  156. <groupId>org.apache.poi</groupId>
  157. <artifactId>poi-ooxml</artifactId>
  158. <version>${poi.version}</version>
  159. </dependency>
  160. <!--velocity代码生成使用模板 -->
  161. <dependency>
  162. <groupId>org.apache.velocity</groupId>
  163. <artifactId>velocity</artifactId>
  164. <version>${velocity.version}</version>
  165. </dependency>
  166. <!-- 阿里JSON解析器 -->
  167. <dependency>
  168. <groupId>com.alibaba</groupId>
  169. <artifactId>fastjson</artifactId>
  170. <version>${fastjson.version}</version>
  171. </dependency>
  172. <!-- log4j日志组件 -->
  173. <dependency>
  174. <groupId>org.apache.logging.log4j</groupId>
  175. <artifactId>log4j-api</artifactId>
  176. <version>${log4j2.version}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>org.apache.logging.log4j</groupId>
  180. <artifactId>log4j-to-slf4j</artifactId>
  181. <version>${log4j2.version}</version>
  182. </dependency>
  183. <!-- <dependency>-->
  184. <!-- <groupId>ch.qos.logback</groupId>-->
  185. <!-- <artifactId>logback-core</artifactId>-->
  186. <!-- <version>1.2.10</version>-->
  187. <!-- </dependency>-->
  188. <!-- <dependency>-->
  189. <!-- <groupId>ch.qos.logback</groupId>-->
  190. <!-- <artifactId>logback-access</artifactId>-->
  191. <!-- <version>1.2.10</version>-->
  192. <!-- </dependency>-->
  193. <!-- <dependency>-->
  194. <!-- <groupId>ch.qos.logback</groupId>-->
  195. <!-- <artifactId>logback-classic</artifactId>-->
  196. <!-- <version>1.2.10</version>-->
  197. <!-- </dependency>-->
  198. <!-- 定时任务-->
  199. <dependency>
  200. <groupId>com.ruoyi</groupId>
  201. <artifactId>ruoyi-quartz</artifactId>
  202. <version>${ruoyi.version}</version>
  203. </dependency>
  204. <!-- 代码生成-->
  205. <dependency>
  206. <groupId>com.ruoyi</groupId>
  207. <artifactId>ruoyi-generator</artifactId>
  208. <version>${ruoyi.version}</version>
  209. </dependency>
  210. <!-- 核心模块-->
  211. <dependency>
  212. <groupId>com.ruoyi</groupId>
  213. <artifactId>ruoyi-framework</artifactId>
  214. <version>${ruoyi.version}</version>
  215. </dependency>
  216. <!-- 系统模块-->
  217. <dependency>
  218. <groupId>com.ruoyi</groupId>
  219. <artifactId>ruoyi-system</artifactId>
  220. <version>${ruoyi.version}</version>
  221. </dependency>
  222. <!-- 通用工具-->
  223. <dependency>
  224. <groupId>com.ruoyi</groupId>
  225. <artifactId>ruoyi-common</artifactId>
  226. <version>${ruoyi.version}</version>
  227. </dependency>
  228. </dependencies>
  229. </dependencyManagement>
  230. <modules>
  231. <module>ruoyi-admin</module>
  232. <module>ruoyi-framework</module>
  233. <module>ruoyi-system</module>
  234. <module>ruoyi-quartz</module>
  235. <module>ruoyi-generator</module>
  236. <module>ruoyi-common</module>
  237. </modules>
  238. <packaging>pom</packaging>
  239. <dependencies>
  240. </dependencies>
  241. <build>
  242. <plugins>
  243. <plugin>
  244. <groupId>org.apache.maven.plugins</groupId>
  245. <artifactId>maven-compiler-plugin</artifactId>
  246. <version>3.1</version>
  247. <configuration>
  248. <source>${java.version}</source>
  249. <target>${java.version}</target>
  250. <encoding>${project.build.sourceEncoding}</encoding>
  251. </configuration>
  252. </plugin>
  253. </plugins>
  254. </build>
  255. <repositories>
  256. <repository>
  257. <id>public</id>
  258. <name>aliyun nexus</name>
  259. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  260. <releases>
  261. <enabled>true</enabled>
  262. </releases>
  263. </repository>
  264. </repositories>
  265. <pluginRepositories>
  266. <pluginRepository>
  267. <id>public</id>
  268. <name>aliyun nexus</name>
  269. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  270. <releases>
  271. <enabled>true</enabled>
  272. </releases>
  273. <snapshots>
  274. <enabled>false</enabled>
  275. </snapshots>
  276. </pluginRepository>
  277. </pluginRepositories>
  278. </project>