pom.xml 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653
  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>2.3.9.RELEASE</version>
  10. </parent>
  11. <groupId>com.yihu.jw</groupId>
  12. <artifactId>wlyy-parent-pom</artifactId>
  13. <version>2.4.0</version>
  14. <packaging>pom</packaging>
  15. <developers>
  16. <developer>
  17. <id>yeshijie</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-basic</module> <!--总支撑+esb-->
  60. <module>../svr/svr-standard</module> <!--总支撑+esb-->
  61. <module>../svr/svr-internet-hospital</module> <!--互联网医院微服务-->
  62. <module>../svr/svr-internet-hospital-entrance</module> <!--互联网医院外部接口微服务-->
  63. <module>../svr/svr-internet-hospital-job</module> <!--互联网医院job微服务-->
  64. <!-- <module>../svr/svr-iot</module>&lt;!&ndash;物联网平台&ndash;&gt;-->
  65. <!-- <module>../svr/svr-wlyy</module> &lt;!&ndash; i健康微服务&ndash;&gt;-->
  66. <!-- <module>../svr/svr-wlyy-health-bank</module> &lt;!&ndash; 健康银行&ndash;&gt;-->
  67. <!-- <module>../svr/svr-wlyy-specialist</module> &lt;!&ndash; 专科医生&ndash;&gt;-->
  68. <!-- <module>../svr/svr-manage</module> 后台管理系统-->
  69. <module>../svr/svr-rehabilitation</module> <!--专科医生康复计划-->
  70. <module>../svr/svr-quota</module> <!--城市i健康-后台管理端微服务-->
  71. <module>../svr/svr-manage</module> <!--城市i健康-后台管理端微服务-->
  72. <module>../svr/svr-statistics-hlw</module> <!--城市i健康-后台管理端微服务-->
  73. <module>../svr/svr-standard</module>
  74. <module>../svr/svr-resource</module>
  75. <module>../svr/svr-visitbehind</module><!--诊后服务-->
  76. </modules>
  77. <properties>
  78. <!-- Version start -->
  79. <version.spring-cloud>Hoxton.SR12</version.spring-cloud>
  80. <version.wlyy-common>2.4.0</version.wlyy-common>
  81. <version.yihu-common>2.0.0</version.yihu-common>
  82. <version.jackson>2.8.10</version.jackson>
  83. <verion.fastjson>1.2.83</verion.fastjson>
  84. <version.json>20220320</version.json>
  85. <version.net-json>2.4</version.net-json>
  86. <version.logback>1.2.3</version.logback>
  87. <version.quartz>2.2.3</version.quartz>
  88. <version.swagger>2.7.0</version.swagger>
  89. <version.swagger-ui>2.7.0</version.swagger-ui>
  90. <version.swagger2markup>1.3.2</version.swagger2markup>
  91. <version.springfox-staticdocs>2.6.1</version.springfox-staticdocs>
  92. <version.swagger-annotations>1.5.20</version.swagger-annotations>
  93. <version.springside>4.2.3-GA</version.springside>
  94. <version.zipkin>1.24.0</version.zipkin>
  95. <version.joda-time>2.8.2</version.joda-time>
  96. <version.yihu.admin>1.2.0</version.yihu.admin>
  97. <version.spring-boot-admin>1.5.7</version.spring-boot-admin>
  98. <version.zxing>3.2.0</version.zxing>
  99. <version.zip4j>1.3.2</version.zip4j>
  100. <version.pinyin4j>2.5.0</version.pinyin4j>
  101. <version.commons-net>3.3</version.commons-net>
  102. <version.fastdfs>1.27</version.fastdfs>
  103. <version.poi>3.17</version.poi>
  104. <version.jxl>2.6.10</version.jxl>
  105. <version.okhttp>4.10.0</version.okhttp>
  106. <version.jackson-dataformat-xml>2.6.6</version.jackson-dataformat-xml>
  107. <version.mysql>8.0.23</version.mysql>
  108. <version.commons-dbcp2>2.1.1</version.commons-dbcp2>
  109. <version.commons-lang3>3.4</version.commons-lang3>
  110. <version.commons.collections>3.2.2</version.commons.collections>
  111. <version.commons-fileupload>1.3.1</version.commons-fileupload>
  112. <version.commons-discovery>0.5</version.commons-discovery>
  113. <version.commons-io>2.4</version.commons-io>
  114. <version.hibernate>5.0.12.Final</version.hibernate>
  115. <version.hibernate-validator>6.0.10.Final</version.hibernate-validator>
  116. <version.hibernate-jpa-api>1.0.0.Final</version.hibernate-jpa-api>
  117. <version.elasticsearch>2.4.6</version.elasticsearch>
  118. <version.elasticsearch-sql>2.4.1.0</version.elasticsearch-sql>
  119. <version.data-elasticsearch>2.1.3.RELEASE</version.data-elasticsearch>
  120. <version.jest>2.4.0</version.jest>
  121. <version.druid>1.1.21</version.druid>
  122. <version.jna>4.1.0</version.jna>
  123. <version.commons-dbutils>1.6</version.commons-dbutils>
  124. <version.hbase-client>2.2.4</version.hbase-client>
  125. <version.spring-data-hadoop>2.2.0.RELEASE</version.spring-data-hadoop>
  126. <version.spring-data-solr>2.1.3.RELEASE</version.spring-data-solr>
  127. <version.bcprov-jdk15on>1.59</version.bcprov-jdk15on>
  128. <version.json-lib>2.4</version.json-lib>
  129. <version.pinyin4j>2.5.0</version.pinyin4j>
  130. <version.cat>2.0.0</version.cat>
  131. <version.feign-okhttp>9.3.1</version.feign-okhttp>
  132. <version.oracle>11.2.0.3</version.oracle>
  133. <version.jpinyin>1.1.8</version.jpinyin>
  134. <version.jave-ffmpegjave>1.0.4</version.jave-ffmpegjave>
  135. <version.ylz-onepay>20190425</version.ylz-onepay>
  136. <version.jsoup>1.11.2</version.jsoup>
  137. <version.xom>1.2.5</version.xom>
  138. <version.axis>1.4</version.axis>
  139. <version.rpc-api>1.1.1</version.rpc-api>
  140. <version.wsdl4j>1.6.2</version.wsdl4j>
  141. <version.assertj>2.5.0</version.assertj>
  142. <version.guava>28.2-jre</version.guava>
  143. <version.lombok>1.18.8</version.lombok>
  144. <version.ylz-loginsdk>1.0</version.ylz-loginsdk>
  145. <version.kaptcha>2.3</version.kaptcha>
  146. <version.jiguang-common>1.1.9</version.jiguang-common>
  147. <version.jpush-client>3.4.8</version.jpush-client>
  148. <version.tencentcloudapi>3.1.272</version.tencentcloudapi>
  149. <!-- Version end -->
  150. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  151. <asciidoctor.maven.plugin.version>1.5.5</asciidoctor.maven.plugin.version>
  152. <asciidoctorj.version>1.5.5</asciidoctorj.version>
  153. <maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
  154. </properties>
  155. <!-- 子配置不写版本默认继承父配置 -->
  156. <dependencyManagement>
  157. <dependencies>
  158. <!-- Spring Cloud -->
  159. <dependency>
  160. <groupId>org.springframework.cloud</groupId>
  161. <artifactId>spring-cloud-dependencies</artifactId>
  162. <version>${version.spring-cloud}</version>
  163. <type>pom</type>
  164. <scope>import</scope>
  165. </dependency>
  166. <!-- wlyy common -->
  167. <dependency>
  168. <groupId>com.yihu.jw</groupId>
  169. <artifactId>common-fegin</artifactId>
  170. <version>${version.wlyy-common}</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>com.yihu.jw</groupId>
  174. <artifactId>common-entity</artifactId>
  175. <version>${version.wlyy-common}</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>com.yihu.jw</groupId>
  179. <artifactId>common-data-elasticsearch</artifactId>
  180. <version>${version.wlyy-common}</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>com.yihu.jw</groupId>
  184. <artifactId>common-entity-es</artifactId>
  185. <version>${version.wlyy-common}</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>com.yihu.jw</groupId>
  189. <artifactId>common-request-mapping</artifactId>
  190. <version>${version.wlyy-common}</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>com.yihu.jw</groupId>
  194. <artifactId>common-exception</artifactId>
  195. <version>${version.wlyy-common}</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>com.yihu.jw</groupId>
  199. <artifactId>common-rest-model</artifactId>
  200. <version>${version.wlyy-common}</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>com.yihu.jw</groupId>
  204. <artifactId>common-rest-model-es</artifactId>
  205. <version>${version.wlyy-common}</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>com.yihu.jw</groupId>
  209. <artifactId>common-util</artifactId>
  210. <version>${version.wlyy-common}</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>com.yihu.jw</groupId>
  214. <artifactId>common-web</artifactId>
  215. <version>${version.wlyy-common}</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>com.yihu.jw</groupId>
  219. <artifactId>commons-cat</artifactId>
  220. <version>${version.wlyy-common}</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>com.yihu.jw</groupId>
  224. <artifactId>commons-data-query</artifactId>
  225. <version>${version.wlyy-common}</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>com.yihu.jw</groupId>
  229. <artifactId>commons-data-hbase</artifactId>
  230. <version>${version.wlyy-common}</version>
  231. </dependency>
  232. <!-- <dependency>
  233. <groupId>com.yihu.jw</groupId>
  234. <artifactId>commons-entity</artifactId>
  235. <version>${version.wlyy-common}</version>
  236. </dependency>-->
  237. <dependency>
  238. <groupId>com.yihu.jw</groupId>
  239. <artifactId>commons-data-solr</artifactId>
  240. <version>${version.wlyy-common}</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>com.yihu.jw</groupId>
  244. <artifactId>ccommons-data-elasticsearch</artifactId>
  245. <version>${version.wlyy-common}</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>com.yihu.jw</groupId>
  249. <artifactId>common-tracer</artifactId>
  250. <version>${version.wlyy-common}</version>
  251. </dependency>
  252. <dependency>
  253. <groupId>com.fasterxml.jackson.dataformat</groupId>
  254. <artifactId>jackson-dataformat-xml</artifactId>
  255. <version>${version.jackson-dataformat-xml}</version>
  256. </dependency>
  257. <dependency>
  258. <groupId>com.yihu.jw</groupId>
  259. <artifactId>commons-data-fastdfs</artifactId>
  260. <version>${version.wlyy-common}</version>
  261. </dependency>
  262. <!-- 医疗云 Starter -->
  263. <dependency>
  264. <groupId>com.yihu.jw</groupId>
  265. <artifactId>commons-data-fastdfs</artifactId>
  266. <version>${version.wlyy-common}</version>
  267. </dependency>
  268. <dependency>
  269. <groupId>com.yihu.jw</groupId>
  270. <artifactId>commons-data-mysql</artifactId>
  271. <version>${version.wlyy-common}</version>
  272. </dependency>
  273. <dependency>
  274. <groupId>com.yihu.jw</groupId>
  275. <artifactId>commons-data-redis</artifactId>
  276. <version>${version.wlyy-common}</version>
  277. </dependency>
  278. <dependency>
  279. <groupId>com.yihu.jw</groupId>
  280. <artifactId>commons-ehr-constants</artifactId>
  281. <version>${version.wlyy-common}</version>
  282. </dependency>
  283. <dependency>
  284. <groupId>com.yihu.jw</groupId>
  285. <artifactId>commons-data-redis</artifactId>
  286. <version>${version.wlyy-common}</version>
  287. </dependency>
  288. <dependency>
  289. <groupId>com.yihu.jw</groupId>
  290. <artifactId>commons-ehr-constants</artifactId>
  291. <version>${version.wlyy-common}</version>
  292. </dependency>
  293. <dependency>
  294. <groupId>com.yihu.jw</groupId>
  295. <artifactId>commons-profile-core</artifactId>
  296. <version>${version.wlyy-common}</version>
  297. </dependency>
  298. <dependency>
  299. <groupId>com.yihu.jw</groupId>
  300. <artifactId>commons-rest-model</artifactId>
  301. <version>${version.wlyy-common}</version>
  302. </dependency>
  303. <dependency>
  304. <groupId>com.yihu.jw</groupId>
  305. <artifactId>commons-ui-swagger</artifactId>
  306. <version>${version.wlyy-common}</version>
  307. </dependency>
  308. <dependency>
  309. <groupId>com.yihu.jw</groupId>
  310. <artifactId>commons-util</artifactId>
  311. <version>${version.wlyy-common}</version>
  312. </dependency>
  313. <dependency>
  314. <groupId>com.yihu.jw</groupId>
  315. <artifactId>commons-web</artifactId>
  316. <version>${version.wlyy-common}</version>
  317. </dependency>
  318. <dependency>
  319. <groupId>com.yihu.jw</groupId>
  320. <artifactId>commons-cat</artifactId>
  321. <version>${version.wlyy-common}</version>
  322. </dependency>
  323. <!-- Jkzl Starter -->
  324. <dependency>
  325. <groupId>com.yihu</groupId>
  326. <artifactId>swagger-starter</artifactId>
  327. <version>${version.yihu-common}</version>
  328. </dependency>
  329. <dependency>
  330. <groupId>com.yihu.jw</groupId>
  331. <artifactId>mysql-starter</artifactId>
  332. <version>${version.wlyy-common}</version>
  333. </dependency>
  334. <dependency>
  335. <groupId>com.yihu</groupId>
  336. <artifactId>fastdfs-starter</artifactId>
  337. <version>${version.yihu-common}</version>
  338. </dependency>
  339. <dependency>
  340. <groupId>com.yihu</groupId>
  341. <artifactId>utils</artifactId> <!-- 此依赖包含大部分常用工具类 -->
  342. <version>${version.yihu-common}</version>
  343. </dependency>
  344. <!-- Alibaba -->
  345. <dependency>
  346. <groupId>com.alibaba</groupId>
  347. <artifactId>fastjson</artifactId>
  348. <version>${verion.fastjson}</version>
  349. </dependency>
  350. <!-- Json library -->
  351. <dependency>
  352. <groupId>org.json</groupId>
  353. <artifactId>json</artifactId>
  354. <version>${version.json}</version>
  355. </dependency>
  356. <!-- Net json library -->
  357. <dependency>
  358. <groupId>net.sf.json-lib</groupId>
  359. <artifactId>json-lib</artifactId>
  360. <version>${version.net-json}</version>
  361. </dependency>
  362. <!-- Log start -->
  363. <dependency>
  364. <groupId>ch.qos.logback</groupId>
  365. <artifactId>logback-classic</artifactId>
  366. <version>${version.logback}</version>
  367. </dependency>
  368. <dependency>
  369. <groupId>ch.qos.logback</groupId>
  370. <artifactId>logback-core</artifactId>
  371. <version>${version.logback}</version>
  372. </dependency>
  373. <dependency>
  374. <groupId>ch.qos.logback</groupId>
  375. <artifactId>logback-access</artifactId>
  376. <version>${version.logback}</version>
  377. </dependency>
  378. <!-- Quartz start -->
  379. <dependency>
  380. <groupId>org.quartz-scheduler</groupId>
  381. <artifactId>quartz</artifactId>
  382. <version>${version.quartz}</version>
  383. </dependency>
  384. <dependency>
  385. <groupId>org.quartz-scheduler</groupId>
  386. <artifactId>quartz-jobs</artifactId>
  387. <version>${version.quartz}</version>
  388. </dependency>
  389. <!-- Swagger ui -->
  390. <dependency>
  391. <groupId>io.springfox</groupId>
  392. <artifactId>springfox-swagger2</artifactId>
  393. <version>${version.swagger}</version>
  394. </dependency>
  395. <dependency>
  396. <groupId>io.springfox</groupId>
  397. <artifactId>springfox-swagger-ui</artifactId>
  398. <version>${version.swagger-ui}</version>
  399. </dependency>
  400. <dependency>
  401. <groupId>io.swagger</groupId>
  402. <artifactId>swagger-annotations</artifactId>
  403. <version>${version.swagger-annotations}</version>
  404. </dependency>
  405. <!-- Springside -->
  406. <dependency>
  407. <groupId>org.springside</groupId>
  408. <artifactId>springside-core</artifactId>
  409. <version>${version.springside}</version>
  410. <classifier>GA</classifier>
  411. </dependency>
  412. <!-- poi xml导入导出工具 start-->
  413. <dependency>
  414. <groupId>org.apache.poi</groupId>
  415. <artifactId>poi</artifactId>
  416. <version>${version.poi}</version>
  417. <exclusions>
  418. <exclusion>
  419. <groupId>com.yihu.ehr</groupId>
  420. <artifactId>commons-util</artifactId>
  421. </exclusion>
  422. <exclusion>
  423. <groupId>org.apache.commons</groupId>
  424. <artifactId>commons-collections4</artifactId>
  425. </exclusion>
  426. </exclusions>
  427. </dependency>
  428. <dependency>
  429. <groupId>org.apache.poi</groupId>
  430. <artifactId>poi-ooxml</artifactId>
  431. <version>${version.poi}</version>
  432. </dependency>
  433. <!-- xlsx 依赖这个包 -->
  434. <dependency>
  435. <groupId>org.apache.poi</groupId>
  436. <artifactId>poi-ooxml-schemas</artifactId>
  437. <version>${version.poi}</version>
  438. </dependency>
  439. <dependency>
  440. <groupId>net.sourceforge.jexcelapi</groupId>
  441. <artifactId>jxl</artifactId>
  442. <version>${version.jxl}</version>
  443. </dependency>
  444. <dependency>
  445. <groupId>com.squareup.okhttp3</groupId>
  446. <artifactId>okhttp</artifactId>
  447. <version>${version.okhttp}</version>
  448. </dependency>
  449. <!-- poi xml导入导出工具 end -->
  450. <!-- Zipkin 日志追踪 -->
  451. <!--<dependency>
  452. <groupId>io.zipkin.java</groupId>
  453. <artifactId>zipkin-server</artifactId>
  454. <version>${version.zipkin}</version>
  455. </dependency>
  456. <dependency>
  457. <groupId>io.zipkin.java</groupId>
  458. <artifactId>zipkin-autoconfigure-ui</artifactId>
  459. <version>${version.zipkin}</version>
  460. </dependency>
  461. <dependency>
  462. <groupId>io.zipkin.java</groupId>
  463. <artifactId>zipkin-autoconfigure-storage-elasticsearch-http</artifactId>
  464. <version>${version.zipkin}</version>
  465. </dependency>-->
  466. <!-- Scala -->
  467. <!--<dependency>
  468. <groupId>org.scala-lang</groupId>
  469. <artifactId>scala-library</artifactId>
  470. <version>${version.scala}</version>
  471. </dependency>
  472. <dependency>
  473. <groupId>org.scala-lang</groupId>
  474. <artifactId>scala-compiler</artifactId>
  475. <version>${version.scala}</version>
  476. </dependency>-->
  477. <!-- Joda -->
  478. <!--<dependency>
  479. <groupId>joda-time</groupId>
  480. <artifactId>joda-time</artifactId>
  481. <version>${version.joda-time}</version>
  482. </dependency>-->
  483. <!--服务器监监听-->
  484. <!--<dependency>
  485. <groupId>com.yihu</groupId>
  486. <artifactId>admin-client-starter</artifactId>
  487. <version>${version.yihu.admin}</version>
  488. </dependency>
  489. <dependency>
  490. <groupId>com.yihu</groupId>
  491. <artifactId>admin-server-starter</artifactId>
  492. <version>${version.yihu.admin}</version>
  493. </dependency>
  494. <dependency>
  495. <groupId>com.yihu</groupId>
  496. <artifactId>admin-server-ui-starter</artifactId>
  497. <version>${version.yihu.admin}</version>
  498. </dependency>
  499. <dependency>
  500. <groupId>de.codecentric</groupId>
  501. <artifactId>spring-boot-admin-server</artifactId>
  502. <version>${version.spring-boot-admin}</version>
  503. </dependency>
  504. <dependency>
  505. <groupId>de.codecentric</groupId>
  506. <artifactId>spring-boot-admin-server-ui</artifactId>
  507. <version>${version.spring-boot-admin}</version>
  508. </dependency>
  509. <dependency>
  510. <groupId>de.codecentric</groupId>
  511. <artifactId>spring-boot-admin-server-ui-hystrix</artifactId>
  512. <version>${version.spring-boot-admin}</version>
  513. </dependency>
  514. <dependency>
  515. <groupId>de.codecentric</groupId>
  516. <artifactId>spring-boot-admin-server-ui-turbine</artifactId>
  517. <version>${version.spring-boot-admin}</version>
  518. </dependency>-->
  519. </dependencies>
  520. </dependencyManagement>
  521. <build>
  522. <plugins>
  523. <!--编译插件 start-->
  524. <plugin>
  525. <groupId>org.apache.maven.plugins</groupId>
  526. <artifactId>maven-compiler-plugin</artifactId>
  527. <configuration>
  528. <source>1.8</source>
  529. <target>1.8</target>
  530. <compilerArguments>
  531. <verbose/>
  532. <bootclasspath>${java.home}/lib/rt.jar${path.separator}${java.home}/lib/jce.jar</bootclasspath>
  533. </compilerArguments>
  534. </configuration>
  535. <version>3.1</version>
  536. </plugin>
  537. <plugin>
  538. <groupId>org.apache.maven.plugins</groupId>
  539. <artifactId>maven-source-plugin</artifactId>
  540. <version>2.2.1</version>
  541. <configuration>
  542. <attach>true</attach>
  543. </configuration>
  544. <executions>
  545. <execution>
  546. <phase>compile</phase>
  547. <goals>
  548. <goal>jar</goal>
  549. </goals>
  550. </execution>
  551. </executions>
  552. </plugin>
  553. <!--编译插件 end-->
  554. <plugin>
  555. <groupId>org.asciidoctor</groupId>
  556. <artifactId>asciidoctor-maven-plugin</artifactId>
  557. <version>${asciidoctor.maven.plugin.version}</version>
  558. <configuration>
  559. <sourceDirectory>build</sourceDirectory>
  560. <outputDirectory>doc/${project.version}</outputDirectory>
  561. <headerFooter>true</headerFooter>
  562. <doctype>book</doctype>
  563. <sourceHighlighter>coderay</sourceHighlighter>
  564. <attributes>
  565. <toc>left</toc>
  566. <toclevels>3</toclevels>
  567. <sectnums>true</sectnums>
  568. <revnumber>${project.version}</revnumber>
  569. <revdate>${maven.build.timestamp}</revdate>
  570. <organization>厦门健康之路</organization>
  571. <sourcedir>${project.build.sourceDirectory}</sourcedir>
  572. </attributes>
  573. </configuration>
  574. <executions>
  575. <execution>
  576. <id>output-html</id>
  577. <phase>generate-resources</phase>
  578. <goals>
  579. <goal>process-asciidoc</goal>
  580. </goals>
  581. <configuration>
  582. <backend>html5</backend>
  583. </configuration>
  584. </execution>
  585. <execution>
  586. <id>output-docbook</id>
  587. <phase>generate-resources</phase>
  588. <goals>
  589. <goal>process-asciidoc</goal>
  590. </goals>
  591. <configuration>
  592. <backend>docbook</backend>
  593. </configuration>
  594. </execution>
  595. </executions>
  596. </plugin>
  597. </plugins>
  598. <pluginManagement>
  599. <plugins>
  600. <!--打成war包插件 还需要
  601. 1.配置类继承SpringBootServletInitializer
  602. 2.把所有tomcat相关的包的生命周期改成provide
  603. start-->
  604. <plugin>
  605. <artifactId>maven-war-plugin</artifactId>
  606. <configuration>
  607. <failOnMissingWebXml>false</failOnMissingWebXml>
  608. </configuration>
  609. </plugin>
  610. <!--打成war包插件 end-->
  611. <!--springboot插件 start-->
  612. <plugin>
  613. <groupId>org.springframework.boot</groupId>
  614. <artifactId>spring-boot-maven-plugin</artifactId>
  615. <executions>
  616. <execution>
  617. <goals>
  618. <goal>repackage</goal>
  619. </goals>
  620. </execution>
  621. </executions>
  622. </plugin>
  623. <!--springboot插件 en-->
  624. </plugins>
  625. </pluginManagement>
  626. </build>
  627. </project>