pom.xml 12 KB

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