pom.xml 20 KB

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