pom.xml 19 KB

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