pom.xml 19 KB

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