pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  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>cn.hnthyy</groupId>
  6. <artifactId>thmz</artifactId>
  7. <version>1</version>
  8. <name>thmz</name>
  9. <description>铭和医院门诊收费系统</description>
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>2.1.2.RELEASE</version>
  14. <relativePath/> <!-- lookup parent from repository -->
  15. </parent>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <druid.version>1.1.10</druid.version>
  19. <skipTests>true</skipTests>
  20. </properties>
  21. <dependencies>
  22. <!-- Spring Data Redis -->
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-data-redis</artifactId>
  26. </dependency>
  27. <!-- 如果使用 Redis 连接池 -->
  28. <dependency>
  29. <groupId>org.apache.commons</groupId>
  30. <artifactId>commons-pool2</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-web</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>cn.hutool</groupId>
  42. <artifactId>hutool-all</artifactId>
  43. <version>5.8.10</version>
  44. </dependency>
  45. <!--<dependency>-->
  46. <!--<groupId>org.springframework.cloud</groupId>-->
  47. <!--<artifactId>spring-cloud-starter-consul-discovery</artifactId>-->
  48. <!--</dependency>-->
  49. <!-- spring-boot-actuator依赖,监控系统健康情况的工具 -->
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-actuator</artifactId>
  53. </dependency>
  54. <!-- prometheus依赖 -->
  55. <dependency>
  56. <groupId>io.micrometer</groupId>
  57. <artifactId>micrometer-registry-prometheus</artifactId>
  58. <version>1.6.12</version>
  59. </dependency>
  60. <!--micrometer核心包, 按需引入, 使用Meter注解或手动埋点时需要-->
  61. <dependency>
  62. <groupId>io.micrometer</groupId>
  63. <artifactId>micrometer-core</artifactId>
  64. <version>1.6.12</version>
  65. </dependency>
  66. <!--micrometer获取JVM相关信息, 并展示在Grafana上, 按需引入-->
  67. <dependency>
  68. <groupId>io.github.mweirauch</groupId>
  69. <artifactId>micrometer-jvm-extras</artifactId>
  70. <version>0.2.2</version>
  71. </dependency>
  72. <!-- SpringBoot系统健康情况监控工具 -->
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-actuator</artifactId>
  76. </dependency>
  77. <!-- <dependency>
  78. <groupId>org.mybatis.spring.boot</groupId>
  79. <artifactId>mybatis-spring-boot-starter</artifactId>
  80. <version>2.0.1</version>
  81. </dependency>-->
  82. <dependency>
  83. <groupId>com.baomidou</groupId>
  84. <artifactId>mybatis-plus-boot-starter</artifactId>
  85. <version>3.4.2</version>
  86. </dependency>
  87. <!-- 添加JDBC依赖 重要-->
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-starter-jdbc</artifactId>
  91. <exclusions>
  92. <!--去掉默认的tomcat-jdbc的依赖 重要-->
  93. <exclusion>
  94. <groupId>org.apache.tomcat</groupId>
  95. <artifactId>tomcat-jdbc</artifactId>
  96. </exclusion>
  97. </exclusions>
  98. </dependency>
  99. <!--&lt;!&ndash; 添加 HikariCP数据源 重要&ndash;&gt;-->
  100. <!--<dependency>-->
  101. <!--<groupId>com.zaxxer</groupId>-->
  102. <!--<artifactId>HikariCP</artifactId>-->
  103. <!--</dependency>-->
  104. <!-- 动态切换数据源-->
  105. <!-- <dependency>
  106. <groupId>com.baomidou</groupId>
  107. <artifactId>mybatis-plus-boot-starter</artifactId>
  108. <version>3.2.0</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.baomidou</groupId>
  112. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  113. <version>2.5.6</version>
  114. </dependency>-->
  115. <!-- 动态切换数据源-->
  116. <!-- 添加 druid 数据源 重要-->
  117. <dependency>
  118. <groupId>com.alibaba</groupId>
  119. <artifactId>druid-spring-boot-starter</artifactId>
  120. <version>1.1.20</version>
  121. </dependency>
  122. <!-- 添加 druid 数据源 重要-->
  123. <dependency>
  124. <groupId>com.microsoft.sqlserver</groupId>
  125. <artifactId>mssql-jdbc</artifactId>
  126. <scope>runtime</scope>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.springframework.boot</groupId>
  130. <artifactId>spring-boot-starter-test</artifactId>
  131. <scope>test</scope>
  132. </dependency>
  133. <!--解除HTML严格语法-->
  134. <dependency>
  135. <groupId>net.sourceforge.nekohtml</groupId>
  136. <artifactId>nekohtml</artifactId>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.springframework.boot</groupId>
  140. <artifactId>spring-boot-devtools</artifactId>
  141. <optional>true</optional>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.projectlombok</groupId>
  145. <artifactId>lombok</artifactId>
  146. <version>1.16.10</version>
  147. </dependency>
  148. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  149. <dependency>
  150. <groupId>org.apache.commons</groupId>
  151. <artifactId>commons-lang3</artifactId>
  152. <version>3.9</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.apache.httpcomponents</groupId>
  156. <artifactId>httpclient</artifactId>
  157. <version>4.5.4</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>com.auth0</groupId>
  161. <artifactId>java-jwt</artifactId>
  162. <version>3.4.0</version>
  163. </dependency>
  164. <!-- https://mvnrepository.com/artifact/org.mariadb.jdbc/mariadb-java-client -->
  165. <dependency>
  166. <groupId>org.mariadb.jdbc</groupId>
  167. <artifactId>mariadb-java-client</artifactId>
  168. <version>2.3.0</version>
  169. </dependency>
  170. <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
  171. <dependency>
  172. <groupId>com.google.code.gson</groupId>
  173. <artifactId>gson</artifactId>
  174. <version>2.8.5</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>org.apache.poi</groupId>
  178. <artifactId>poi</artifactId>
  179. <version>5.0.0</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.apache.poi</groupId>
  183. <artifactId>poi-ooxml</artifactId>
  184. <version>5.0.0</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>commons-httpclient</groupId>
  188. <artifactId>commons-httpclient</artifactId>
  189. <version>3.1</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.springframework.boot</groupId>
  193. <artifactId>spring-boot-starter-freemarker</artifactId>
  194. </dependency>
  195. <dependency>
  196. <groupId>wsdl4j</groupId>
  197. <artifactId>wsdl4j</artifactId>
  198. </dependency>
  199. <!-- 引入org.json所需依赖 -->
  200. <dependency>
  201. <groupId>org.json</groupId>
  202. <artifactId>json</artifactId>
  203. <version>20160810</version>
  204. </dependency>
  205. <!--<dependency>-->
  206. <!--<groupId>org.springframework.boot</groupId>-->
  207. <!--<artifactId>spring-boot-starter-activemq</artifactId>-->
  208. <!--</dependency>-->
  209. <!--<dependency>-->
  210. <!--<groupId>org.apache.activemq</groupId>-->
  211. <!--<artifactId>activemq-pool</artifactId>-->
  212. <!--<version>5.14.5</version>-->
  213. <!--</dependency>-->
  214. <!--生成拼音码-->
  215. <dependency>
  216. <groupId>com.belerweb</groupId>
  217. <artifactId>pinyin4j</artifactId>
  218. <version>2.5.1</version>
  219. </dependency>
  220. <dependency>
  221. <!-- websocket -->
  222. <groupId>org.springframework.boot</groupId>
  223. <artifactId>spring-boot-starter-websocket</artifactId>
  224. </dependency>
  225. <!--丁捷的查询检验报告的代码需要的jar-->
  226. <dependency>
  227. <groupId>dom4j</groupId>
  228. <artifactId>dom4j</artifactId>
  229. <version>1.6.1</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.dom4j</groupId>
  233. <artifactId>dom4j</artifactId>
  234. <version>2.1.1</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>org.apache.cxf</groupId>
  238. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  239. <version>3.1.10</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>org.apache.cxf</groupId>
  243. <artifactId>cxf-rt-transports-http</artifactId>
  244. <version>3.1.10</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>org.apache.cxf</groupId>
  248. <artifactId>cxf-rt-transports-http-jetty</artifactId>
  249. <version>3.2.4</version>
  250. </dependency>
  251. <!--丁捷的查询检验报告的代码需要的jar-->
  252. </dependencies>
  253. <dependencyManagement>
  254. <dependencies>
  255. <!-- Spring Cloud -->
  256. <dependency>
  257. <groupId>org.springframework.cloud</groupId>
  258. <artifactId>spring-cloud-dependencies</artifactId>
  259. <version>Greenwich.SR1</version>
  260. <type>pom</type>
  261. <scope>import</scope>
  262. </dependency>
  263. </dependencies>
  264. </dependencyManagement>
  265. <build>
  266. <plugins>
  267. <plugin>
  268. <groupId>org.springframework.boot</groupId>
  269. <artifactId>spring-boot-maven-plugin</artifactId>
  270. <!--springboot 热加载 fork : 如果没有该项配置,肯定devtools不会起作用,即应用不会restart -->
  271. <configuration>
  272. <fork>true</fork>
  273. <mainClass>cn.hnthyy.thmz.ThmzApplication</mainClass>
  274. </configuration>
  275. </plugin>
  276. <!-- 解决程序包com.sun.image.codec.jpeg不存在-->
  277. <plugin>
  278. <artifactId>maven-compiler-plugin</artifactId>
  279. <version>2.5.1</version>
  280. <configuration>
  281. <source>1.8</source>
  282. <target>1.8</target>
  283. <encoding>UTF-8</encoding>
  284. <compilerArguments>
  285. <verbose/>
  286. <bootclasspath>${java.home}\lib\rt.jar;${java.home}\lib\jce.jar</bootclasspath>
  287. </compilerArguments>
  288. </configuration>
  289. </plugin>
  290. </plugins>
  291. <resources>
  292. <resource>
  293. <directory>src/main/resources</directory>
  294. <filtering>true</filtering>
  295. <excludes>
  296. <exclude>static/css/font-awesome/fonts/FontAwesome.otf</exclude>
  297. <exclude>static/css/font-awesome/fonts/fontawesome-webfont.eot</exclude>
  298. <exclude>static/css/font-awesome/fonts/fontawesome-webfont.svg</exclude>
  299. <exclude>static/css/font-awesome/fonts/fontawesome-webfont.ttf</exclude>
  300. <exclude>static/css/font-awesome/fonts/fontawesome-webfont.woff</exclude>
  301. <exclude>static/css/font-awesome/fonts/fontawesome-webfont.woff2</exclude>
  302. <exclude>static/css/bootstrap/fonts/**</exclude>
  303. </excludes>
  304. </resource>
  305. <resource>
  306. <directory>src/main/resources</directory>
  307. <filtering>false</filtering>
  308. <includes>
  309. <include>static/css/font-awesome/fonts/FontAwesome.otf</include>
  310. <include>static/css/font-awesome/fonts/fontawesome-webfont.eot</include>
  311. <include>static/css/font-awesome/fonts/fontawesome-webfont.svg</include>
  312. <include>static/css/font-awesome/fonts/fontawesome-webfont.ttf</include>
  313. <include>static/css/font-awesome/fonts/fontawesome-webfont.woff</include>
  314. <include>static/css/font-awesome/fonts/fontawesome-webfont.woff2</include>
  315. <include>static/css/bootstrap/fonts/**</include>
  316. </includes>
  317. </resource>
  318. </resources>
  319. </build>
  320. </project>