pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  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. <parent>
  7. <groupId>com.yihu.jw</groupId>
  8. <artifactId>wlyy-parent-pom</artifactId>
  9. <version>2.4.1</version>
  10. <relativePath>../../wlyy-parent-pom/pom.xml</relativePath>
  11. </parent>
  12. <groupId>com.yihu.jw</groupId>
  13. <artifactId>svr-internet-hospital-entrance</artifactId>
  14. <packaging>jar</packaging>
  15. <version>${project.parent.version}</version>
  16. <dependencies>
  17. <!-- <dependency>-->
  18. <!-- <groupId>com.icbc.cop</groupId>-->
  19. <!-- <artifactId>icbc-api-sdk-cop</artifactId>-->
  20. <!-- <version>1</version>-->
  21. <!-- </dependency>-->
  22. <!-- <dependency>-->
  23. <!-- <groupId>com.icbc.io</groupId>-->
  24. <!-- <artifactId>icbc-api-sdk-cop-io</artifactId>-->
  25. <!-- <version>1</version>-->
  26. <!-- </dependency>-->
  27. <!-- <dependency>-->
  28. <!-- <groupId>com.icbc.ca</groupId>-->
  29. <!-- <artifactId>icbc-ca</artifactId>-->
  30. <!-- <version>1</version>-->
  31. <!-- </dependency>-->
  32. <!-- <dependency>-->
  33. <!-- <groupId>com.icbc.hsm</groupId>-->
  34. <!-- <artifactId>hsm-software-share</artifactId>-->
  35. <!-- <version>1</version>-->
  36. <!-- </dependency>-->
  37. <!-- <dependency>-->
  38. <!-- <groupId>com.icbc.jdk</groupId>-->
  39. <!-- <artifactId>InfosecCrypto_Java1_02_JDK14</artifactId>-->
  40. <!-- <version>1</version>-->
  41. <!-- </dependency>-->
  42. <!-- 支持Tomcat启动 -->
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-web</artifactId>
  46. <exclusions>
  47. <exclusion>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-tomcat</artifactId>
  50. </exclusion>
  51. </exclusions>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-tomcat</artifactId>
  56. <scope>provided</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>javax.servlet</groupId>
  60. <artifactId>javax.servlet-api</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.apache.tomcat.embed</groupId>
  64. <artifactId>tomcat-embed-jasper</artifactId>
  65. </dependency>
  66. <!-- 支持Tomcat启动 -->
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-activemq</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.alibaba</groupId>
  73. <artifactId>fastjson</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.json</groupId>
  77. <artifactId>json</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>net.sf.json-lib</groupId>
  81. <artifactId>json-lib</artifactId>
  82. <version>2.4</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.yihu.jw</groupId>
  86. <artifactId>common-entity</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.yihu.jw</groupId>
  90. <artifactId>common-rest-model</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.yihu.jw</groupId>
  94. <artifactId>common-request-mapping</artifactId>
  95. </dependency>
  96. <dependency>
  97. <groupId>com.yihu.jw</groupId>
  98. <artifactId>common-exception</artifactId>
  99. </dependency>
  100. <!--<dependency>-->
  101. <!--<groupId>com.yihu.jw</groupId>-->
  102. <!--<artifactId>common-util</artifactId>-->
  103. <!--</dependency>-->
  104. <dependency>
  105. <groupId>com.yihu.jw</groupId>
  106. <artifactId>im-service</artifactId>
  107. <version>${version.wlyy-common}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.yihu.jw</groupId>
  111. <artifactId>common-web</artifactId>
  112. </dependency>
  113. <!-- Jzkl Starter -->
  114. <dependency>
  115. <groupId>com.yihu.jw</groupId>
  116. <artifactId>swagger-starter</artifactId>
  117. <version>${version.wlyy-common}</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>com.yihu.jw</groupId>
  121. <artifactId>mysql-starter</artifactId>
  122. <version>${version.wlyy-common}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.springframework.security</groupId>
  126. <artifactId>spring-security-core</artifactId>
  127. <version>RELEASE</version>
  128. <scope>compile</scope>
  129. </dependency>
  130. <!-- poi xml导入导出工具 end -->
  131. <!--基础业务组件-->
  132. <dependency>
  133. <groupId>com.yihu.jw</groupId>
  134. <artifactId>base-service</artifactId>
  135. <version>${version.wlyy-common}</version>
  136. <exclusions>
  137. <exclusion>
  138. <groupId>xalan</groupId>
  139. <artifactId>xalan</artifactId>
  140. </exclusion>
  141. <exclusion>
  142. <artifactId>javax.el</artifactId>
  143. <groupId>org.glassfish</groupId>
  144. </exclusion>
  145. <exclusion>
  146. <artifactId>cron-utils</artifactId>
  147. <groupId>com.cronutils</groupId>
  148. </exclusion>
  149. </exclusions>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.yihu.jw</groupId>
  153. <artifactId>sms-service</artifactId>
  154. <version>${version.wlyy-common}</version>
  155. <scope>compile</scope>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.junit.platform</groupId>
  159. <artifactId>junit-platform-commons</artifactId>
  160. <version>1.3.2</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>com.his.hesb</groupId>
  164. <artifactId>mqSdk</artifactId>
  165. <version>1.0</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>xom</groupId>
  169. <artifactId>xom</artifactId>
  170. <version>1.2.5</version>
  171. <exclusions>
  172. <exclusion>
  173. <artifactId>xalan</artifactId>
  174. <groupId>xalan</groupId>
  175. </exclusion>
  176. </exclusions>
  177. </dependency>
  178. <dependency>
  179. <groupId>org.springframework.boot</groupId>
  180. <artifactId>spring-boot-starter-data-redis</artifactId>
  181. </dependency>
  182. <!--oracle驱动-->
  183. <dependency>
  184. <groupId>com.oracle</groupId>
  185. <artifactId>ojdbc6</artifactId>
  186. <version>11.2.0.3</version>
  187. </dependency>
  188. <!-- 添加dm8 jdbc jar 包依赖-->
  189. <dependency>
  190. <groupId>com.dameng</groupId>
  191. <artifactId>DmJdbcDriver18</artifactId>
  192. <version>${version.dmdb}</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>com.dameng</groupId>
  196. <artifactId>DmDialect-for-hibernate5.6</artifactId>
  197. <version>8.1.3.62</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>com</groupId>
  201. <artifactId>sqlserver</artifactId>
  202. <version>4.0</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>com.microsoft.sqlserver</groupId>
  206. <artifactId>mssql-jdbc</artifactId>
  207. <version>6.1.0.jre8</version>
  208. </dependency>
  209. <!-- 基卫统一平台接口 -->
  210. <dependency>
  211. <groupId>sehrCrypto</groupId>
  212. <artifactId>sehrCrypto</artifactId>
  213. <version>1.0.0</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>com.zoesoft</groupId>
  217. <artifactId>phip-ssp-sdk</artifactId>
  218. <version>1.4.0</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>com.zoesoft</groupId>
  222. <artifactId>zoe-crypto</artifactId>
  223. <version>1.4.0</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>net.java.dev.jna</groupId>
  227. <artifactId>jna</artifactId>
  228. <version>4.2.2</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>com.zoesoft</groupId>
  232. <artifactId>zoe-encrypt-sm</artifactId>
  233. <version>1.0</version>
  234. </dependency>
  235. </dependencies>
  236. <build>
  237. <finalName>svr-internet-hospital-entrance</finalName>
  238. <plugins>
  239. <plugin>
  240. <groupId>org.apache.maven.plugins</groupId>
  241. <artifactId>maven-jar-plugin</artifactId>
  242. <configuration>
  243. <archive>
  244. <!-- 生成的jar中,不要包含pom.xml和pom.properties这两个文件 -->
  245. <addMavenDescriptor>false</addMavenDescriptor>
  246. <manifest>
  247. <!-- 是否要把第三方jar加入到类构建路径 -->
  248. <addClasspath>true</addClasspath>
  249. <!-- 外部依赖jar包的最终位置 -->
  250. <classpathPrefix>lib/</classpathPrefix>
  251. <mainClass>com.yihu.SvrInternetHospitalEntranceApplication</mainClass>
  252. </manifest>
  253. </archive>
  254. </configuration>
  255. </plugin>
  256. <!--拷贝依赖到jar外面的lib目录-->
  257. <plugin>
  258. <groupId>org.apache.maven.plugins</groupId>
  259. <artifactId>maven-dependency-plugin</artifactId>
  260. <executions>
  261. <execution>
  262. <id>copy-lib</id>
  263. <phase>package</phase>
  264. <goals>
  265. <goal>copy-dependencies</goal>
  266. </goals>
  267. <configuration>
  268. <!-- 依赖包输出目录,将来不打进jar包里 -->
  269. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  270. <excludeTransitive>false</excludeTransitive>
  271. <stripVersion>false</stripVersion>
  272. <includeScope>compile</includeScope>
  273. </configuration>
  274. </execution>
  275. </executions>
  276. </plugin>
  277. <!--指定配置文件,将resources打成外部resource-->
  278. <plugin>
  279. <groupId>org.apache.maven.plugins</groupId>
  280. <artifactId>maven-jar-plugin</artifactId>
  281. <configuration>
  282. <archive>
  283. <!-- 指定配置文件目录,这样jar运行时会去找到同目录下的resources文件夹下查找 -->
  284. <manifestEntries>
  285. <Class-Path>resources/</Class-Path>
  286. </manifestEntries>
  287. </archive>
  288. <!-- 打包时忽略的文件(也就是不打进jar包里的文件) -->
  289. <excludes>
  290. <exclude>**/*.yml</exclude>
  291. <exclude>**/*.xml</exclude>
  292. </excludes>
  293. </configuration>
  294. </plugin>
  295. <!-- 拷贝资源文件 外面的resource目录-->
  296. <plugin>
  297. <artifactId>maven-resources-plugin</artifactId>
  298. <executions>
  299. <execution>
  300. <id>copy-dependencies</id>
  301. <phase>package</phase>
  302. <goals>
  303. <goal>copy-resources</goal>
  304. </goals>
  305. <configuration>
  306. <!-- 资源文件输出目录 -->
  307. <outputDirectory>${project.build.directory}/resources</outputDirectory>
  308. <resources>
  309. <resource>
  310. <directory>src/main/resources</directory>
  311. </resource>
  312. </resources>
  313. </configuration>
  314. </execution>
  315. </executions>
  316. </plugin>
  317. </plugins>
  318. <resources>
  319. <resource>
  320. <directory>src</directory>
  321. <!-- 此配置不可缺,否则mybatis的Mapper.xml将会丢失 -->
  322. <includes>
  323. <include>**/*.xml</include>
  324. </includes>
  325. </resource>
  326. <!--指定资源的位置-->
  327. <resource>
  328. <directory>src/main/resources</directory>
  329. <includes>
  330. <include>**/*.yml</include>
  331. <include>**/*.html</include>
  332. <include>**/*.xml</include>
  333. <include>**/*.properties</include>
  334. </includes>
  335. </resource>
  336. </resources>
  337. </build>
  338. </project>