pom.xml 12 KB

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