pom.xml 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  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.bzd</groupId>
  6. <artifactId>health</artifactId>
  7. <version>4.7.9</version>
  8. <name>health</name>
  9. <description>健康管理系统</description>
  10. <properties>
  11. <bzd.version>4.7.9</bzd.version>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <java.version>1.8</java.version>
  15. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  16. <shiro.version>1.13.0</shiro.version>
  17. <spring-framework.version>5.3.33</spring-framework.version>
  18. <thymeleaf.extras.shiro.version>2.1.0</thymeleaf.extras.shiro.version>
  19. <druid.version>1.2.23</druid.version>
  20. <bitwalker.version>1.21</bitwalker.version>
  21. <kaptcha.version>2.3.3</kaptcha.version>
  22. <swagger.version>3.0.0</swagger.version>
  23. <pagehelper.boot.version>1.4.7</pagehelper.boot.version>
  24. <fastjson.version>1.2.83</fastjson.version>
  25. <oshi.version>6.6.3</oshi.version>
  26. <commons.io.version>2.16.1</commons.io.version>
  27. <poi.version>4.1.2</poi.version>
  28. <velocity.version>2.3</velocity.version>
  29. <lombok.version>1.18.24</lombok.version>
  30. <log.version>1.2.17</log.version>
  31. <gson.version>2.8.8</gson.version>
  32. <bcprov.version>1.68</bcprov.version>
  33. </properties>
  34. <!-- 依赖声明 -->
  35. <dependencyManagement>
  36. <dependencies>
  37. <!-- SpringFramework的依赖配置-->
  38. <dependency>
  39. <groupId>org.springframework</groupId>
  40. <artifactId>spring-framework-bom</artifactId>
  41. <version>${spring-framework.version}</version>
  42. <type>pom</type>
  43. <scope>import</scope>
  44. </dependency>
  45. <!-- SpringBoot的依赖配置-->
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-dependencies</artifactId>
  49. <version>2.5.15</version>
  50. <type>pom</type>
  51. <scope>import</scope>
  52. </dependency>
  53. <!-- 阿里数据库连接池 -->
  54. <dependency>
  55. <groupId>com.alibaba</groupId>
  56. <artifactId>druid-spring-boot-starter</artifactId>
  57. <version>${druid.version}</version>
  58. </dependency>
  59. <!-- 验证码 -->
  60. <dependency>
  61. <groupId>pro.fessional</groupId>
  62. <artifactId>kaptcha</artifactId>
  63. <version>${kaptcha.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.google.code.gson</groupId>
  67. <artifactId>gson</artifactId>
  68. <version>${gson.version}</version>
  69. </dependency>
  70. <!-- Shiro核心框架 -->
  71. <dependency>
  72. <groupId>org.apache.shiro</groupId>
  73. <artifactId>shiro-core</artifactId>
  74. <version>${shiro.version}</version>
  75. </dependency>
  76. <!-- Shiro使用Spring框架 -->
  77. <dependency>
  78. <groupId>org.apache.shiro</groupId>
  79. <artifactId>shiro-spring</artifactId>
  80. <version>${shiro.version}</version>
  81. </dependency>
  82. <!-- Shiro使用EhCache缓存框架 -->
  83. <dependency>
  84. <groupId>org.apache.shiro</groupId>
  85. <artifactId>shiro-ehcache</artifactId>
  86. <version>${shiro.version}</version>
  87. </dependency>
  88. <!-- thymeleaf模板引擎和shiro框架的整合 -->
  89. <dependency>
  90. <groupId>com.github.theborakompanioni</groupId>
  91. <artifactId>thymeleaf-extras-shiro</artifactId>
  92. <version>${thymeleaf.extras.shiro.version}</version>
  93. </dependency>
  94. <!-- 解析客户端操作系统、浏览器等 -->
  95. <dependency>
  96. <groupId>eu.bitwalker</groupId>
  97. <artifactId>UserAgentUtils</artifactId>
  98. <version>${bitwalker.version}</version>
  99. </dependency>
  100. <!-- pagehelper 分页插件 -->
  101. <dependency>
  102. <groupId>com.github.pagehelper</groupId>
  103. <artifactId>pagehelper-spring-boot-starter</artifactId>
  104. <version>${pagehelper.boot.version}</version>
  105. </dependency>
  106. <!-- 获取系统信息 -->
  107. <dependency>
  108. <groupId>com.github.oshi</groupId>
  109. <artifactId>oshi-core</artifactId>
  110. <version>${oshi.version}</version>
  111. </dependency>
  112. <!-- Swagger3依赖 -->
  113. <dependency>
  114. <groupId>io.springfox</groupId>
  115. <artifactId>springfox-boot-starter</artifactId>
  116. <version>${swagger.version}</version>
  117. <exclusions>
  118. <exclusion>
  119. <groupId>io.swagger</groupId>
  120. <artifactId>swagger-models</artifactId>
  121. </exclusion>
  122. </exclusions>
  123. </dependency>
  124. <!-- io常用工具类 -->
  125. <dependency>
  126. <groupId>commons-io</groupId>
  127. <artifactId>commons-io</artifactId>
  128. <version>${commons.io.version}</version>
  129. </dependency>
  130. <!-- excel工具 -->
  131. <dependency>
  132. <groupId>org.apache.poi</groupId>
  133. <artifactId>poi-ooxml</artifactId>
  134. <version>${poi.version}</version>
  135. </dependency>
  136. <!-- velocity代码生成使用模板 -->
  137. <dependency>
  138. <groupId>org.apache.velocity</groupId>
  139. <artifactId>velocity-engine-core</artifactId>
  140. <version>${velocity.version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.bouncycastle</groupId>
  144. <artifactId>bcprov-jdk15on</artifactId>
  145. <version>${bcprov.version}</version> <!-- 请使用最新版本 -->
  146. </dependency>
  147. <!-- 阿里JSON解析器 -->
  148. <dependency>
  149. <groupId>com.alibaba</groupId>
  150. <artifactId>fastjson</artifactId>
  151. <version>${fastjson.version}</version>
  152. </dependency>
  153. <!-- 定时任务-->
  154. <dependency>
  155. <groupId>com.bzd</groupId>
  156. <artifactId>health-quartz</artifactId>
  157. <version>${bzd.version}</version>
  158. </dependency>
  159. <!-- 代码生成-->
  160. <dependency>
  161. <groupId>com.bzd</groupId>
  162. <artifactId>health-generator</artifactId>
  163. <version>${bzd.version}</version>
  164. </dependency>
  165. <!-- 核心模块-->
  166. <dependency>
  167. <groupId>com.bzd</groupId>
  168. <artifactId>health-framework</artifactId>
  169. <version>${bzd.version}</version>
  170. </dependency>
  171. <!-- 系统模块-->
  172. <dependency>
  173. <groupId>com.bzd</groupId>
  174. <artifactId>health-system</artifactId>
  175. <version>${bzd.version}</version>
  176. </dependency>
  177. <!-- 通用工具-->
  178. <dependency>
  179. <groupId>com.bzd</groupId>
  180. <artifactId>health-common</artifactId>
  181. <version>${bzd.version}</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.projectlombok</groupId>
  185. <artifactId>lombok</artifactId>
  186. <version>${lombok.version}</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>log4j</groupId>
  190. <artifactId>log4j</artifactId>
  191. <version>${log.version}</version>
  192. </dependency>
  193. </dependencies>
  194. </dependencyManagement>
  195. <modules>
  196. <module>health-admin</module>
  197. <module>health-framework</module>
  198. <module>health-system</module>
  199. <module>health-quartz</module>
  200. <module>health-generator</module>
  201. <module>health-common</module>
  202. </modules>
  203. <packaging>pom</packaging>
  204. <dependencies>
  205. </dependencies>
  206. <build>
  207. <plugins>
  208. <plugin>
  209. <groupId>org.apache.maven.plugins</groupId>
  210. <artifactId>maven-compiler-plugin</artifactId>
  211. <version>3.1</version>
  212. <configuration>
  213. <source>${java.version}</source>
  214. <target>${java.version}</target>
  215. <encoding>${project.build.sourceEncoding}</encoding>
  216. </configuration>
  217. </plugin>
  218. </plugins>
  219. </build>
  220. <repositories>
  221. <repository>
  222. <id>public</id>
  223. <name>aliyun nexus</name>
  224. <url>https://maven.aliyun.com/repository/public</url>
  225. <releases>
  226. <enabled>true</enabled>
  227. </releases>
  228. </repository>
  229. </repositories>
  230. <pluginRepositories>
  231. <pluginRepository>
  232. <id>public</id>
  233. <name>aliyun nexus</name>
  234. <url>https://maven.aliyun.com/repository/public</url>
  235. <releases>
  236. <enabled>true</enabled>
  237. </releases>
  238. <snapshots>
  239. <enabled>false</enabled>
  240. </snapshots>
  241. </pluginRepository>
  242. </pluginRepositories>
  243. </project>