pom.xml 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787
  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. <groupId>com.yihu.ehr</groupId>
  7. <artifactId>ehr-cloud-parent</artifactId>
  8. <version>1.13.0</version>
  9. <packaging>pom</packaging>
  10. <name>ehr-cloud-parent</name>
  11. <description>EHR parent pom for all</description>
  12. <url>http://ehr.yihu.com</url>
  13. <organization>
  14. <name>JKZL Software, Inc.</name>
  15. <url>http://www.yihu.com</url>
  16. </organization>
  17. <licenses>
  18. <license>
  19. <name>Apache License, Version 2.0</name>
  20. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  21. </license>
  22. </licenses>
  23. <developers>
  24. <developer>
  25. <id>sand</id>
  26. <name>Sand Wen</name>
  27. <email>sand.fj.wen@gmail.com</email>
  28. <organization>JKZL Software, Inc.</organization>
  29. <organizationUrl>http://www.yihu.com</organizationUrl>
  30. <roles>
  31. <role>Project lead</role>
  32. <role>Project designer</role>
  33. <role>Project programmer</role>
  34. </roles>
  35. </developer>
  36. <developer>
  37. <id>yzh</id>
  38. <name>叶泽华</name>
  39. <email>yzh@qq.com</email>
  40. <organization>JKZL Software, Inc.</organization>
  41. <organizationUrl>http://www.yihu.com</organizationUrl>
  42. <roles>
  43. <role>Project programmer</role>
  44. </roles>
  45. </developer>
  46. <developer>
  47. <id>cws</id>
  48. <name>陈维山</name>
  49. <email>hill9868@qq.com</email>
  50. <organization>JKZL Software, Inc.</organization>
  51. <organizationUrl>http://www.yihu.com</organizationUrl>
  52. <roles>
  53. <role>Project programmer</role>
  54. </roles>
  55. </developer>
  56. <developer>
  57. <id>hzy</id>
  58. <name>黄志勇</name>
  59. <email>hzy@qq.com</email>
  60. <organization>JKZL Software, Inc.</organization>
  61. <organizationUrl>http://www.yihu.com</organizationUrl>
  62. <roles>
  63. <role>Project programmer</role>
  64. </roles>
  65. </developer>
  66. </developers>
  67. <properties>
  68. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  69. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  70. <failOnMissingWebXml>false</failOnMissingWebXml>
  71. <version.java>1.8</version.java>
  72. <version.ehr>1.13.0</version.ehr>
  73. <version.eip>1.3.1</version.eip>
  74. <version.spring-boot>1.5.15.RELEASE</version.spring-boot>
  75. <version.spring-cloud>Edgware.SR4</version.spring-cloud>
  76. <version.spring-session-hazelcast>2.0.1.RELEASE</version.spring-session-hazelcast>
  77. <version.spring-data-commons>1.13.9.RELEASE</version.spring-data-commons>
  78. <version.spring-data-hadoop>2.2.0.RELEASE</version.spring-data-hadoop>
  79. <version.spring-data-solr>2.1.3.RELEASE</version.spring-data-solr>
  80. <version.spring-data-redis>1.7.1.RELEASE</version.spring-data-redis>
  81. <version.spring-data-jpa>1.11.10.RELEASE</version.spring-data-jpa>
  82. <version.spring-kafka>1.0.5.RELEASE</version.spring-kafka>
  83. <version.commons-bean-utils>1.9.2</version.commons-bean-utils>
  84. <version.commons-codec>1.9</version.commons-codec>
  85. <version.commons-collections>3.2.1</version.commons-collections>
  86. <version.commons-compress>1.9</version.commons-compress>
  87. <version.commons-dbcp2>2.1.1</version.commons-dbcp2>
  88. <version.commons-dbutils>1.6</version.commons-dbutils>
  89. <version.commons-io>2.4</version.commons-io>
  90. <version.commons-lang3>3.2.1</version.commons-lang3>
  91. <version.commons-pool2>2.4.2</version.commons-pool2>
  92. <version.zookeeper>3.4.6</version.zookeeper>
  93. <version.hadoop-client>2.6.5</version.hadoop-client>
  94. <version.hbase-client>1.1.1</version.hbase-client>
  95. <version.solr>5.5.4</version.solr>
  96. <version.io-dropwizard-metrics>3.1.2</version.io-dropwizard-metrics>
  97. <version.jackson>2.6.6</version.jackson>
  98. <version.jedis>2.9.0</version.jedis>
  99. <version.jcl-over-slf4j>1.7.19</version.jcl-over-slf4j>
  100. <version.jul-over-slf4j>1.7.21</version.jul-over-slf4j>
  101. <version.joda-time>2.8.2</version.joda-time>
  102. <version.junit>4.12</version.junit>
  103. <version.mysql>5.1.45</version.mysql>
  104. <version.pinyin4j>2.5.0</version.pinyin4j>
  105. <version.quartz>2.2.3</version.quartz>
  106. <version.servlet-api>3.1.0</version.servlet-api>
  107. <version.statsd-client>3.1.0</version.statsd-client>
  108. <version.swagger>2.7.0</version.swagger>
  109. <version.thrift>0.9.1</version.thrift>
  110. <version.tomcat-embed>8.5.27</version.tomcat-embed>
  111. <version.websocket-api>1.1</version.websocket-api>
  112. <version.zip4j>1.3.2</version.zip4j>
  113. <version.poi>3.12</version.poi>
  114. <version.scala>2.10.6</version.scala>
  115. <version.elasticsearch>2.1.0</version.elasticsearch>
  116. <version.elasticsearch-sql>2.4.1.0</version.elasticsearch-sql>
  117. <version.jest>2.4.0</version.jest>
  118. <version.alibaba-druid>1.0.15</version.alibaba-druid>
  119. <version.feign>9.5.0</version.feign>
  120. <version.hystrix>1.5.10</version.hystrix>
  121. <version.archaius>0.7.5</version.archaius>
  122. <version.json>20160212</version.json>
  123. <version.json-lib>2.4</version.json-lib>
  124. <version.fastjson>1.2.17</version.fastjson>
  125. <version.commons-net>3.3</version.commons-net>
  126. <version.jxl>2.6</version.jxl>
  127. <version.fastdfs>1.27</version.fastdfs>
  128. <version.spring.boot.admin>1.5.7</version.spring.boot.admin>
  129. <version.jettison>1.3.7</version.jettison>
  130. <version.springside>4.2.3-GA</version.springside>
  131. </properties>
  132. <dependencyManagement>
  133. <dependencies>
  134. <dependency>
  135. <groupId>org.springframework.boot</groupId>
  136. <artifactId>spring-boot-dependencies</artifactId>
  137. <version>${version.spring-boot}</version>
  138. <type>pom</type>
  139. <scope>import</scope>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.springframework.cloud</groupId>
  143. <artifactId>spring-cloud-dependencies</artifactId>
  144. <version>${version.spring-cloud}</version>
  145. <type>pom</type>
  146. <scope>import</scope>
  147. </dependency>
  148. <!-- Archaius -->
  149. <dependency>
  150. <groupId>com.netflix.archaius</groupId>
  151. <artifactId>archaius-core</artifactId>
  152. <version>${version.archaius}</version>
  153. </dependency>
  154. <!-- Spring data family -->
  155. <dependency>
  156. <groupId>org.springframework.data</groupId>
  157. <artifactId>spring-data-commons</artifactId>
  158. <version>${version.spring-data-commons}</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.springframework.data</groupId>
  162. <artifactId>spring-data-hadoop-hbase</artifactId>
  163. <version>${version.spring-data-hadoop}</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.springframework.data</groupId>
  167. <artifactId>spring-data-solr</artifactId>
  168. <version>${version.spring-data-solr}</version>
  169. </dependency>
  170. <!--Apache commons library -->
  171. <dependency>
  172. <groupId>org.codehaus.woodstox</groupId>
  173. <artifactId>stax2-api</artifactId>
  174. <version>3.1.4</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>org.codehaus.woodstox</groupId>
  178. <artifactId>woodstox-core-asl</artifactId>
  179. <version>4.4.1</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.noggit</groupId>
  183. <artifactId>noggit</artifactId>
  184. <version>0.6</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>org.apache.commons</groupId>
  188. <artifactId>commons-lang3</artifactId>
  189. <version>${version.commons-lang3}</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.apache.poi</groupId>
  193. <artifactId>poi</artifactId>
  194. <version>${version.poi}</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>commons-beanutils</groupId>
  198. <artifactId>commons-beanutils</artifactId>
  199. <version>${version.commons-bean-utils}</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.apache.commons</groupId>
  203. <artifactId>commons-pool2</artifactId>
  204. <version>${version.commons-pool2}</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>commons-dbutils</groupId>
  208. <artifactId>commons-dbutils</artifactId>
  209. <version>${version.commons-dbutils}</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>org.apache.commons</groupId>
  213. <artifactId>commons-dbcp2</artifactId>
  214. <version>${version.commons-dbcp2}</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>commons-io</groupId>
  218. <artifactId>commons-io</artifactId>
  219. <version>${version.commons-io}</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>commons-collections</groupId>
  223. <artifactId>commons-collections</artifactId>
  224. <version>${version.commons-collections}</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>commons-codec</groupId>
  228. <artifactId>commons-codec</artifactId>
  229. <version>${version.commons-codec}</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.apache.commons</groupId>
  233. <artifactId>commons-compress</artifactId>
  234. <version>${version.commons-compress}</version>
  235. </dependency>
  236. <!-- Mysql library -->
  237. <dependency>
  238. <groupId>mysql</groupId>
  239. <artifactId>mysql-connector-java</artifactId>
  240. <version>${version.mysql}</version>
  241. </dependency>
  242. <!-- Zookeeper library -->
  243. <dependency>
  244. <groupId>org.apache.zookeeper</groupId>
  245. <artifactId>zookeeper</artifactId>
  246. <version>${version.zookeeper}</version>
  247. </dependency>
  248. <!-- Hadoop library -->
  249. <dependency>
  250. <groupId>org.apache.hbase</groupId>
  251. <artifactId>hbase-client</artifactId>
  252. <version>${version.hbase-client}</version>
  253. <exclusions>
  254. <exclusion>
  255. <groupId>javax.servlet</groupId>
  256. <artifactId>servlet-api</artifactId>
  257. </exclusion>
  258. </exclusions>
  259. </dependency>
  260. <!-- export library -->
  261. <dependency>
  262. <groupId>net.sourceforge.jexcelapi</groupId>
  263. <artifactId>jxl</artifactId>
  264. <version>${version.jxl}</version>
  265. </dependency>
  266. <!-- Google library -->
  267. <dependency>
  268. <groupId>com.google.guava</groupId>
  269. <artifactId>guava</artifactId>
  270. <version>18.0</version>
  271. </dependency>
  272. <dependency>
  273. <groupId>com.google.code.findbugs</groupId>
  274. <artifactId>jsr305</artifactId>
  275. <version>3.0.1</version>
  276. </dependency>
  277. <dependency>
  278. <groupId>com.google.code.gson</groupId>
  279. <artifactId>gson</artifactId>
  280. <version>2.6.2</version>
  281. </dependency>
  282. <dependency>
  283. <groupId>com.google.protobuf</groupId>
  284. <artifactId>protobuf-java</artifactId>
  285. <version>2.5.0</version>
  286. </dependency>
  287. <dependency>
  288. <groupId>com.google.inject</groupId>
  289. <artifactId>guice</artifactId>
  290. <version>4.1.0</version>
  291. </dependency>
  292. <!-- Solr library -->
  293. <dependency>
  294. <groupId>org.apache.solr</groupId>
  295. <artifactId>solr-core</artifactId>
  296. <version>${version.solr}</version>
  297. <exclusions>
  298. <exclusion>
  299. <groupId>commons-lang</groupId>
  300. <artifactId>commons-lang</artifactId>
  301. </exclusion>
  302. </exclusions>
  303. </dependency>
  304. <dependency>
  305. <groupId>org.apache.solr</groupId>
  306. <artifactId>solr-solrj</artifactId>
  307. <version>${version.solr}</version>
  308. <exclusions>
  309. <exclusion>
  310. <groupId>commons-lang</groupId>
  311. <artifactId>commons-lang</artifactId>
  312. </exclusion>
  313. </exclusions>
  314. </dependency>
  315. <!-- Elasticsearch -->
  316. <dependency>
  317. <groupId>org.elasticsearch</groupId>
  318. <artifactId>elasticsearch</artifactId>
  319. <version>${version.elasticsearch}</version>
  320. </dependency>
  321. <dependency>
  322. <groupId>org.nlpcn</groupId>
  323. <artifactId>elasticsearch-sql</artifactId>
  324. <version>${version.elasticsearch-sql}</version>
  325. </dependency>
  326. <!-- Jest -->
  327. <dependency>
  328. <groupId>io.searchbox</groupId>
  329. <artifactId>jest</artifactId>
  330. <version>${version.jest}</version>
  331. </dependency>
  332. <!-- Redis library -->
  333. <dependency>
  334. <groupId>redis.clients</groupId>
  335. <artifactId>jedis</artifactId>
  336. <version>${version.jedis}</version>
  337. </dependency>
  338. <!-- FastDFS library -->
  339. <dependency>
  340. <groupId>org.csource</groupId>
  341. <artifactId>fastdfs-client-java</artifactId>
  342. <version>${version.fastdfs}</version>
  343. </dependency>
  344. <!-- Quartz library -->
  345. <dependency>
  346. <groupId>org.quartz-scheduler</groupId>
  347. <artifactId>quartz</artifactId>
  348. <version>${version.quartz}</version>
  349. </dependency>
  350. <dependency>
  351. <groupId>org.quartz-scheduler</groupId>
  352. <artifactId>quartz-jobs</artifactId>
  353. <version>${version.quartz}</version>
  354. </dependency>
  355. <!-- Zip library -->
  356. <dependency>
  357. <groupId>net.lingala.zip4j</groupId>
  358. <artifactId>zip4j</artifactId>
  359. <version>${version.zip4j}</version>
  360. </dependency>
  361. <!-- Pinyin library -->
  362. <dependency>
  363. <groupId>com.belerweb</groupId>
  364. <artifactId>pinyin4j</artifactId>
  365. <version>${version.pinyin4j}</version>
  366. </dependency>
  367. <!-- Swagger-ui library -->
  368. <dependency>
  369. <groupId>io.springfox</groupId>
  370. <artifactId>springfox-swagger2</artifactId>
  371. <version>${version.swagger}</version>
  372. </dependency>
  373. <dependency>
  374. <groupId>io.springfox</groupId>
  375. <artifactId>springfox-swagger-ui</artifactId>
  376. <version>${version.swagger}</version>
  377. </dependency>
  378. <!-- date Time util library -->
  379. <dependency>
  380. <groupId>joda-time</groupId>
  381. <artifactId>joda-time</artifactId>
  382. <version>${version.joda-time}</version>
  383. </dependency>
  384. <dependency>
  385. <groupId>org.apache.thrift</groupId>
  386. <artifactId>libthrift</artifactId>
  387. <version>${version.thrift}</version>
  388. </dependency>
  389. <dependency>
  390. <groupId>com.timgroup</groupId>
  391. <artifactId>java-statsd-client</artifactId>
  392. <version>${version.statsd-client}</version>
  393. </dependency>
  394. <dependency>
  395. <groupId>io.dropwizard.metrics</groupId>
  396. <artifactId>metrics-core</artifactId>
  397. <version>${version.io-dropwizard-metrics}</version>
  398. </dependency>
  399. <!-- Alibaba -->
  400. <dependency>
  401. <groupId>com.alibaba</groupId>
  402. <artifactId>druid</artifactId>
  403. <version>${version.alibaba-druid}</version>
  404. </dependency>
  405. <dependency>
  406. <groupId>com.alibaba</groupId>
  407. <artifactId>fastjson</artifactId>
  408. <version>${version.fastjson}</version>
  409. </dependency>
  410. <!-- Spring Boot Admin -->
  411. <dependency>
  412. <groupId>de.codecentric</groupId>
  413. <artifactId>spring-boot-admin-starter-server</artifactId>
  414. <version>${version.spring.boot.admin}</version>
  415. </dependency>
  416. <dependency>
  417. <groupId>de.codecentric</groupId>
  418. <artifactId>spring-boot-admin-server-ui</artifactId>
  419. <version>${version.spring.boot.admin}</version>
  420. </dependency>
  421. <!-- Extend library-->
  422. <dependency>
  423. <groupId>org.codehaus.jettison</groupId>
  424. <artifactId>jettison</artifactId>
  425. <version>${version.jettison}</version>
  426. </dependency>
  427. <dependency>
  428. <groupId>org.json</groupId>
  429. <artifactId>json</artifactId>
  430. <version>${version.json}</version>
  431. </dependency>
  432. <dependency>
  433. <groupId>net.sf.json-lib</groupId>
  434. <artifactId>json-lib</artifactId>
  435. <version>${version.json-lib}</version>
  436. </dependency>
  437. <dependency>
  438. <groupId>commons-net</groupId>
  439. <artifactId>commons-net</artifactId>
  440. <version>${version.commons-net}</version>
  441. </dependency>
  442. <!-- 个推相关 -->
  443. <dependency>
  444. <groupId>com.gexin.platform</groupId>
  445. <artifactId>gexin-rp-sdk-http</artifactId>
  446. <version>4.0.1.17</version>
  447. </dependency>
  448. <dependency>
  449. <groupId>com.gexin.platform</groupId>
  450. <artifactId>gexin-rp-fastjson</artifactId>
  451. <version>1.0.0.1</version>
  452. </dependency>
  453. <dependency>
  454. <groupId>com.gexin.platform</groupId>
  455. <artifactId>gexin-rp-sdk-base</artifactId>
  456. <version>4.0.0.22</version>
  457. </dependency>
  458. <dependency>
  459. <groupId>com.gexin.platform</groupId>
  460. <artifactId>gexin-rp-sdk-template</artifactId>
  461. <version>4.0.0.16</version>
  462. </dependency>
  463. <dependency>
  464. <groupId>com.gexin.platform</groupId>
  465. <artifactId>protobuf-java</artifactId>
  466. <version>2.5.0</version>
  467. </dependency>
  468. <dependency>
  469. <groupId>org.springside</groupId>
  470. <artifactId>springside-core</artifactId>
  471. <version>${version.springside}</version>
  472. </dependency>
  473. <!--ehr commons lib-->
  474. <dependency>
  475. <groupId>com.yihu.ehr</groupId>
  476. <artifactId>commons-admin-gateway-model</artifactId>
  477. <version>${version.ehr}</version>
  478. </dependency>
  479. <dependency>
  480. <groupId>com.yihu.ehr</groupId>
  481. <artifactId>commons-data-elasticsearch</artifactId>
  482. <version>${version.ehr}</version>
  483. </dependency>
  484. <dependency>
  485. <groupId>com.yihu.ehr</groupId>
  486. <artifactId>commons-data-fastdfs</artifactId>
  487. <version>${version.ehr}</version>
  488. </dependency>
  489. <dependency>
  490. <groupId>com.yihu.ehr</groupId>
  491. <artifactId>commons-data-hbase</artifactId>
  492. <version>${version.ehr}</version>
  493. </dependency>
  494. <dependency>
  495. <groupId>com.yihu.ehr</groupId>
  496. <artifactId>commons-data-mysql</artifactId>
  497. <version>${version.ehr}</version>
  498. </dependency>
  499. <dependency>
  500. <groupId>com.yihu.ehr</groupId>
  501. <artifactId>commons-data-query</artifactId>
  502. <version>${version.ehr}</version>
  503. </dependency>
  504. <dependency>
  505. <groupId>com.yihu.ehr</groupId>
  506. <artifactId>commons-data-redis</artifactId>
  507. <version>${version.ehr}</version>
  508. </dependency>
  509. <dependency>
  510. <groupId>com.yihu.ehr</groupId>
  511. <artifactId>commons-data-solr</artifactId>
  512. <version>${version.ehr}</version>
  513. </dependency>
  514. <dependency>
  515. <groupId>com.yihu.ehr</groupId>
  516. <artifactId>commons-ehr-constants</artifactId>
  517. <version>${version.ehr}</version>
  518. </dependency>
  519. <dependency>
  520. <groupId>com.yihu.ehr</groupId>
  521. <artifactId>commons-entity</artifactId>
  522. <version>${version.ehr}</version>
  523. </dependency>
  524. <dependency>
  525. <groupId>com.yihu.ehr</groupId>
  526. <artifactId>commons-profile-core</artifactId>
  527. <version>${version.ehr}</version>
  528. </dependency>
  529. <dependency>
  530. <groupId>com.yihu.ehr</groupId>
  531. <artifactId>commons-redis-mq</artifactId>
  532. <version>${version.ehr}</version>
  533. </dependency>
  534. <dependency>
  535. <groupId>com.yihu.ehr</groupId>
  536. <artifactId>commons-rest-model</artifactId>
  537. <version>${version.ehr}</version>
  538. </dependency>
  539. <dependency>
  540. <groupId>com.yihu.ehr</groupId>
  541. <artifactId>commons-ui-swagger</artifactId>
  542. <version>${version.ehr}</version>
  543. </dependency>
  544. <dependency>
  545. <groupId>com.yihu.ehr</groupId>
  546. <artifactId>commons-util</artifactId>
  547. <version>${version.ehr}</version>
  548. </dependency>
  549. <dependency>
  550. <groupId>com.yihu.ehr</groupId>
  551. <artifactId>commons-web</artifactId>
  552. <version>${version.ehr}</version>
  553. </dependency>
  554. <dependency>
  555. <groupId>com.yihu.hos</groupId>
  556. <artifactId>common-rest-model</artifactId>
  557. <version>${version.eip}</version>
  558. </dependency>
  559. <dependency>
  560. <groupId>com.yihu.ehr</groupId>
  561. <artifactId>commons-cat</artifactId>
  562. <version>${version.ehr}</version>
  563. </dependency>
  564. </dependencies>
  565. </dependencyManagement>
  566. <repositories>
  567. <repository>
  568. <id>public</id>
  569. <name>public</name>
  570. <url>http://172.19.103.43:8081/nexus/content/groups/public/</url>
  571. <releases>
  572. <enabled>true</enabled>
  573. </releases>
  574. <snapshots>
  575. <enabled>false</enabled>
  576. </snapshots>
  577. </repository>
  578. </repositories>
  579. <pluginRepositories>
  580. <pluginRepository>
  581. <id>public</id>
  582. <name>public</name>
  583. <url>http://172.19.103.43:8081/nexus/content/groups/public/</url>
  584. <releases>
  585. <enabled>true</enabled>
  586. </releases>
  587. <snapshots>
  588. <enabled>false</enabled>
  589. </snapshots>
  590. </pluginRepository>
  591. </pluginRepositories>
  592. <distributionManagement>
  593. <repository>
  594. <id>jkzlRepositories</id>
  595. <name>jkzlRepositories</name>
  596. <url>http://172.19.103.43:8081/nexus/content/repositories/jkzlRepositories/</url>
  597. </repository>
  598. </distributionManagement>
  599. <build>
  600. <plugins>
  601. <plugin>
  602. <groupId>org.springframework.boot</groupId>
  603. <artifactId>spring-boot-maven-plugin</artifactId>
  604. </plugin>
  605. <plugin>
  606. <groupId>org.springframework.boot</groupId>
  607. <artifactId>spring-boot-maven-plugin</artifactId>
  608. <version>${version.spring-boot}</version>
  609. <executions>
  610. <execution>
  611. <goals>
  612. <goal>repackage</goal>
  613. </goals>
  614. </execution>
  615. </executions>
  616. </plugin>
  617. </plugins>
  618. <pluginManagement>
  619. <plugins>
  620. <!--用于编译Maven项目的Java源代码-->
  621. <plugin>
  622. <groupId>org.apache.maven.plugins</groupId>
  623. <artifactId>maven-compiler-plugin</artifactId>
  624. <version>3.8.0</version>
  625. <configuration>
  626. <source>${version.java}</source>
  627. <target>${version.java}</target>
  628. <encoding>${project.build.sourceEncoding}</encoding>
  629. <maxmem>1024m</maxmem>
  630. <compilerArgs>
  631. <arg>-Xlint:none</arg>
  632. </compilerArgs>
  633. </configuration>
  634. </plugin>
  635. <!--用于打包可执行jar包-->
  636. <plugin>
  637. <groupId>org.apache.maven.plugins</groupId>
  638. <artifactId>maven-jar-plugin</artifactId>
  639. <version>2.5</version>
  640. <configuration>
  641. <archive>
  642. <addMavenDescriptor>false</addMavenDescriptor>
  643. <manifest>
  644. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  645. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  646. </manifest>
  647. <manifestEntries>
  648. <X-Compile-Source-JDK>${version.java}</X-Compile-Source-JDK>
  649. <X-Compile-Target-JDK>${version.java}</X-Compile-Target-JDK>
  650. </manifestEntries>
  651. </archive>
  652. </configuration>
  653. </plugin>
  654. <!--maven打成源码包-->
  655. <plugin>
  656. <groupId>org.apache.maven.plugins</groupId>
  657. <artifactId>maven-source-plugin</artifactId>
  658. <version>3.0.1</version>
  659. <configuration>
  660. <attach>true</attach>
  661. </configuration>
  662. <executions>
  663. <execution>
  664. <phase>package</phase>
  665. <goals>
  666. <goal>jar-no-fork</goal>
  667. </goals>
  668. </execution>
  669. </executions>
  670. </plugin>
  671. <plugin>
  672. <groupId>org.apache.maven.plugins</groupId>
  673. <artifactId>maven-surefire-plugin</artifactId>
  674. <version>2.20</version>
  675. <!--跳过测试-->
  676. <configuration>
  677. <skipTests>true</skipTests>
  678. </configuration>
  679. </plugin>
  680. <!--生成JavaDoc-->
  681. <plugin>
  682. <groupId>org.apache.maven.plugins</groupId>
  683. <artifactId>maven-javadoc-plugin</artifactId>
  684. <configuration>
  685. </configuration>
  686. <executions>
  687. <execution>
  688. <id>attach-javadocs</id>
  689. <goals>
  690. <goal>jar</goal>
  691. </goals>
  692. </execution>
  693. </executions>
  694. </plugin>
  695. <!--生成可spring boot jar-->
  696. <plugin>
  697. <groupId>org.springframework.boot</groupId>
  698. <artifactId>spring-boot-maven-plugin-ext</artifactId>
  699. <version>${version.spring-boot}</version>
  700. <executions>
  701. <execution>
  702. <goals>
  703. <goal>repackage</goal>
  704. </goals>
  705. </execution>
  706. </executions>
  707. </plugin>
  708. <plugin>
  709. <groupId>org.apache.maven.plugins</groupId>
  710. <artifactId>maven-resources-plugin</artifactId>
  711. <version>2.7</version>
  712. <configuration>
  713. <delimiters>
  714. <delimiter>@</delimiter>
  715. </delimiters>
  716. <useDefaultDelimiters>false</useDefaultDelimiters>
  717. </configuration>
  718. </plugin>
  719. <plugin>
  720. <groupId>org.apache.maven.plugins</groupId>
  721. <artifactId>maven-install-plugin</artifactId>
  722. <version>2.5.2</version>
  723. </plugin>
  724. <!--deploy插件用于把Maven自动构建生成的版本发布到中央代理仓库如Nexus服务器上,
  725. 也能把第三方依赖库(如Jar包)或一个独立的Jar包直接发布到中央代理仓库供大家共享使用-->
  726. <plugin>
  727. <groupId>org.apache.maven.plugins</groupId>
  728. <artifactId>maven-deploy-plugin</artifactId>
  729. <version>2.8.2</version>
  730. </plugin>
  731. </plugins>
  732. </pluginManagement>
  733. </build>
  734. </project>