pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  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. <okhttp.version>4.9.3</okhttp.version>
  34. <httpclient.version>4.5.3</httpclient.version>
  35. <httpcore.version>4.4.14</httpcore.version> <!-- 修复了闭合标签 -->
  36. </properties>
  37. <!-- 依赖声明 -->
  38. <dependencyManagement>
  39. <dependencies>
  40. <dependency>
  41. <groupId>com.squareup.okhttp3</groupId>
  42. <artifactId>okhttp</artifactId>
  43. <version>okhttp.version</version>
  44. </dependency>
  45. <!-- SpringFramework的依赖配置-->
  46. <dependency>
  47. <groupId>org.springframework</groupId>
  48. <artifactId>spring-framework-bom</artifactId>
  49. <version>${spring-framework.version}</version>
  50. <type>pom</type>
  51. <scope>import</scope>
  52. </dependency>
  53. <!-- SpringBoot的依赖配置-->
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-dependencies</artifactId>
  57. <version>2.5.15</version>
  58. <type>pom</type>
  59. <scope>import</scope>
  60. </dependency>
  61. <!-- 阿里数据库连接池 -->
  62. <dependency>
  63. <groupId>com.alibaba</groupId>
  64. <artifactId>druid-spring-boot-starter</artifactId>
  65. <version>${druid.version}</version>
  66. </dependency>
  67. <!-- 短信发送依赖 -->
  68. <dependency>
  69. <groupId>org.apache.httpcomponents</groupId>
  70. <artifactId>httpclient</artifactId>
  71. <version>${httpclient.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.apache.httpcomponents</groupId>
  75. <artifactId>httpcore</artifactId>
  76. <version>${httpcore.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>commons-logging</groupId>
  80. <artifactId>commons-logging</artifactId>
  81. <version>1.1.1</version>
  82. </dependency>
  83. <!-- <dependency>-->
  84. <!-- <groupId>com.alibaba</groupId>-->
  85. <!-- <artifactId>fastjson</artifactId>-->
  86. <!-- <version>1.2.75</version>-->
  87. <!-- </dependency>-->
  88. <!-- 验证码 -->
  89. <dependency>
  90. <groupId>pro.fessional</groupId>
  91. <artifactId>kaptcha</artifactId>
  92. <version>${kaptcha.version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.google.code.gson</groupId>
  96. <artifactId>gson</artifactId>
  97. <version>${gson.version}</version>
  98. </dependency>
  99. <!-- Shiro核心框架 -->
  100. <dependency>
  101. <groupId>org.apache.shiro</groupId>
  102. <artifactId>shiro-core</artifactId>
  103. <version>${shiro.version}</version>
  104. </dependency>
  105. <!-- Shiro使用Spring框架 -->
  106. <dependency>
  107. <groupId>org.apache.shiro</groupId>
  108. <artifactId>shiro-spring</artifactId>
  109. <version>${shiro.version}</version>
  110. </dependency>
  111. <!-- Shiro使用EhCache缓存框架 -->
  112. <dependency>
  113. <groupId>org.apache.shiro</groupId>
  114. <artifactId>shiro-ehcache</artifactId>
  115. <version>${shiro.version}</version>
  116. </dependency>
  117. <!-- thymeleaf模板引擎和shiro框架的整合 -->
  118. <dependency>
  119. <groupId>com.github.theborakompanioni</groupId>
  120. <artifactId>thymeleaf-extras-shiro</artifactId>
  121. <version>${thymeleaf.extras.shiro.version}</version>
  122. </dependency>
  123. <!-- 解析客户端操作系统、浏览器等 -->
  124. <dependency>
  125. <groupId>eu.bitwalker</groupId>
  126. <artifactId>UserAgentUtils</artifactId>
  127. <version>${bitwalker.version}</version>
  128. </dependency>
  129. <!-- pagehelper 分页插件 -->
  130. <dependency>
  131. <groupId>com.github.pagehelper</groupId>
  132. <artifactId>pagehelper-spring-boot-starter</artifactId>
  133. <version>${pagehelper.boot.version}</version>
  134. </dependency>
  135. <!-- 获取系统信息 -->
  136. <dependency>
  137. <groupId>com.github.oshi</groupId>
  138. <artifactId>oshi-core</artifactId>
  139. <version>${oshi.version}</version>
  140. </dependency>
  141. <!-- Swagger3依赖 -->
  142. <dependency>
  143. <groupId>io.springfox</groupId>
  144. <artifactId>springfox-boot-starter</artifactId>
  145. <version>${swagger.version}</version>
  146. <exclusions>
  147. <exclusion>
  148. <groupId>io.swagger</groupId>
  149. <artifactId>swagger-models</artifactId>
  150. </exclusion>
  151. </exclusions>
  152. </dependency>
  153. <!-- io常用工具类 -->
  154. <dependency>
  155. <groupId>commons-io</groupId>
  156. <artifactId>commons-io</artifactId>
  157. <version>${commons.io.version}</version>
  158. </dependency>
  159. <!-- excel工具 -->
  160. <dependency>
  161. <groupId>org.apache.poi</groupId>
  162. <artifactId>poi-ooxml</artifactId>
  163. <version>${poi.version}</version>
  164. </dependency>
  165. <!-- velocity代码生成使用模板 -->
  166. <dependency>
  167. <groupId>org.apache.velocity</groupId>
  168. <artifactId>velocity-engine-core</artifactId>
  169. <version>${velocity.version}</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.bouncycastle</groupId>
  173. <artifactId>bcprov-jdk15on</artifactId>
  174. <version>${bcprov.version}</version> <!-- 请使用最新版本 -->
  175. </dependency>
  176. <!-- 阿里JSON解析器 -->
  177. <dependency>
  178. <groupId>com.alibaba</groupId>
  179. <artifactId>fastjson</artifactId>
  180. <version>${fastjson.version}</version>
  181. </dependency>
  182. <!-- 定时任务-->
  183. <dependency>
  184. <groupId>com.bzd</groupId>
  185. <artifactId>health-quartz</artifactId>
  186. <version>${bzd.version}</version>
  187. </dependency>
  188. <!-- 代码生成-->
  189. <dependency>
  190. <groupId>com.bzd</groupId>
  191. <artifactId>health-generator</artifactId>
  192. <version>${bzd.version}</version>
  193. </dependency>
  194. <!-- 核心模块-->
  195. <dependency>
  196. <groupId>com.bzd</groupId>
  197. <artifactId>health-framework</artifactId>
  198. <version>${bzd.version}</version>
  199. </dependency>
  200. <!-- 系统模块-->
  201. <dependency>
  202. <groupId>com.bzd</groupId>
  203. <artifactId>health-system</artifactId>
  204. <version>${bzd.version}</version>
  205. </dependency>
  206. <!-- 通用工具-->
  207. <dependency>
  208. <groupId>com.bzd</groupId>
  209. <artifactId>health-common</artifactId>
  210. <version>${bzd.version}</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>org.projectlombok</groupId>
  214. <artifactId>lombok</artifactId>
  215. <version>${lombok.version}</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>log4j</groupId>
  219. <artifactId>log4j</artifactId>
  220. <version>${log.version}</version>
  221. </dependency>
  222. </dependencies>
  223. </dependencyManagement>
  224. <modules>
  225. <module>health-admin</module>
  226. <module>health-framework</module>
  227. <module>health-system</module>
  228. <module>health-quartz</module>
  229. <module>health-generator</module>
  230. <module>health-common</module>
  231. </modules>
  232. <packaging>pom</packaging>
  233. <dependencies>
  234. </dependencies>
  235. <build>
  236. <plugins>
  237. <plugin>
  238. <groupId>org.apache.maven.plugins</groupId>
  239. <artifactId>maven-compiler-plugin</artifactId>
  240. <version>3.1</version>
  241. <configuration>
  242. <source>${java.version}</source>
  243. <target>${java.version}</target>
  244. <encoding>${project.build.sourceEncoding}</encoding>
  245. </configuration>
  246. </plugin>
  247. </plugins>
  248. </build>
  249. <repositories>
  250. <repository>
  251. <id>public</id>
  252. <name>aliyun nexus</name>
  253. <url>https://maven.aliyun.com/repository/public</url>
  254. <releases>
  255. <enabled>true</enabled>
  256. </releases>
  257. </repository>
  258. </repositories>
  259. <pluginRepositories>
  260. <pluginRepository>
  261. <id>public</id>
  262. <name>aliyun nexus</name>
  263. <url>https://maven.aliyun.com/repository/public</url>
  264. <releases>
  265. <enabled>true</enabled>
  266. </releases>
  267. <snapshots>
  268. <enabled>false</enabled>
  269. </snapshots>
  270. </pluginRepository>
  271. </pluginRepositories>
  272. </project>