pom.xml 19 KB

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