pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  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.eitc</groupId>
  7. <artifactId>eitc</artifactId>
  8. <version>3.8.7</version>
  9. <name>eitc</name>
  10. <description>牙科管理系统</description>
  11. <properties>
  12. <eitc.version>3.8.7</eitc.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. <druid.version>1.2.20</druid.version>
  19. <bitwalker.version>1.21</bitwalker.version>
  20. <swagger.version>3.0.0</swagger.version>
  21. <kaptcha.version>2.3.3</kaptcha.version>
  22. <pagehelper.boot.version>1.4.7</pagehelper.boot.version>
  23. <fastjson.version>2.0.43</fastjson.version>
  24. <oshi.version>6.5.0</oshi.version>
  25. <commons.io.version>2.13.0</commons.io.version>
  26. <poi.version>4.1.2</poi.version>
  27. <velocity.version>2.3</velocity.version>
  28. <jwt.version>0.9.1</jwt.version>
  29. </properties>
  30. <!-- 依赖声明 -->
  31. <dependencyManagement>
  32. <dependencies>
  33. <!-- SpringFramework的依赖配置-->
  34. <dependency>
  35. <groupId>org.springframework</groupId>
  36. <artifactId>spring-framework-bom</artifactId>
  37. <version>${spring-framework.version}</version>
  38. <type>pom</type>
  39. <scope>import</scope>
  40. </dependency>
  41. <!-- https://mvnrepository.com/artifact/com.itextpdf/html2pdf -->
  42. <dependency>
  43. <groupId>com.itextpdf</groupId>
  44. <artifactId>html2pdf</artifactId>
  45. <version>4.0.5</version>
  46. </dependency>
  47. <!-- SpringBoot的依赖配置-->
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-dependencies</artifactId>
  51. <version>2.5.15</version>
  52. <type>pom</type>
  53. <scope>import</scope>
  54. </dependency>
  55. <!--
  56. Spring Boot 2.5.15的内置版本
  57. <spring-security.version>5.5.8</spring-security.version>
  58. 强制修改依赖版本为:5.7.12
  59. 存在漏洞的JAR包:spring-security-core-5.5.8.jar
  60. 漏洞说明:Spring Security存在安全漏洞,在处理Authentication参数时没有对null值进行检查。当应用程序直接使用AuthenticatedVoter#vote方法,传入null作为认证参数时会错误地返回true值。攻击者可利用该漏洞绕过身份验证,进行提权或窃取系统敏感信息。
  61. 安全版本: Spring Security 5.7.12、5.8.11、6.0.10、6.1.8、6.2.3 及以上版本,下载地址:https://github.com/spring-projects/spring-security/releases
  62. <spring-security.version>5.7.12</spring-security.version>
  63. 注意:因为使用Maven管理依赖,MAVEN具有依赖传递的特性,实质上只需要引入spring-security-config依赖包含了spring-security-core依赖和spring-security-web依赖
  64. -->
  65. <!-- spring-security 漏洞升级 -->
  66. <dependency>
  67. <groupId>org.springframework.security</groupId>
  68. <artifactId>spring-security-config</artifactId>
  69. <version>5.7.12</version>
  70. <scope>compile</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.security</groupId>
  74. <artifactId>spring-security-core</artifactId>
  75. <version>5.7.12</version>
  76. <scope>compile</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.security</groupId>
  80. <artifactId>spring-security-crypto</artifactId>
  81. <version>5.7.12</version>
  82. <scope>compile</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.springframework.security</groupId>
  86. <artifactId>spring-security-web</artifactId>
  87. <version>5.7.12</version>
  88. <scope>compile</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.quartz-scheduler</groupId>
  92. <artifactId>quartz</artifactId>
  93. <version>2.4.0-rc2</version>
  94. <exclusions>
  95. <exclusion>
  96. <groupId>com.mchange</groupId>
  97. <artifactId>c3p0</artifactId>
  98. </exclusion>
  99. </exclusions>
  100. </dependency>
  101. <!-- 阿里数据库连接池 -->
  102. <dependency>
  103. <groupId>com.alibaba</groupId>
  104. <artifactId>druid-spring-boot-starter</artifactId>
  105. <version>${druid.version}</version>
  106. <exclusions>
  107. <exclusion>
  108. <groupId>org.yaml</groupId>
  109. <artifactId>snakeyaml</artifactId>
  110. </exclusion>
  111. </exclusions>
  112. </dependency>
  113. <!-- yml解析器 漏洞修复,安全版本2.0及以上:https://mvnrepository.com/artifact/org.yaml/snakeyaml-->
  114. <!-- 漏洞升级 -->
  115. <dependency>
  116. <groupId>org.yaml</groupId>
  117. <artifactId>snakeyaml</artifactId>
  118. <version>2.0</version>
  119. </dependency>
  120. <!-- Sa-Token 权限认证,在线文档:https://sa-token.cc -->
  121. <dependency>
  122. <groupId>cn.dev33</groupId>
  123. <artifactId>sa-token-spring-boot-starter</artifactId>
  124. <version>1.38.0</version>
  125. </dependency>
  126. <!-- 解析客户端操作系统、浏览器等 -->
  127. <dependency>
  128. <groupId>eu.bitwalker</groupId>
  129. <artifactId>UserAgentUtils</artifactId>
  130. <version>${bitwalker.version}</version>
  131. </dependency>
  132. <!-- pagehelper 分页插件 -->
  133. <dependency>
  134. <groupId>com.github.pagehelper</groupId>
  135. <artifactId>pagehelper-spring-boot-starter</artifactId>
  136. <version>${pagehelper.boot.version}</version>
  137. </dependency>
  138. <!-- 获取系统信息 -->
  139. <dependency>
  140. <groupId>com.github.oshi</groupId>
  141. <artifactId>oshi-core</artifactId>
  142. <version>${oshi.version}</version>
  143. </dependency>
  144. <!-- Swagger3依赖 -->
  145. <dependency>
  146. <groupId>io.springfox</groupId>
  147. <artifactId>springfox-boot-starter</artifactId>
  148. <version>${swagger.version}</version>
  149. <exclusions>
  150. <exclusion>
  151. <groupId>io.swagger</groupId>
  152. <artifactId>swagger-models</artifactId>
  153. </exclusion>
  154. </exclusions>
  155. </dependency>
  156. <!-- io常用工具类 -->
  157. <dependency>
  158. <groupId>commons-io</groupId>
  159. <artifactId>commons-io</artifactId>
  160. <version>${commons.io.version}</version>
  161. </dependency>
  162. <!-- excel工具 -->
  163. <dependency>
  164. <groupId>org.apache.poi</groupId>
  165. <artifactId>poi-ooxml</artifactId>
  166. <version>${poi.version}</version>
  167. </dependency>
  168. <!-- velocity代码生成使用模板 -->
  169. <dependency>
  170. <groupId>org.apache.velocity</groupId>
  171. <artifactId>velocity-engine-core</artifactId>
  172. <version>${velocity.version}</version>
  173. </dependency>
  174. <!-- 阿里JSON解析器 -->
  175. <dependency>
  176. <groupId>com.alibaba.fastjson2</groupId>
  177. <artifactId>fastjson2</artifactId>
  178. <version>${fastjson.version}</version>
  179. </dependency>
  180. <!-- Token生成与解析-->
  181. <dependency>
  182. <groupId>io.jsonwebtoken</groupId>
  183. <artifactId>jjwt</artifactId>
  184. <version>${jwt.version}</version>
  185. </dependency>
  186. <!-- 验证码 -->
  187. <dependency>
  188. <groupId>pro.fessional</groupId>
  189. <artifactId>kaptcha</artifactId>
  190. <version>${kaptcha.version}</version>
  191. </dependency>
  192. <!-- mybatis-plus 增强CRUD -->
  193. <dependency>
  194. <groupId>com.baomidou</groupId>
  195. <artifactId>mybatis-plus-boot-starter</artifactId>
  196. <version>3.5.1</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.projectlombok</groupId>
  200. <artifactId>lombok</artifactId>
  201. <version>1.18.28</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>cn.hutool</groupId>
  205. <artifactId>hutool-all</artifactId>
  206. <version>5.8.22</version> <!-- 请检查Hutool的最新版本 -->
  207. </dependency>
  208. <!-- 定时任务-->
  209. <dependency>
  210. <groupId>com.eitc</groupId>
  211. <artifactId>eitc-quartz</artifactId>
  212. <version>${eitc.version}</version>
  213. </dependency>
  214. <!-- 代码生成-->
  215. <dependency>
  216. <groupId>com.eitc</groupId>
  217. <artifactId>eitc-generator</artifactId>
  218. <version>${eitc.version}</version>
  219. </dependency>
  220. <!-- 核心模块-->
  221. <dependency>
  222. <groupId>com.eitc</groupId>
  223. <artifactId>eitc-framework</artifactId>
  224. <version>${eitc.version}</version>
  225. </dependency>
  226. <!-- 系统模块-->
  227. <dependency>
  228. <groupId>com.eitc</groupId>
  229. <artifactId>eitc-system</artifactId>
  230. <version>${eitc.version}</version>
  231. </dependency>
  232. <!-- 通用工具-->
  233. <dependency>
  234. <groupId>com.eitc</groupId>
  235. <artifactId>eitc-common</artifactId>
  236. <version>${eitc.version}</version>
  237. </dependency>
  238. <dependency>
  239. <groupId>com.eitc</groupId>
  240. <artifactId>eitc-patient-base</artifactId>
  241. <version>${eitc.version}</version>
  242. </dependency>
  243. <dependency>
  244. <groupId>com.eitc</groupId>
  245. <artifactId>eitc-patient-app</artifactId>
  246. <version>${eitc.version}</version>
  247. </dependency>
  248. <dependency>
  249. <groupId>com.eitc</groupId>
  250. <artifactId>eitc-patient-pc</artifactId>
  251. <version>${eitc.version}</version>
  252. </dependency>
  253. <dependency>
  254. <groupId>com.eitc</groupId>
  255. <artifactId>eitc-manage</artifactId>
  256. <version>${eitc.version}</version>
  257. </dependency>
  258. <dependency>
  259. <groupId>com.eitc</groupId>
  260. <artifactId>eitc-patient-chat</artifactId>
  261. <version>${eitc.version}</version>
  262. </dependency>
  263. </dependencies>
  264. </dependencyManagement>
  265. <modules>
  266. <module>eitc-admin</module>
  267. <module>eitc-framework</module>
  268. <module>eitc-system</module>
  269. <module>eitc-quartz</module>
  270. <module>eitc-generator</module>
  271. <module>eitc-common</module>
  272. <module>eitc-patient-base</module>
  273. <module>eitc-patient-app</module>
  274. <module>eitc-patient-pc</module>
  275. <module>eitc-manage</module>
  276. <module>eitc-patient-chat</module>
  277. </modules>
  278. <packaging>pom</packaging>
  279. <build>
  280. <plugins>
  281. <plugin>
  282. <groupId>org.apache.maven.plugins</groupId>
  283. <artifactId>maven-compiler-plugin</artifactId>
  284. <version>3.1</version>
  285. <configuration>
  286. <source>${java.version}</source>
  287. <target>${java.version}</target>
  288. <encoding>${project.build.sourceEncoding}</encoding>
  289. </configuration>
  290. </plugin>
  291. </plugins>
  292. </build>
  293. <repositories>
  294. <repository>
  295. <id>public</id>
  296. <name>aliyun nexus</name>
  297. <url>https://maven.aliyun.com/repository/public</url>
  298. <releases>
  299. <enabled>true</enabled>
  300. </releases>
  301. </repository>
  302. </repositories>
  303. <pluginRepositories>
  304. <pluginRepository>
  305. <id>public</id>
  306. <name>aliyun nexus</name>
  307. <url>https://maven.aliyun.com/repository/public</url>
  308. <releases>
  309. <enabled>true</enabled>
  310. </releases>
  311. <snapshots>
  312. <enabled>false</enabled>
  313. </snapshots>
  314. </pluginRepository>
  315. </pluginRepositories>
  316. </project>