pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  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.2.7.RELEASE</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>11</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. <version>2.3.4.RELEASE</version>
  75. </dependency>
  76. <!-- redis连接池 -->
  77. <dependency>
  78. <groupId>org.apache.commons</groupId>
  79. <artifactId>commons-pool2</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>com.github.pagehelper</groupId>
  83. <artifactId>pagehelper</artifactId>
  84. <version>5.2.0</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.github.pagehelper</groupId>
  88. <artifactId>pagehelper-spring-boot-autoconfigure</artifactId>
  89. <version>1.2.5</version>
  90. </dependency>
  91. <!--okhttp3-->
  92. <dependency>
  93. <groupId>com.squareup.okhttp3</groupId>
  94. <artifactId>okhttp</artifactId>
  95. <version>4.7.2</version>
  96. </dependency>
  97. <!--poi-->
  98. <dependency>
  99. <groupId>org.apache.poi</groupId>
  100. <artifactId>poi</artifactId>
  101. <version>4.1.2</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.apache.poi</groupId>
  105. <artifactId>poi-ooxml</artifactId>
  106. <version>4.1.2</version>
  107. </dependency>
  108. <!-- SpringDoc OpenAPI 3 - Spring Boot 2.2.7兼容版本 -->
  109. <dependency>
  110. <groupId>org.springdoc</groupId>
  111. <artifactId>springdoc-openapi-ui</artifactId>
  112. <version>1.6.14</version>
  113. </dependency>
  114. <!--fastjson-->
  115. <dependency>
  116. <groupId>com.alibaba</groupId>
  117. <artifactId>fastjson</artifactId>
  118. <version>1.2.75</version>
  119. </dependency>
  120. <!--JWT-->
  121. <dependency>
  122. <groupId>com.auth0</groupId>
  123. <artifactId>java-jwt</artifactId>
  124. <version>3.14.0</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>io.jsonwebtoken</groupId>
  128. <artifactId>jjwt</artifactId>
  129. <version>0.9.1</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>io.jsonwebtoken</groupId>
  133. <artifactId>jjwt-jackson</artifactId> <!-- or jjwt-gson if Gson is preferred -->
  134. <version>0.11.2</version>
  135. <scope>runtime</scope>
  136. </dependency>
  137. <!-- JAXB API - JDK 11+需要手动添加,因为Java 11移除了javax.xml.bind包 -->
  138. <dependency>
  139. <groupId>javax.xml.bind</groupId>
  140. <artifactId>jaxb-api</artifactId>
  141. <version>2.3.1</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.glassfish.jaxb</groupId>
  145. <artifactId>jaxb-runtime</artifactId>
  146. <version>2.3.1</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.projectlombok</groupId>
  150. <artifactId>lombok</artifactId>
  151. </dependency>
  152. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  153. <dependency>
  154. <groupId>org.apache.commons</groupId>
  155. <artifactId>commons-lang3</artifactId>
  156. <version>3.12.0</version>
  157. </dependency>
  158. <!-- mybatis-plus -->
  159. <dependency>
  160. <groupId>com.baomidou</groupId>
  161. <artifactId>mybatis-plus-boot-starter</artifactId>
  162. <version>3.4.0</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.aspectj</groupId>
  166. <artifactId>aspectjweaver</artifactId>
  167. <version>1.9.6</version>
  168. </dependency>
  169. <!-- hutool 工具类 -->
  170. <dependency>
  171. <groupId>cn.hutool</groupId>
  172. <artifactId>hutool-all</artifactId>
  173. <version>5.7.19</version>
  174. </dependency>
  175. <!-- hutool end -->
  176. <!-- OpenCV for图像处理 - 使用本地定制版本,支持DICOM压缩格式 -->
  177. <dependency>
  178. <groupId>org.opencv</groupId>
  179. <artifactId>opencv-java</artifactId>
  180. <version>4.10.0-3</version>
  181. <scope>system</scope>
  182. <systemPath>${project.basedir}/lib/opencv-java-4.10.0-3.jar</systemPath>
  183. </dependency>
  184. <!-- WebSocket 依赖 -->
  185. <dependency>
  186. <groupId>org.springframework.boot</groupId>
  187. <artifactId>spring-boot-starter-websocket</artifactId>
  188. </dependency>
  189. <!-- WebSocket end -->
  190. <!--mybatisPlus代码生成器-->
  191. <dependency>
  192. <groupId>com.baomidou</groupId>
  193. <artifactId>mybatis-plus-generator</artifactId>
  194. <version>3.5.3.1</version>
  195. </dependency>
  196. <!--mybatisPlus代码生成器freemarker模版-->
  197. <dependency>
  198. <groupId>org.freemarker</groupId>
  199. <artifactId>freemarker</artifactId>
  200. <version>2.3.31</version>
  201. </dependency>
  202. <!-- DICOM解析库 dcm4che - 使用本地 jar 包 -->
  203. <dependency>
  204. <groupId>org.dcm4che</groupId>
  205. <artifactId>dcm4che-core</artifactId>
  206. <version>5.33.1</version>
  207. <scope>system</scope>
  208. <systemPath>${project.basedir}/lib/dcm4che-core-5.33.1.jar</systemPath>
  209. </dependency>
  210. <!-- DICOM ImageIO插件 - 从 Maven 仓库获取 -->
  211. <dependency>
  212. <groupId>org.dcm4che</groupId>
  213. <artifactId>dcm4che-imageio</artifactId>
  214. <version>5.33.1</version>
  215. </dependency>
  216. <!-- DICOM ImageIO OpenCV支持 - 使用本地 jar 包 -->
  217. <dependency>
  218. <groupId>org.dcm4che</groupId>
  219. <artifactId>dcm4che-imageio-opencv</artifactId>
  220. <version>5.33.1</version>
  221. <scope>system</scope>
  222. <systemPath>${project.basedir}/lib/dcm4che-imageio-opencv-5.33.1.jar</systemPath>
  223. </dependency>
  224. </dependencies>
  225. <!-- 配置Maven仓库 -->
  226. <repositories>
  227. <!-- dcm4che官方仓库 -->
  228. <repository>
  229. <id>dcm4che</id>
  230. <name>dcm4che Repository</name>
  231. <url>https://www.dcm4che.org/maven2</url>
  232. <releases>
  233. <enabled>true</enabled>
  234. </releases>
  235. <snapshots>
  236. <enabled>false</enabled>
  237. </snapshots>
  238. </repository>
  239. <!-- 阿里云Maven镜像 -->
  240. <repository>
  241. <id>aliyun-maven</id>
  242. <name>Aliyun Maven Repository</name>
  243. <url>https://maven.aliyun.com/repository/public</url>
  244. <releases>
  245. <enabled>true</enabled>
  246. </releases>
  247. <snapshots>
  248. <enabled>false</enabled>
  249. </snapshots>
  250. </repository>
  251. <!-- 华为云Maven镜像 -->
  252. <repository>
  253. <id>huaweicloud-maven</id>
  254. <name>Huawei Cloud Maven Repository</name>
  255. <url>https://repo.huaweicloud.com/repository/maven/</url>
  256. <releases>
  257. <enabled>true</enabled>
  258. </releases>
  259. <snapshots>
  260. <enabled>false</enabled>
  261. </snapshots>
  262. </repository>
  263. <!-- Maven中央仓库 -->
  264. <repository>
  265. <id>maven-central</id>
  266. <name>Maven Central Repository</name>
  267. <url>https://repo.maven.apache.org/maven2</url>
  268. <releases>
  269. <enabled>true</enabled>
  270. </releases>
  271. <snapshots>
  272. <enabled>false</enabled>
  273. </snapshots>
  274. </repository>
  275. </repositories>
  276. <pluginRepositories>
  277. <pluginRepository>
  278. <id>aliyun-maven-plugin</id>
  279. <name>Aliyun Maven Plugin Repository</name>
  280. <url>https://maven.aliyun.com/repository/public</url>
  281. <releases>
  282. <enabled>true</enabled>
  283. </releases>
  284. <snapshots>
  285. <enabled>false</enabled>
  286. </snapshots>
  287. </pluginRepository>
  288. </pluginRepositories>
  289. <build>
  290. <plugins>
  291. <plugin>
  292. <groupId>org.apache.maven.plugins</groupId>
  293. <artifactId>maven-compiler-plugin</artifactId>
  294. <version>3.8.1</version>
  295. <configuration>
  296. <source>${java.version}</source>
  297. <target>${java.version}</target>
  298. <compilerArgs>
  299. <arg>-parameters</arg>
  300. <arg>--add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
  301. <arg>--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
  302. </compilerArgs>
  303. <fork>true</fork>
  304. <annotationProcessorPaths>
  305. <path>
  306. <groupId>org.projectlombok</groupId>
  307. <artifactId>lombok</artifactId>
  308. <version>1.18.12</version>
  309. </path>
  310. </annotationProcessorPaths>
  311. </configuration>
  312. </plugin>
  313. <plugin>
  314. <groupId>org.apache.maven.plugins</groupId>
  315. <artifactId>maven-surefire-plugin</artifactId>
  316. <configuration>
  317. <skip>true</skip>
  318. </configuration>
  319. </plugin>
  320. <plugin>
  321. <groupId>org.springframework.boot</groupId>
  322. <artifactId>spring-boot-maven-plugin</artifactId>
  323. <configuration>
  324. <excludes>
  325. <exclude>
  326. <groupId>org.projectlombok</groupId>
  327. <artifactId>lombok</artifactId>
  328. </exclude>
  329. </excludes>
  330. <!-- 包含本地依赖的jar文件 -->
  331. <includeSystemScope>true</includeSystemScope>
  332. </configuration>
  333. </plugin>
  334. </plugins>
  335. <resources>
  336. <resource>
  337. <directory>src/main/resources</directory>
  338. <filtering>true</filtering>
  339. </resource>
  340. <resource>
  341. <directory>src/main/java</directory>
  342. <includes>
  343. <include>**/*.xml</include>
  344. </includes>
  345. </resource>
  346. </resources>
  347. </build>
  348. </project>