pom.xml 20 KB

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