pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402
  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. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.7.18</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.zskk</groupId>
  12. <artifactId>QConline</artifactId>
  13. <version>1.0.0-SNAPSHOT</version>
  14. <name>qconline</name>
  15. <description>中世慷慨智能质控平台</description>
  16. <properties>
  17. <java.version>17</java.version>
  18. <skipTests>true</skipTests>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-test</artifactId>
  32. <scope>test</scope>
  33. </dependency>
  34. <!--security-->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-security</artifactId>
  38. </dependency>
  39. <!-- <dependency>-->
  40. <!-- <groupId>ru.yandex.clickhouse</groupId>-->
  41. <!-- <artifactId>clickhouse-jdbc</artifactId>-->
  42. <!-- <version>0.3.1-patch</version>-->
  43. <!-- </dependency>-->
  44. <dependency>
  45. <groupId>com.baomidou</groupId>
  46. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  47. <version>3.2.1</version>
  48. </dependency>
  49. <!--druid连接池-->
  50. <dependency>
  51. <groupId>com.alibaba</groupId>
  52. <artifactId>druid-spring-boot-starter</artifactId>
  53. <version>1.2.6</version>
  54. </dependency>
  55. <!-- <dependency>-->
  56. <!-- <groupId>org.springframework.boot</groupId>-->
  57. <!-- <artifactId>spring-boot-starter-data-elasticsearch</artifactId>-->
  58. <!-- </dependency>-->
  59. <!--mybatis连接mysql-->
  60. <dependency>
  61. <groupId>mysql</groupId>
  62. <artifactId>mysql-connector-java</artifactId>
  63. <version>8.0.16</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.mybatis.spring.boot</groupId>
  67. <artifactId>mybatis-spring-boot-starter</artifactId>
  68. <version>2.2.0</version>
  69. </dependency>
  70. <!-- redis -->
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-data-redis</artifactId>
  74. </dependency>
  75. <!-- redis连接池 -->
  76. <dependency>
  77. <groupId>org.apache.commons</groupId>
  78. <artifactId>commons-pool2</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.github.pagehelper</groupId>
  82. <artifactId>pagehelper</artifactId>
  83. <version>5.2.0</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.github.pagehelper</groupId>
  87. <artifactId>pagehelper-spring-boot-autoconfigure</artifactId>
  88. <version>1.2.5</version>
  89. </dependency>
  90. <!--okhttp3-->
  91. <dependency>
  92. <groupId>com.squareup.okhttp3</groupId>
  93. <artifactId>okhttp</artifactId>
  94. <version>4.7.2</version>
  95. </dependency>
  96. <!--poi-->
  97. <dependency>
  98. <groupId>org.apache.poi</groupId>
  99. <artifactId>poi</artifactId>
  100. <version>4.1.2</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.poi</groupId>
  104. <artifactId>poi-ooxml</artifactId>
  105. <version>4.1.2</version>
  106. </dependency>
  107. <!-- SpringDoc OpenAPI 3 - Spring Boot 2.2.7兼容版本 -->
  108. <dependency>
  109. <groupId>org.springdoc</groupId>
  110. <artifactId>springdoc-openapi-ui</artifactId>
  111. <version>1.6.14</version>
  112. </dependency>
  113. <!--fastjson-->
  114. <dependency>
  115. <groupId>com.alibaba</groupId>
  116. <artifactId>fastjson</artifactId>
  117. <version>1.2.75</version>
  118. </dependency>
  119. <!--JWT-->
  120. <dependency>
  121. <groupId>com.auth0</groupId>
  122. <artifactId>java-jwt</artifactId>
  123. <version>3.14.0</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>io.jsonwebtoken</groupId>
  127. <artifactId>jjwt</artifactId>
  128. <version>0.9.1</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>io.jsonwebtoken</groupId>
  132. <artifactId>jjwt-jackson</artifactId> <!-- or jjwt-gson if Gson is preferred -->
  133. <version>0.11.2</version>
  134. <scope>runtime</scope>
  135. </dependency>
  136. <!-- JAXB API - JDK 11+需要手动添加,因为Java 11移除了javax.xml.bind包 -->
  137. <dependency>
  138. <groupId>javax.xml.bind</groupId>
  139. <artifactId>jaxb-api</artifactId>
  140. <version>2.3.1</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.glassfish.jaxb</groupId>
  144. <artifactId>jaxb-runtime</artifactId>
  145. <version>2.3.1</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.projectlombok</groupId>
  149. <artifactId>lombok</artifactId>
  150. </dependency>
  151. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  152. <dependency>
  153. <groupId>org.apache.commons</groupId>
  154. <artifactId>commons-lang3</artifactId>
  155. <version>3.12.0</version>
  156. </dependency>
  157. <!-- mybatis-plus -->
  158. <dependency>
  159. <groupId>com.baomidou</groupId>
  160. <artifactId>mybatis-plus-boot-starter</artifactId>
  161. <version>3.4.0</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.aspectj</groupId>
  165. <artifactId>aspectjweaver</artifactId>
  166. <version>1.9.6</version>
  167. </dependency>
  168. <!-- hutool 工具类 -->
  169. <dependency>
  170. <groupId>cn.hutool</groupId>
  171. <artifactId>hutool-all</artifactId>
  172. <version>5.7.19</version>
  173. </dependency>
  174. <!-- hutool end -->
  175. <!-- Weasis Core Img - 包含定制的 OpenCV with DICOM 支持 -->
  176. <dependency>
  177. <groupId>org.weasis.core</groupId>
  178. <artifactId>weasis-core-img</artifactId>
  179. <version>4.9.0.1</version>
  180. <scope>system</scope>
  181. <systemPath>${project.basedir}/lib/weasis-core-img-4.9.0.1.jar</systemPath>
  182. </dependency>
  183. <!-- WebSocket 依赖 -->
  184. <dependency>
  185. <groupId>org.springframework.boot</groupId>
  186. <artifactId>spring-boot-starter-websocket</artifactId>
  187. </dependency>
  188. <!-- WebSocket end -->
  189. <!--mybatisPlus代码生成器-->
  190. <dependency>
  191. <groupId>com.baomidou</groupId>
  192. <artifactId>mybatis-plus-generator</artifactId>
  193. <version>3.5.3.1</version>
  194. </dependency>
  195. <!--mybatisPlus代码生成器freemarker模版-->
  196. <dependency>
  197. <groupId>org.freemarker</groupId>
  198. <artifactId>freemarker</artifactId>
  199. <version>2.3.31</version>
  200. </dependency>
  201. <!-- DICOM解析库 dcm4che - 从 Maven 仓库获取 -->
  202. <dependency>
  203. <groupId>org.dcm4che</groupId>
  204. <artifactId>dcm4che-core</artifactId>
  205. <version>5.33.1</version>
  206. </dependency>
  207. <!-- DICOM ImageIO插件 - 从 Maven 仓库获取 -->
  208. <dependency>
  209. <groupId>org.dcm4che</groupId>
  210. <artifactId>dcm4che-imageio</artifactId>
  211. <version>5.33.1</version>
  212. </dependency>
  213. <!-- DICOM ImageIO OpenCV支持 - 从 Maven 仓库获取 -->
  214. <dependency>
  215. <groupId>org.dcm4che</groupId>
  216. <artifactId>dcm4che-imageio-opencv</artifactId>
  217. <version>5.33.1</version>
  218. </dependency>
  219. <!-- 添加 JAI ImageIO 支持更多压缩格式 -->
  220. <dependency>
  221. <groupId>com.github.jai-imageio</groupId>
  222. <artifactId>jai-imageio-core</artifactId>
  223. <version>1.4.0</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>com.github.jai-imageio</groupId>
  227. <artifactId>jai-imageio-jpeg2000</artifactId>
  228. <version>1.4.0</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.springframework.boot</groupId>
  232. <artifactId>spring-boot-starter-actuator</artifactId>
  233. </dependency>
  234. </dependencies>
  235. <!-- 配置Maven仓库 -->
  236. <repositories>
  237. <!-- dcm4che官方仓库 -->
  238. <repository>
  239. <id>dcm4che</id>
  240. <name>dcm4che Repository</name>
  241. <url>https://www.dcm4che.org/maven2</url>
  242. <releases>
  243. <enabled>true</enabled>
  244. </releases>
  245. <snapshots>
  246. <enabled>false</enabled>
  247. </snapshots>
  248. </repository>
  249. <!-- 阿里云Maven镜像 -->
  250. <repository>
  251. <id>aliyun-maven</id>
  252. <name>Aliyun Maven Repository</name>
  253. <url>https://maven.aliyun.com/repository/public</url>
  254. <releases>
  255. <enabled>true</enabled>
  256. </releases>
  257. <snapshots>
  258. <enabled>false</enabled>
  259. </snapshots>
  260. </repository>
  261. <!-- 华为云Maven镜像 -->
  262. <repository>
  263. <id>huaweicloud-maven</id>
  264. <name>Huawei Cloud Maven Repository</name>
  265. <url>https://repo.huaweicloud.com/repository/maven/</url>
  266. <releases>
  267. <enabled>true</enabled>
  268. </releases>
  269. <snapshots>
  270. <enabled>false</enabled>
  271. </snapshots>
  272. </repository>
  273. <!-- Maven中央仓库 -->
  274. <repository>
  275. <id>maven-central</id>
  276. <name>Maven Central Repository</name>
  277. <url>https://repo.maven.apache.org/maven2</url>
  278. <releases>
  279. <enabled>true</enabled>
  280. </releases>
  281. <snapshots>
  282. <enabled>false</enabled>
  283. </snapshots>
  284. </repository>
  285. </repositories>
  286. <pluginRepositories>
  287. <pluginRepository>
  288. <id>aliyun-maven-plugin</id>
  289. <name>Aliyun Maven Plugin Repository</name>
  290. <url>https://maven.aliyun.com/repository/public</url>
  291. <releases>
  292. <enabled>true</enabled>
  293. </releases>
  294. <snapshots>
  295. <enabled>false</enabled>
  296. </snapshots>
  297. </pluginRepository>
  298. </pluginRepositories>
  299. <build>
  300. <plugins>
  301. <plugin>
  302. <groupId>org.apache.maven.plugins</groupId>
  303. <artifactId>maven-compiler-plugin</artifactId>
  304. <version>3.8.1</version>
  305. <configuration>
  306. <source>${java.version}</source>
  307. <target>${java.version}</target>
  308. <compilerArgs>
  309. <arg>-parameters</arg>
  310. <arg>--add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
  311. <arg>--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
  312. </compilerArgs>
  313. <fork>true</fork>
  314. <annotationProcessorPaths>
  315. <path>
  316. <groupId>org.projectlombok</groupId>
  317. <artifactId>lombok</artifactId>
  318. <version>1.18.30</version>
  319. </path>
  320. </annotationProcessorPaths>
  321. </configuration>
  322. </plugin>
  323. <plugin>
  324. <groupId>org.apache.maven.plugins</groupId>
  325. <artifactId>maven-surefire-plugin</artifactId>
  326. <configuration>
  327. <skip>true</skip>
  328. </configuration>
  329. </plugin>
  330. <plugin>
  331. <groupId>org.springframework.boot</groupId>
  332. <artifactId>spring-boot-maven-plugin</artifactId>
  333. <configuration>
  334. <excludes>
  335. <exclude>
  336. <groupId>org.projectlombok</groupId>
  337. <artifactId>lombok</artifactId>
  338. </exclude>
  339. </excludes>
  340. <!-- 包含本地依赖的jar文件 -->
  341. <includeSystemScope>true</includeSystemScope>
  342. <!-- Java 17+ 模块系统开放参数(dcm4che DICOM处理需要) -->
  343. <jvmArguments>
  344. --add-opens java.desktop/javax.imageio.stream=ALL-UNNAMED
  345. --add-opens java.base/java.lang=ALL-UNNAMED
  346. --add-opens java.base/java.lang.reflect=ALL-UNNAMED
  347. </jvmArguments>
  348. </configuration>
  349. </plugin>
  350. </plugins>
  351. <resources>
  352. <resource>
  353. <directory>src/main/resources</directory>
  354. <filtering>true</filtering>
  355. </resource>
  356. <resource>
  357. <directory>src/main/java</directory>
  358. <includes>
  359. <include>**/*.xml</include>
  360. </includes>
  361. </resource>
  362. </resources>
  363. </build>
  364. </project>