pom.xml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  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.guanshi</groupId>
  6. <artifactId>guanshi</artifactId>
  7. <version>4.7.2</version>
  8. <name>guanshi</name>
  9. <url>https://ggzypz.org.cn/</url>
  10. <description>观实管理系统</description>
  11. <properties>
  12. <guanshi.version>4.7.2</guanshi.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.extras.shiro.version>2.1.0</thymeleaf.extras.shiro.version>
  19. <druid.version>1.2.8</druid.version>
  20. <bitwalker.version>1.21</bitwalker.version>
  21. <kaptcha.version>2.3.2</kaptcha.version>
  22. <swagger.version>3.0.0</swagger.version>
  23. <mybatis-spring-boot.version>2.2.0</mybatis-spring-boot.version>
  24. <pagehelper.boot.version>1.4.0</pagehelper.boot.version>
  25. <fastjson.version>1.2.79</fastjson.version>
  26. <oshi.version>5.8.6</oshi.version>
  27. <jna.version>5.10.0</jna.version>
  28. <commons.io.version>2.11.0</commons.io.version>
  29. <commons.fileupload.version>1.4</commons.fileupload.version>
  30. <poi.version>4.1.2</poi.version>
  31. <velocity.version>2.3</velocity.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>2.5.8</version>
  41. <type>pom</type>
  42. <scope>import</scope>
  43. </dependency>
  44. <!-- 阿里数据库连接池 -->
  45. <dependency>
  46. <groupId>com.alibaba</groupId>
  47. <artifactId>druid-spring-boot-starter</artifactId>
  48. <version>${druid.version}</version>
  49. </dependency>
  50. <!-- 验证码 -->
  51. <dependency>
  52. <groupId>com.github.penggle</groupId>
  53. <artifactId>kaptcha</artifactId>
  54. <version>${kaptcha.version}</version>
  55. </dependency>
  56. <!-- Shiro核心框架 -->
  57. <dependency>
  58. <groupId>org.apache.shiro</groupId>
  59. <artifactId>shiro-core</artifactId>
  60. <version>${shiro.version}</version>
  61. </dependency>
  62. <!-- Shiro使用Spring框架 -->
  63. <dependency>
  64. <groupId>org.apache.shiro</groupId>
  65. <artifactId>shiro-spring</artifactId>
  66. <version>${shiro.version}</version>
  67. </dependency>
  68. <!-- Shiro使用EhCache缓存框架 -->
  69. <dependency>
  70. <groupId>org.apache.shiro</groupId>
  71. <artifactId>shiro-ehcache</artifactId>
  72. <version>${shiro.version}</version>
  73. </dependency>
  74. <!-- thymeleaf模板引擎和shiro框架的整合 -->
  75. <dependency>
  76. <groupId>com.github.theborakompanioni</groupId>
  77. <artifactId>thymeleaf-extras-shiro</artifactId>
  78. <version>${thymeleaf.extras.shiro.version}</version>
  79. </dependency>
  80. <!-- 解析客户端操作系统、浏览器等 -->
  81. <dependency>
  82. <groupId>eu.bitwalker</groupId>
  83. <artifactId>UserAgentUtils</artifactId>
  84. <version>${bitwalker.version}</version>
  85. </dependency>
  86. <!-- SpringBoot集成mybatis框架 -->
  87. <dependency>
  88. <groupId>org.mybatis.spring.boot</groupId>
  89. <artifactId>mybatis-spring-boot-starter</artifactId>
  90. <version>${mybatis-spring-boot.version}</version>
  91. </dependency>
  92. <!-- pagehelper 分页插件 -->
  93. <dependency>
  94. <groupId>com.github.pagehelper</groupId>
  95. <artifactId>pagehelper-spring-boot-starter</artifactId>
  96. <version>${pagehelper.boot.version}</version>
  97. </dependency>
  98. <!-- 获取系统信息 -->
  99. <dependency>
  100. <groupId>com.github.oshi</groupId>
  101. <artifactId>oshi-core</artifactId>
  102. <version>${oshi.version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>net.java.dev.jna</groupId>
  106. <artifactId>jna</artifactId>
  107. <version>${jna.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>net.java.dev.jna</groupId>
  111. <artifactId>jna-platform</artifactId>
  112. <version>${jna.version}</version>
  113. </dependency>
  114. <!-- Swagger3依赖 -->
  115. <dependency>
  116. <groupId>io.springfox</groupId>
  117. <artifactId>springfox-boot-starter</artifactId>
  118. <version>${swagger.version}</version>
  119. <exclusions>
  120. <exclusion>
  121. <groupId>io.swagger</groupId>
  122. <artifactId>swagger-models</artifactId>
  123. </exclusion>
  124. </exclusions>
  125. </dependency>
  126. <!-- io常用工具类 -->
  127. <dependency>
  128. <groupId>commons-io</groupId>
  129. <artifactId>commons-io</artifactId>
  130. <version>${commons.io.version}</version>
  131. </dependency>
  132. <!-- 文件上传工具类 -->
  133. <dependency>
  134. <groupId>commons-fileupload</groupId>
  135. <artifactId>commons-fileupload</artifactId>
  136. <version>${commons.fileupload.version}</version>
  137. </dependency>
  138. <!-- excel工具 -->
  139. <dependency>
  140. <groupId>org.apache.poi</groupId>
  141. <artifactId>poi-ooxml</artifactId>
  142. <version>${poi.version}</version>
  143. </dependency>
  144. <!-- velocity代码生成使用模板 -->
  145. <dependency>
  146. <groupId>org.apache.velocity</groupId>
  147. <artifactId>velocity-engine-core</artifactId>
  148. <version>${velocity.version}</version>
  149. </dependency>
  150. <!-- 阿里JSON解析器 -->
  151. <dependency>
  152. <groupId>com.alibaba</groupId>
  153. <artifactId>fastjson</artifactId>
  154. <version>${fastjson.version}</version>
  155. </dependency>
  156. <!-- 定时任务-->
  157. <dependency>
  158. <groupId>com.guanshi</groupId>
  159. <artifactId>guanshi-quartz</artifactId>
  160. <version>${guanshi.version}</version>
  161. </dependency>
  162. <!-- 代码生成-->
  163. <dependency>
  164. <groupId>com.guanshi</groupId>
  165. <artifactId>guanshi-generator</artifactId>
  166. <version>${guanshi.version}</version>
  167. </dependency>
  168. <!-- 核心模块-->
  169. <dependency>
  170. <groupId>com.guanshi</groupId>
  171. <artifactId>guanshi-framework</artifactId>
  172. <version>${guanshi.version}</version>
  173. </dependency>
  174. <!-- 系统模块-->
  175. <dependency>
  176. <groupId>com.guanshi</groupId>
  177. <artifactId>guanshi-system</artifactId>
  178. <version>${guanshi.version}</version>
  179. </dependency>
  180. <!-- 通用工具-->
  181. <dependency>
  182. <groupId>com.guanshi</groupId>
  183. <artifactId>guanshi-common</artifactId>
  184. <version>${guanshi.version}</version>
  185. </dependency>
  186. </dependencies>
  187. </dependencyManagement>
  188. <modules>
  189. <module>guanshi-admin</module>
  190. <module>guanshi-framework</module>
  191. <module>guanshi-system</module>
  192. <module>guanshi-quartz</module>
  193. <module>guanshi-generator</module>
  194. <module>guanshi-common</module>
  195. </modules>
  196. <packaging>pom</packaging>
  197. <dependencies>
  198. </dependencies>
  199. <build>
  200. <plugins>
  201. <plugin>
  202. <groupId>org.apache.maven.plugins</groupId>
  203. <artifactId>maven-compiler-plugin</artifactId>
  204. <version>3.1</version>
  205. <configuration>
  206. <source>${java.version}</source>
  207. <target>${java.version}</target>
  208. <encoding>${project.build.sourceEncoding}</encoding>
  209. </configuration>
  210. </plugin>
  211. </plugins>
  212. </build>
  213. <repositories>
  214. <repository>
  215. <id>public</id>
  216. <name>aliyun nexus</name>
  217. <url>https://maven.aliyun.com/repository/public</url>
  218. <releases>
  219. <enabled>true</enabled>
  220. </releases>
  221. </repository>
  222. </repositories>
  223. <pluginRepositories>
  224. <pluginRepository>
  225. <id>public</id>
  226. <name>aliyun nexus</name>
  227. <url>https://maven.aliyun.com/repository/public</url>
  228. <releases>
  229. <enabled>true</enabled>
  230. </releases>
  231. <snapshots>
  232. <enabled>false</enabled>
  233. </snapshots>
  234. </pluginRepository>
  235. </pluginRepositories>
  236. </project>