pom.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485
  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>1.5.9.RELEASE</version>
  10. </parent>
  11. <groupId>com.yihu.jw</groupId>
  12. <artifactId>wlyy-parent-pom</artifactId>
  13. <version>2.0.0</version>
  14. <packaging>pom</packaging>
  15. <developers>
  16. <developer>
  17. <id>cwd</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://172.19.103.43: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://172.19.103.43: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><!-- 基础微服务 -->
  59. <module>../svr/svr-iot</module><!--物联网平台-->
  60. <!--<module>../svr/svr-wlyy</module>--> <!-- i健康微服务 -->
  61. <module>../svr/svr-wlyy-health-bank</module> <!-- 健康银行 -->
  62. <module>../svr/svr-wlyy-specialist</module> <!-- 专科医生 -->
  63. <!--<module>../svr/svr-manage</module>--> <!-- 后台管理系统 -->
  64. <module>../svr/svr-rehabilitation</module> <!--专科医生康复计划-->
  65. <!-- 应用 -->
  66. <module>../app/app-iot-server</module>
  67. <module>../app/public-health-server</module>
  68. </modules>
  69. <properties>
  70. <!-- Version start -->
  71. <version.wlyy-common>2.0.0</version.wlyy-common>
  72. <version.jackson>2.8.1</version.jackson>
  73. <verion.fastjson>1.2.17</verion.fastjson>
  74. <version.json>20160212</version.json>
  75. <version.net-json>2.4</version.net-json>
  76. <version.logback>1.2.3</version.logback>
  77. <version.quartz>2.3.0</version.quartz>
  78. <version.swagger>2.7.0</version.swagger>
  79. <version.swagger-ui>2.7.0</version.swagger-ui>
  80. <version.swagger-annotations>1.5.20</version.swagger-annotations>
  81. <version.springside>4.2.3-GA</version.springside>
  82. <version.zipkin>1.24.0</version.zipkin>
  83. <version.joda-time>2.8.2</version.joda-time>
  84. <version.yihu.admin>1.2.0</version.yihu.admin>
  85. <version.spring-boot-admin>1.5.7</version.spring-boot-admin>
  86. <version.zxing>3.2.0</version.zxing>
  87. <version.fastdfs>1.25</version.fastdfs>
  88. <version.poi>3.17</version.poi>
  89. <version.jxl>2.6.10</version.jxl>
  90. <version.okhttp>3.11.0</version.okhttp>
  91. <!-- Version end -->
  92. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  93. <asciidoctor.maven.plugin.version>1.5.5</asciidoctor.maven.plugin.version>
  94. <asciidoctorj.version>1.5.5</asciidoctorj.version>
  95. <maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
  96. </properties>
  97. <!-- 子配置不写版本默认继承父配置 -->
  98. <dependencyManagement>
  99. <dependencies>
  100. <!-- Spring Cloud -->
  101. <dependency>
  102. <groupId>org.springframework.cloud</groupId>
  103. <artifactId>spring-cloud-dependencies</artifactId>
  104. <version>Edgware.SR4</version>
  105. <type>pom</type>
  106. <scope>import</scope>
  107. </dependency>
  108. <!-- wlyy common -->
  109. <dependency>
  110. <groupId>com.yihu.jw</groupId>
  111. <artifactId>common-fegin</artifactId>
  112. <version>${version.wlyy-common}</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.yihu.jw</groupId>
  116. <artifactId>common-entity</artifactId>
  117. <version>${version.wlyy-common}</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>com.yihu.jw</groupId>
  121. <artifactId>common-entity-es</artifactId>
  122. <version>${version.wlyy-common}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>com.yihu.jw</groupId>
  126. <artifactId>common-request-mapping</artifactId>
  127. <version>${version.wlyy-common}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.yihu.jw</groupId>
  131. <artifactId>common-exception</artifactId>
  132. <version>${version.wlyy-common}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.yihu.jw</groupId>
  136. <artifactId>common-rest-model</artifactId>
  137. <version>${version.wlyy-common}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>com.yihu.jw</groupId>
  141. <artifactId>common-rest-model-es</artifactId>
  142. <version>${version.wlyy-common}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.yihu.jw</groupId>
  146. <artifactId>common-util</artifactId>
  147. <version>${version.wlyy-common}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.yihu.jw</groupId>
  151. <artifactId>common-web</artifactId>
  152. <version>${version.wlyy-common}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>com.yihu.jw</groupId>
  156. <artifactId>common-tracer</artifactId>
  157. <version>${version.wlyy-common}</version>
  158. </dependency>
  159. <!-- Jkzl Starter -->
  160. <dependency>
  161. <groupId>com.yihu</groupId>
  162. <artifactId>swagger-starter</artifactId>
  163. <version>2.0.0</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>com.yihu</groupId>
  167. <artifactId>mysql-starter</artifactId>
  168. <version>2.0.0</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>com.yihu</groupId>
  172. <artifactId>fastdfs-starter</artifactId>
  173. <version>2.0.0</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>com.yihu</groupId>
  177. <artifactId>utils</artifactId> <!-- 此依赖包含大部分常用工具类 -->
  178. <version>2.0.0</version>
  179. </dependency>
  180. <!-- Alibaba -->
  181. <dependency>
  182. <groupId>com.alibaba</groupId>
  183. <artifactId>fastjson</artifactId>
  184. <version>${verion.fastjson}</version>
  185. </dependency>
  186. <!-- Json library -->
  187. <dependency>
  188. <groupId>org.json</groupId>
  189. <artifactId>json</artifactId>
  190. <version>${version.json}</version>
  191. </dependency>
  192. <!-- Net json library -->
  193. <dependency>
  194. <groupId>net.sf.json-lib</groupId>
  195. <artifactId>json-lib</artifactId>
  196. <version>${version.net-json}</version>
  197. </dependency>
  198. <!-- Log start -->
  199. <dependency>
  200. <groupId>ch.qos.logback</groupId>
  201. <artifactId>logback-classic</artifactId>
  202. <version>${version.logback}</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>ch.qos.logback</groupId>
  206. <artifactId>logback-core</artifactId>
  207. <version>${version.logback}</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>ch.qos.logback</groupId>
  211. <artifactId>logback-access</artifactId>
  212. <version>${version.logback}</version>
  213. </dependency>
  214. <!-- Quartz start -->
  215. <dependency>
  216. <groupId>org.quartz-scheduler</groupId>
  217. <artifactId>quartz</artifactId>
  218. <version>${version.quartz}</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>org.quartz-scheduler</groupId>
  222. <artifactId>quartz-jobs</artifactId>
  223. <version>${version.quartz}</version>
  224. </dependency>
  225. <!-- Swagger ui -->
  226. <dependency>
  227. <groupId>io.springfox</groupId>
  228. <artifactId>springfox-swagger2</artifactId>
  229. <version>${version.swagger}</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>io.springfox</groupId>
  233. <artifactId>springfox-swagger-ui</artifactId>
  234. <version>${version.swagger-ui}</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>io.swagger</groupId>
  238. <artifactId>swagger-annotations</artifactId>
  239. <version>${version.swagger-annotations}</version>
  240. </dependency>
  241. <!-- Springside -->
  242. <dependency>
  243. <groupId>org.springside</groupId>
  244. <artifactId>springside-core</artifactId>
  245. <version>${version.springside}</version>
  246. <classifier>GA</classifier>
  247. </dependency>
  248. <!-- poi xml导入导出工具 start-->
  249. <dependency>
  250. <groupId>org.apache.poi</groupId>
  251. <artifactId>poi</artifactId>
  252. <version>${version.poi}</version>
  253. <exclusions>
  254. <exclusion>
  255. <groupId>com.yihu.ehr</groupId>
  256. <artifactId>commons-util</artifactId>
  257. </exclusion>
  258. <exclusion>
  259. <groupId>org.apache.commons</groupId>
  260. <artifactId>commons-collections4</artifactId>
  261. </exclusion>
  262. </exclusions>
  263. </dependency>
  264. <dependency>
  265. <groupId>org.apache.poi</groupId>
  266. <artifactId>poi-ooxml</artifactId>
  267. <version>${version.poi}</version>
  268. </dependency>
  269. <!-- xlsx 依赖这个包 -->
  270. <dependency>
  271. <groupId>org.apache.poi</groupId>
  272. <artifactId>poi-ooxml-schemas</artifactId>
  273. <version>${version.poi}</version>
  274. </dependency>
  275. <dependency>
  276. <groupId>net.sourceforge.jexcelapi</groupId>
  277. <artifactId>jxl</artifactId>
  278. <version>${version.jxl}</version>
  279. </dependency>
  280. <dependency>
  281. <groupId>com.squareup.okhttp3</groupId>
  282. <artifactId>okhttp</artifactId>
  283. <version>${version.okhttp}</version>
  284. </dependency>
  285. <!-- poi xml导入导出工具 end -->
  286. <!-- Zipkin 日志追踪 -->
  287. <!--<dependency>
  288. <groupId>io.zipkin.java</groupId>
  289. <artifactId>zipkin-server</artifactId>
  290. <version>${version.zipkin}</version>
  291. </dependency>
  292. <dependency>
  293. <groupId>io.zipkin.java</groupId>
  294. <artifactId>zipkin-autoconfigure-ui</artifactId>
  295. <version>${version.zipkin}</version>
  296. </dependency>
  297. <dependency>
  298. <groupId>io.zipkin.java</groupId>
  299. <artifactId>zipkin-autoconfigure-storage-elasticsearch-http</artifactId>
  300. <version>${version.zipkin}</version>
  301. </dependency>-->
  302. <!-- Scala -->
  303. <!--<dependency>
  304. <groupId>org.scala-lang</groupId>
  305. <artifactId>scala-library</artifactId>
  306. <version>${version.scala}</version>
  307. </dependency>
  308. <dependency>
  309. <groupId>org.scala-lang</groupId>
  310. <artifactId>scala-compiler</artifactId>
  311. <version>${version.scala}</version>
  312. </dependency>-->
  313. <!-- Joda -->
  314. <!--<dependency>
  315. <groupId>joda-time</groupId>
  316. <artifactId>joda-time</artifactId>
  317. <version>${version.joda-time}</version>
  318. </dependency>-->
  319. <!--服务器监监听-->
  320. <!--<dependency>
  321. <groupId>com.yihu</groupId>
  322. <artifactId>admin-client-starter</artifactId>
  323. <version>${version.yihu.admin}</version>
  324. </dependency>
  325. <dependency>
  326. <groupId>com.yihu</groupId>
  327. <artifactId>admin-server-starter</artifactId>
  328. <version>${version.yihu.admin}</version>
  329. </dependency>
  330. <dependency>
  331. <groupId>com.yihu</groupId>
  332. <artifactId>admin-server-ui-starter</artifactId>
  333. <version>${version.yihu.admin}</version>
  334. </dependency>
  335. <dependency>
  336. <groupId>de.codecentric</groupId>
  337. <artifactId>spring-boot-admin-server</artifactId>
  338. <version>${version.spring-boot-admin}</version>
  339. </dependency>
  340. <dependency>
  341. <groupId>de.codecentric</groupId>
  342. <artifactId>spring-boot-admin-server-ui</artifactId>
  343. <version>${version.spring-boot-admin}</version>
  344. </dependency>
  345. <dependency>
  346. <groupId>de.codecentric</groupId>
  347. <artifactId>spring-boot-admin-server-ui-hystrix</artifactId>
  348. <version>${version.spring-boot-admin}</version>
  349. </dependency>
  350. <dependency>
  351. <groupId>de.codecentric</groupId>
  352. <artifactId>spring-boot-admin-server-ui-turbine</artifactId>
  353. <version>${version.spring-boot-admin}</version>
  354. </dependency>-->
  355. </dependencies>
  356. </dependencyManagement>
  357. <build>
  358. <plugins>
  359. <!--编译插件 start-->
  360. <plugin>
  361. <groupId>org.apache.maven.plugins</groupId>
  362. <artifactId>maven-compiler-plugin</artifactId>
  363. <configuration>
  364. <source>1.8</source>
  365. <target>1.8</target>
  366. </configuration>
  367. <version>3.1</version>
  368. </plugin>
  369. <plugin>
  370. <groupId>org.apache.maven.plugins</groupId>
  371. <artifactId>maven-source-plugin</artifactId>
  372. <configuration>
  373. <attach>true</attach>
  374. </configuration>
  375. <executions>
  376. <execution>
  377. <phase>compile</phase>
  378. <goals>
  379. <goal>jar</goal>
  380. </goals>
  381. </execution>
  382. </executions>
  383. </plugin>
  384. <!--编译插件 end-->
  385. <plugin>
  386. <groupId>org.asciidoctor</groupId>
  387. <artifactId>asciidoctor-maven-plugin</artifactId>
  388. <version>${asciidoctor.maven.plugin.version}</version>
  389. <configuration>
  390. <sourceDirectory>build</sourceDirectory>
  391. <outputDirectory>doc/${project.version}</outputDirectory>
  392. <headerFooter>true</headerFooter>
  393. <doctype>book</doctype>
  394. <sourceHighlighter>coderay</sourceHighlighter>
  395. <attributes>
  396. <toc>left</toc>
  397. <toclevels>3</toclevels>
  398. <sectnums>true</sectnums>
  399. <revnumber>${project.version}</revnumber>
  400. <revdate>${maven.build.timestamp}</revdate>
  401. <organization>厦门健康之路</organization>
  402. <sourcedir>${project.build.sourceDirectory}</sourcedir>
  403. </attributes>
  404. </configuration>
  405. <executions>
  406. <execution>
  407. <id>output-html</id>
  408. <phase>generate-resources</phase>
  409. <goals>
  410. <goal>process-asciidoc</goal>
  411. </goals>
  412. <configuration>
  413. <backend>html5</backend>
  414. </configuration>
  415. </execution>
  416. <execution>
  417. <id>output-docbook</id>
  418. <phase>generate-resources</phase>
  419. <goals>
  420. <goal>process-asciidoc</goal>
  421. </goals>
  422. <configuration>
  423. <backend>docbook</backend>
  424. </configuration>
  425. </execution>
  426. </executions>
  427. </plugin>
  428. </plugins>
  429. <pluginManagement>
  430. <plugins>
  431. <!--打成war包插件 还需要
  432. 1.配置类继承SpringBootServletInitializer
  433. 2.把所有tomcat相关的包的生命周期改成provide
  434. start-->
  435. <plugin>
  436. <artifactId>maven-war-plugin</artifactId>
  437. <configuration>
  438. <failOnMissingWebXml>false</failOnMissingWebXml>
  439. </configuration>
  440. </plugin>
  441. <!--打成war包插件 end-->
  442. <!--springboot插件 start-->
  443. <plugin>
  444. <groupId>org.springframework.boot</groupId>
  445. <artifactId>spring-boot-maven-plugin</artifactId>
  446. <executions>
  447. <execution>
  448. <goals>
  449. <goal>repackage</goal>
  450. </goals>
  451. </execution>
  452. </executions>
  453. </plugin>
  454. <!--springboot插件 en-->
  455. </plugins>
  456. </pluginManagement>
  457. </build>
  458. </project>