pom.xml 26 KB

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