pom.xml 28 KB

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