pom.xml 27 KB

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