pom.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501
  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>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>1.5.9.RELEASE</version>
  10. </parent>
  11. <groupId>com.yihu.jw</groupId>
  12. <artifactId>wlyy-parent-pom</artifactId>
  13. <version>2.0.0</version>
  14. <packaging>pom</packaging>
  15. <developers>
  16. <developer>
  17. <id>cwd</id>
  18. <name>陈伟达</name>
  19. <email>494679975@qq.com</email>
  20. <organizationUrl>localhost</organizationUrl>
  21. <roles>
  22. <role>Project programmer</role>
  23. </roles>
  24. </developer>
  25. </developers>
  26. <!--deploy 的时候发布到这个服务器-->
  27. <distributionManagement>
  28. <repository>
  29. <id>jkzlRepositories</id>
  30. <name>jkzlRepositories</name>
  31. <url>http://192.168.1.220:8081/nexus/content/repositories/jkzlRepositories/</url>
  32. </repository>
  33. </distributionManagement>
  34. <!-- 私有仓库 -->
  35. <repositories>
  36. <repository>
  37. <id>public</id>
  38. <name>public</name>
  39. <url>http://192.168.1.220:8081/nexus/content/groups/public/</url>
  40. <releases>
  41. <enabled>true</enabled>
  42. </releases>
  43. <snapshots>
  44. <enabled>false</enabled>
  45. </snapshots>
  46. </repository>
  47. </repositories>
  48. <modules>
  49. <!-- 基础组件服务 -->
  50. <module>../server/svr-configuration</module> <!--配置服务-->
  51. <module>../server/svr-discovery</module><!--发现服务-->
  52. <module>../server/svr-authentication</module> <!-- 认证服务 -->
  53. <!--<module>../server/svr-dashboard</module>--><!--监控服务-->
  54. <module>../server/svr-zipkin</module> <!--分布式追踪服务-->
  55. <!-- 网关服务 -->
  56. <module>../gateway/ag-basic</module> <!-- web网关 -->
  57. <!--业务微服务-->
  58. <module>../svr/svr-base</module><!-- 城市i健康-后台管理端微服务 -->
  59. <module>../svr/svr-patient</module><!-- 城市i健康-居民端微服务 -->
  60. <module>../svr/svr-internet-hospital</module><!-- 互联网医院微服务 -->
  61. <module>../svr/svr-internet-hospital-entrance</module><!-- 互联网医院外部接口微服务 -->
  62. <module>../svr/svr-internet-hospital-job</module><!-- 互联网医院job微服务 -->
  63. <module>../svr/svr-iot</module><!--物联网平台-->
  64. <!--<module>../svr/svr-wlyy</module>--> <!-- i健康微服务 -->
  65. <module>../svr/svr-wlyy-health-bank</module> <!-- 健康银行 -->
  66. <module>../svr/svr-wlyy-specialist</module> <!-- 专科医生 -->
  67. <!--<module>../svr/svr-manage</module>--> <!-- 后台管理系统 -->
  68. <module>../svr/svr-rehabilitation</module> <!--专科医生康复计划-->
  69. <!-- 应用 -->
  70. <module>../app/app-iot-server</module>
  71. <!--<module>../app/public-health-server</module>-->
  72. </modules>
  73. <properties>
  74. <!-- Version start -->
  75. <version.wlyy-common>2.0.0</version.wlyy-common>
  76. <version.jackson>2.8.1</version.jackson>
  77. <verion.fastjson>1.2.17</verion.fastjson>
  78. <version.json>20160212</version.json>
  79. <version.net-json>2.4</version.net-json>
  80. <version.logback>1.2.3</version.logback>
  81. <version.quartz>2.3.0</version.quartz>
  82. <version.swagger>2.7.0</version.swagger>
  83. <version.swagger-ui>2.7.0</version.swagger-ui>
  84. <version.swagger2markup>1.3.2</version.swagger2markup>
  85. <version.springfox-staticdocs>2.6.1</version.springfox-staticdocs>
  86. <version.swagger-annotations>1.5.20</version.swagger-annotations>
  87. <version.springside>4.2.3-GA</version.springside>
  88. <version.zipkin>1.24.0</version.zipkin>
  89. <version.joda-time>2.8.2</version.joda-time>
  90. <version.yihu.admin>1.2.0</version.yihu.admin>
  91. <version.spring-boot-admin>1.5.7</version.spring-boot-admin>
  92. <version.zxing>3.2.0</version.zxing>
  93. <version.fastdfs>1.25</version.fastdfs>
  94. <version.poi>3.17</version.poi>
  95. <version.jxl>2.6.10</version.jxl>
  96. <version.okhttp>3.4.1</version.okhttp>
  97. <version.jackson-dataformat-xml>2.6.6</version.jackson-dataformat-xml>
  98. <!-- Version end -->
  99. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  100. <asciidoctor.maven.plugin.version>1.5.5</asciidoctor.maven.plugin.version>
  101. <asciidoctorj.version>1.5.5</asciidoctorj.version>
  102. <maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
  103. </properties>
  104. <!-- 子配置不写版本默认继承父配置 -->
  105. <dependencyManagement>
  106. <dependencies>
  107. <!-- Spring Cloud -->
  108. <dependency>
  109. <groupId>org.springframework.cloud</groupId>
  110. <artifactId>spring-cloud-dependencies</artifactId>
  111. <version>Edgware.SR4</version>
  112. <type>pom</type>
  113. <scope>import</scope>
  114. </dependency>
  115. <!-- wlyy common -->
  116. <dependency>
  117. <groupId>com.yihu.jw</groupId>
  118. <artifactId>common-fegin</artifactId>
  119. <version>${version.wlyy-common}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.yihu.jw</groupId>
  123. <artifactId>common-entity</artifactId>
  124. <version>${version.wlyy-common}</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.yihu.jw</groupId>
  128. <artifactId>common-entity-es</artifactId>
  129. <version>${version.wlyy-common}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>com.yihu.jw</groupId>
  133. <artifactId>common-request-mapping</artifactId>
  134. <version>${version.wlyy-common}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>com.yihu.jw</groupId>
  138. <artifactId>common-exception</artifactId>
  139. <version>${version.wlyy-common}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.yihu.jw</groupId>
  143. <artifactId>common-rest-model</artifactId>
  144. <version>${version.wlyy-common}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>com.yihu.jw</groupId>
  148. <artifactId>common-rest-model-es</artifactId>
  149. <version>${version.wlyy-common}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.yihu.jw</groupId>
  153. <artifactId>common-util</artifactId>
  154. <version>${version.wlyy-common}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>com.yihu.jw</groupId>
  158. <artifactId>common-web</artifactId>
  159. <version>${version.wlyy-common}</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>com.yihu.jw</groupId>
  163. <artifactId>common-tracer</artifactId>
  164. <version>${version.wlyy-common}</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>com.fasterxml.jackson.dataformat</groupId>
  168. <artifactId>jackson-dataformat-xml</artifactId>
  169. <version>${version.jackson-dataformat-xml}</version>
  170. </dependency>
  171. <!-- Jkzl Starter -->
  172. <dependency>
  173. <groupId>com.yihu</groupId>
  174. <artifactId>swagger-starter</artifactId>
  175. <version>2.0.0</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>com.yihu</groupId>
  179. <artifactId>mysql-starter</artifactId>
  180. <version>2.0.0</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>com.yihu</groupId>
  184. <artifactId>fastdfs-starter</artifactId>
  185. <version>2.0.0</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>com.yihu</groupId>
  189. <artifactId>utils</artifactId> <!-- 此依赖包含大部分常用工具类 -->
  190. <version>2.0.0</version>
  191. </dependency>
  192. <!-- Alibaba -->
  193. <dependency>
  194. <groupId>com.alibaba</groupId>
  195. <artifactId>fastjson</artifactId>
  196. <version>${verion.fastjson}</version>
  197. </dependency>
  198. <!-- Json library -->
  199. <dependency>
  200. <groupId>org.json</groupId>
  201. <artifactId>json</artifactId>
  202. <version>${version.json}</version>
  203. </dependency>
  204. <!-- Net json library -->
  205. <dependency>
  206. <groupId>net.sf.json-lib</groupId>
  207. <artifactId>json-lib</artifactId>
  208. <version>${version.net-json}</version>
  209. </dependency>
  210. <!-- Log start -->
  211. <dependency>
  212. <groupId>ch.qos.logback</groupId>
  213. <artifactId>logback-classic</artifactId>
  214. <version>${version.logback}</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>ch.qos.logback</groupId>
  218. <artifactId>logback-core</artifactId>
  219. <version>${version.logback}</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>ch.qos.logback</groupId>
  223. <artifactId>logback-access</artifactId>
  224. <version>${version.logback}</version>
  225. </dependency>
  226. <!-- Quartz start -->
  227. <dependency>
  228. <groupId>org.quartz-scheduler</groupId>
  229. <artifactId>quartz</artifactId>
  230. <version>${version.quartz}</version>
  231. </dependency>
  232. <dependency>
  233. <groupId>org.quartz-scheduler</groupId>
  234. <artifactId>quartz-jobs</artifactId>
  235. <version>${version.quartz}</version>
  236. </dependency>
  237. <!-- Swagger ui -->
  238. <dependency>
  239. <groupId>io.springfox</groupId>
  240. <artifactId>springfox-swagger2</artifactId>
  241. <version>${version.swagger}</version>
  242. </dependency>
  243. <dependency>
  244. <groupId>io.springfox</groupId>
  245. <artifactId>springfox-swagger-ui</artifactId>
  246. <version>${version.swagger-ui}</version>
  247. </dependency>
  248. <dependency>
  249. <groupId>io.swagger</groupId>
  250. <artifactId>swagger-annotations</artifactId>
  251. <version>${version.swagger-annotations}</version>
  252. </dependency>
  253. <!-- Springside -->
  254. <dependency>
  255. <groupId>org.springside</groupId>
  256. <artifactId>springside-core</artifactId>
  257. <version>${version.springside}</version>
  258. <classifier>GA</classifier>
  259. </dependency>
  260. <!-- poi xml导入导出工具 start-->
  261. <dependency>
  262. <groupId>org.apache.poi</groupId>
  263. <artifactId>poi</artifactId>
  264. <version>${version.poi}</version>
  265. <exclusions>
  266. <exclusion>
  267. <groupId>com.yihu.ehr</groupId>
  268. <artifactId>commons-util</artifactId>
  269. </exclusion>
  270. <exclusion>
  271. <groupId>org.apache.commons</groupId>
  272. <artifactId>commons-collections4</artifactId>
  273. </exclusion>
  274. </exclusions>
  275. </dependency>
  276. <dependency>
  277. <groupId>org.apache.poi</groupId>
  278. <artifactId>poi-ooxml</artifactId>
  279. <version>${version.poi}</version>
  280. </dependency>
  281. <!-- xlsx 依赖这个包 -->
  282. <dependency>
  283. <groupId>org.apache.poi</groupId>
  284. <artifactId>poi-ooxml-schemas</artifactId>
  285. <version>${version.poi}</version>
  286. </dependency>
  287. <dependency>
  288. <groupId>net.sourceforge.jexcelapi</groupId>
  289. <artifactId>jxl</artifactId>
  290. <version>${version.jxl}</version>
  291. </dependency>
  292. <dependency>
  293. <groupId>com.squareup.okhttp3</groupId>
  294. <artifactId>okhttp</artifactId>
  295. <version>${version.okhttp}</version>
  296. </dependency>
  297. <!-- poi xml导入导出工具 end -->
  298. <!-- Zipkin 日志追踪 -->
  299. <!--<dependency>
  300. <groupId>io.zipkin.java</groupId>
  301. <artifactId>zipkin-server</artifactId>
  302. <version>${version.zipkin}</version>
  303. </dependency>
  304. <dependency>
  305. <groupId>io.zipkin.java</groupId>
  306. <artifactId>zipkin-autoconfigure-ui</artifactId>
  307. <version>${version.zipkin}</version>
  308. </dependency>
  309. <dependency>
  310. <groupId>io.zipkin.java</groupId>
  311. <artifactId>zipkin-autoconfigure-storage-elasticsearch-http</artifactId>
  312. <version>${version.zipkin}</version>
  313. </dependency>-->
  314. <!-- Scala -->
  315. <!--<dependency>
  316. <groupId>org.scala-lang</groupId>
  317. <artifactId>scala-library</artifactId>
  318. <version>${version.scala}</version>
  319. </dependency>
  320. <dependency>
  321. <groupId>org.scala-lang</groupId>
  322. <artifactId>scala-compiler</artifactId>
  323. <version>${version.scala}</version>
  324. </dependency>-->
  325. <!-- Joda -->
  326. <!--<dependency>
  327. <groupId>joda-time</groupId>
  328. <artifactId>joda-time</artifactId>
  329. <version>${version.joda-time}</version>
  330. </dependency>-->
  331. <!--服务器监监听-->
  332. <!--<dependency>
  333. <groupId>com.yihu</groupId>
  334. <artifactId>admin-client-starter</artifactId>
  335. <version>${version.yihu.admin}</version>
  336. </dependency>
  337. <dependency>
  338. <groupId>com.yihu</groupId>
  339. <artifactId>admin-server-starter</artifactId>
  340. <version>${version.yihu.admin}</version>
  341. </dependency>
  342. <dependency>
  343. <groupId>com.yihu</groupId>
  344. <artifactId>admin-server-ui-starter</artifactId>
  345. <version>${version.yihu.admin}</version>
  346. </dependency>
  347. <dependency>
  348. <groupId>de.codecentric</groupId>
  349. <artifactId>spring-boot-admin-server</artifactId>
  350. <version>${version.spring-boot-admin}</version>
  351. </dependency>
  352. <dependency>
  353. <groupId>de.codecentric</groupId>
  354. <artifactId>spring-boot-admin-server-ui</artifactId>
  355. <version>${version.spring-boot-admin}</version>
  356. </dependency>
  357. <dependency>
  358. <groupId>de.codecentric</groupId>
  359. <artifactId>spring-boot-admin-server-ui-hystrix</artifactId>
  360. <version>${version.spring-boot-admin}</version>
  361. </dependency>
  362. <dependency>
  363. <groupId>de.codecentric</groupId>
  364. <artifactId>spring-boot-admin-server-ui-turbine</artifactId>
  365. <version>${version.spring-boot-admin}</version>
  366. </dependency>-->
  367. </dependencies>
  368. </dependencyManagement>
  369. <build>
  370. <plugins>
  371. <!--编译插件 start-->
  372. <plugin>
  373. <groupId>org.apache.maven.plugins</groupId>
  374. <artifactId>maven-compiler-plugin</artifactId>
  375. <configuration>
  376. <source>1.8</source>
  377. <target>1.8</target>
  378. <compilerArguments>
  379. <verbose/>
  380. <bootclasspath>${java.home}/lib/rt.jar${path.separator}${java.home}/lib/jce.jar</bootclasspath>
  381. </compilerArguments>
  382. </configuration>
  383. <version>3.1</version>
  384. </plugin>
  385. <plugin>
  386. <groupId>org.apache.maven.plugins</groupId>
  387. <artifactId>maven-source-plugin</artifactId>
  388. <configuration>
  389. <attach>true</attach>
  390. </configuration>
  391. <executions>
  392. <execution>
  393. <phase>compile</phase>
  394. <goals>
  395. <goal>jar</goal>
  396. </goals>
  397. </execution>
  398. </executions>
  399. </plugin>
  400. <!--编译插件 end-->
  401. <plugin>
  402. <groupId>org.asciidoctor</groupId>
  403. <artifactId>asciidoctor-maven-plugin</artifactId>
  404. <version>${asciidoctor.maven.plugin.version}</version>
  405. <configuration>
  406. <sourceDirectory>build</sourceDirectory>
  407. <outputDirectory>doc/${project.version}</outputDirectory>
  408. <headerFooter>true</headerFooter>
  409. <doctype>book</doctype>
  410. <sourceHighlighter>coderay</sourceHighlighter>
  411. <attributes>
  412. <toc>left</toc>
  413. <toclevels>3</toclevels>
  414. <sectnums>true</sectnums>
  415. <revnumber>${project.version}</revnumber>
  416. <revdate>${maven.build.timestamp}</revdate>
  417. <organization>厦门健康之路</organization>
  418. <sourcedir>${project.build.sourceDirectory}</sourcedir>
  419. </attributes>
  420. </configuration>
  421. <executions>
  422. <execution>
  423. <id>output-html</id>
  424. <phase>generate-resources</phase>
  425. <goals>
  426. <goal>process-asciidoc</goal>
  427. </goals>
  428. <configuration>
  429. <backend>html5</backend>
  430. </configuration>
  431. </execution>
  432. <execution>
  433. <id>output-docbook</id>
  434. <phase>generate-resources</phase>
  435. <goals>
  436. <goal>process-asciidoc</goal>
  437. </goals>
  438. <configuration>
  439. <backend>docbook</backend>
  440. </configuration>
  441. </execution>
  442. </executions>
  443. </plugin>
  444. </plugins>
  445. <pluginManagement>
  446. <plugins>
  447. <!--打成war包插件 还需要
  448. 1.配置类继承SpringBootServletInitializer
  449. 2.把所有tomcat相关的包的生命周期改成provide
  450. start-->
  451. <plugin>
  452. <artifactId>maven-war-plugin</artifactId>
  453. <configuration>
  454. <failOnMissingWebXml>false</failOnMissingWebXml>
  455. </configuration>
  456. </plugin>
  457. <!--打成war包插件 end-->
  458. <!--springboot插件 start-->
  459. <plugin>
  460. <groupId>org.springframework.boot</groupId>
  461. <artifactId>spring-boot-maven-plugin</artifactId>
  462. <executions>
  463. <execution>
  464. <goals>
  465. <goal>repackage</goal>
  466. </goals>
  467. </execution>
  468. </executions>
  469. </plugin>
  470. <!--springboot插件 en-->
  471. </plugins>
  472. </pluginManagement>
  473. </build>
  474. </project>