pom.xml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617
  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</groupId>
  12. <artifactId>jkzl-start</artifactId>
  13. <version>1.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. <modules>
  35. <module>/common-swagger-starter</module>
  36. <module>/common-quartz-starter</module>
  37. <module>/common-logback-starter</module>
  38. <module>/common-activemq-starter</module>
  39. <module>/common-security-starter</module>
  40. <module>/common-cache-starter</module>
  41. <module>/common-async-starter</module>
  42. <module>/common-data-fastdfs-starter</module>
  43. <module>/common-data-es-starter</module>
  44. <module>/common-data-solr-starter</module>
  45. <module>/common-data-mysql-starter</module>
  46. <module>/common-data-redis-starter</module>
  47. <module>/common-data-hbase-starter</module>
  48. <module>demo</module>
  49. <module>/common-router-starter</module>
  50. </modules>
  51. <properties>
  52. <version.mysql>5.1.38</version.mysql>
  53. <version.jackson>2.8.1</version.jackson>
  54. <version.myCommon>1.0.0</version.myCommon>
  55. <version.spring-data-hadoop>2.5.0.RELEASE</version.spring-data-hadoop>
  56. <version.springside>4.2.3-GA</version.springside>
  57. <version.zipkin>1.24.0</version.zipkin>
  58. <version.hibernate>5.0.12.Final</version.hibernate>
  59. <version.hibernate-jpa>1.0.0.Final</version.hibernate-jpa>
  60. <version.servlet-api>3.1.0</version.servlet-api>
  61. <version.swagger>2.7.0</version.swagger>
  62. <version.swagger-ui>2.7.0</version.swagger-ui>
  63. <version.quartz>2.3.0</version.quartz>
  64. <version.logback>1.2.3</version.logback>
  65. <version.jest>2.4.0</version.jest>
  66. <version.json>20160212</version.json>
  67. <verion.fastJson>1.2.17</verion.fastJson>
  68. <version.net-json>2.4</version.net-json>
  69. <version.common.lang3>3.2.1</version.common.lang3>
  70. <version.commons.collections>3.2.2</version.commons.collections>
  71. <version.commons.codec>1.11</version.commons.codec>
  72. <version.elasticsearch>2.4.4</version.elasticsearch>
  73. <version.elasticsearch-sql>2.4.1.0</version.elasticsearch-sql>
  74. <version.hbase>1.1.12</version.hbase>
  75. <version.hadoop>2.7.4</version.hadoop>
  76. <version.scala>2.10.6</version.scala>
  77. <version.hbase-client>1.1.1</version.hbase-client>
  78. <version.joda-time>2.8.2</version.joda-time>
  79. <version.solr>5.5.1</version.solr>
  80. <version.fastdfs>1.25</version.fastdfs>
  81. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  82. <asciidoctor.maven.plugin.version>1.5.5</asciidoctor.maven.plugin.version>
  83. <asciidoctorj.version>1.5.5</asciidoctorj.version>
  84. <maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
  85. </properties>
  86. <!--dependencyManagement作用子配置不写版本默认继承父配置-->
  87. <dependencyManagement>
  88. <dependencies>
  89. <dependency>
  90. <groupId>org.springframework.cloud</groupId>
  91. <artifactId>spring-cloud-dependencies</artifactId>
  92. <version>Edgware.RELEASE</version>
  93. <type>pom</type>
  94. <scope>import</scope>
  95. </dependency>
  96. <!--旧版本 自己的封装 common 已经停止更新 start-->
  97. <dependency>
  98. <groupId>com.yihu.base</groupId>
  99. <artifactId>common-async</artifactId>
  100. <version>${version.myCommon}</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.yihu.base</groupId>
  104. <artifactId>common-security</artifactId>
  105. <version>${version.myCommon}</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.yihu.jw</groupId>
  109. <artifactId>common-entity</artifactId>
  110. <version>${version.myCommon}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.yihu.jw</groupId>
  114. <artifactId>common-request-mapping</artifactId>
  115. <version>${version.myCommon}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>com.yihu.jw</groupId>
  119. <artifactId>common-exception</artifactId>
  120. <version>${version.myCommon}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.yihu.jw</groupId>
  124. <artifactId>common-rest-model</artifactId>
  125. <version>${version.myCommon}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.yihu.jw</groupId>
  129. <artifactId>svr-base</artifactId>
  130. <version>${version.myCommon}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.yihu.jw</groupId>
  134. <artifactId>common-util</artifactId>
  135. <version>${version.myCommon}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>com.yihu.base</groupId>
  139. <artifactId>common-swagger</artifactId>
  140. <version>${version.myCommon}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.yihu.base</groupId>
  144. <artifactId>common-data-mysql</artifactId>
  145. <version>${version.myCommon}</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>com.yihu.base</groupId>
  149. <artifactId>common-log</artifactId>
  150. <version>${version.myCommon}</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>com.yihu.base</groupId>
  154. <artifactId>common-quartz</artifactId>
  155. <version>${version.myCommon}</version>
  156. </dependency>
  157. <!--旧版本 自己的封装 common 已经停止更新 end-->
  158. <!--新版本 封装 common start-->
  159. <dependency>
  160. <groupId>com.yihu</groupId>
  161. <artifactId>common-activemq-starter</artifactId>
  162. <version>1.0.1</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>com.yihu</groupId>
  166. <artifactId>common-cache-starter</artifactId>
  167. <version>1.0.0</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>com.yihu</groupId>
  171. <artifactId>common-async-starter</artifactId>
  172. <version>1.0.0</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>com.yihu</groupId>
  176. <artifactId>common-data-es-starter</artifactId>
  177. <version>1.0.1</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>com.yihu</groupId>
  181. <artifactId>common-data-fastdfs-starter</artifactId>
  182. <version>1.0.0</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>com.yihu</groupId>
  186. <artifactId>common-data-hbase-starter</artifactId>
  187. <version>1.0.0</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>com.yihu</groupId>
  191. <artifactId>common-data-mysql-starter</artifactId>
  192. <version>1.0.0</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>com.yihu</groupId>
  196. <artifactId>common-data-redis-starter</artifactId>
  197. <version>1.0.0</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>com.yihu</groupId>
  201. <artifactId>common-data-solr-starter</artifactId>
  202. <version>1.0.0</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>com.yihu</groupId>
  206. <artifactId>common-logback-starter</artifactId>
  207. <version>1.0.0</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>com.yihu</groupId>
  211. <artifactId>common-quartz-starter</artifactId>
  212. <version>1.0.0</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>com.yihu</groupId>
  216. <artifactId>common-security-starter</artifactId>
  217. <version>1.0.0</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>com.yihu</groupId>
  221. <artifactId>common-swagger-starter</artifactId>
  222. <version>1.0.0</version>
  223. </dependency>
  224. <!--新版本 封装 common start-->
  225. <!--数据库驱动 start-->
  226. <dependency>
  227. <groupId>mysql</groupId>
  228. <artifactId>mysql-connector-java</artifactId>
  229. <version>${version.mysql}</version>
  230. </dependency>
  231. <!--数据库驱动 end-->
  232. <!--fastJson start-->
  233. <dependency>
  234. <groupId>com.fasterxml.jackson.core</groupId>
  235. <artifactId>jackson-annotations</artifactId>
  236. <version>${version.jackson}</version>
  237. </dependency>
  238. <dependency>
  239. <groupId>com.fasterxml.jackson.core</groupId>
  240. <artifactId>jackson-core</artifactId>
  241. <version>${version.jackson}</version>
  242. </dependency>
  243. <dependency>
  244. <groupId>com.fasterxml.jackson.module</groupId>
  245. <artifactId>jackson-module-jaxb-annotations</artifactId>
  246. <version>${version.jackson}</version>
  247. </dependency>
  248. <dependency>
  249. <groupId>com.fasterxml.jackson.core</groupId>
  250. <artifactId>jackson-databind</artifactId>
  251. <version>${version.jackson}</version>
  252. </dependency>
  253. <!--fastJson end-->
  254. <!--zipkin 日志追踪 start-->
  255. <dependency>
  256. <groupId>io.zipkin.java</groupId>
  257. <artifactId>zipkin-server</artifactId>
  258. <version>${version.zipkin}</version>
  259. </dependency>
  260. <dependency>
  261. <groupId>io.zipkin.java</groupId>
  262. <artifactId>zipkin-autoconfigure-ui</artifactId>
  263. <version>${version.zipkin}</version>
  264. </dependency>
  265. <dependency>
  266. <groupId>io.zipkin.java</groupId>
  267. <artifactId>zipkin-autoconfigure-storage-elasticsearch-http</artifactId>
  268. <version>${version.zipkin}</version>
  269. </dependency>
  270. <!--zipkin end-->
  271. <!---->
  272. <dependency>
  273. <groupId>org.springside</groupId>
  274. <artifactId>springside-core</artifactId>
  275. <version>${version.springside}</version>
  276. <classifier>GA</classifier>
  277. </dependency>
  278. <!--hibernate start-->
  279. <dependency>
  280. <groupId>org.hibernate</groupId>
  281. <artifactId>hibernate-core</artifactId>
  282. <version>${version.hibernate}</version>
  283. </dependency>
  284. <dependency>
  285. <groupId>org.hibernate.javax.persistence</groupId>
  286. <artifactId>hibernate-jpa-2.1-api</artifactId>
  287. <version>${version.hibernate-jpa}</version>
  288. </dependency>
  289. <!--hibernate end-->
  290. <!--fastdfs start-->
  291. <dependency>
  292. <groupId>com.yihu.base</groupId>
  293. <artifactId>common-data-fastdfs</artifactId>
  294. <version>${version.myCommon}</version>
  295. </dependency>
  296. <dependency>
  297. <groupId>org.csource</groupId>
  298. <artifactId>fastdfs_lib</artifactId>
  299. <version>${version.fastdfs}</version>
  300. </dependency>
  301. <!--fastdfs end-->
  302. <!--servlet api-->
  303. <dependency>
  304. <groupId>javax.servlet</groupId>
  305. <artifactId>javax.servlet-api</artifactId>
  306. <version>${version.servlet-api}</version>
  307. </dependency>
  308. <!--servlet api-->
  309. <!--swagger ui start-->
  310. <dependency>
  311. <groupId>io.springfox</groupId>
  312. <artifactId>springfox-swagger2</artifactId>
  313. <version>${version.swagger}</version>
  314. </dependency>
  315. <dependency>
  316. <groupId>io.springfox</groupId>
  317. <artifactId>springfox-swagger-ui</artifactId>
  318. <version>${version.swagger-ui}</version>
  319. </dependency>
  320. <!--swagger ui end-->
  321. <!--quartz start-->
  322. <dependency>
  323. <groupId>org.quartz-scheduler</groupId>
  324. <artifactId>quartz</artifactId>
  325. <version>${version.quartz}</version>
  326. </dependency>
  327. <dependency>
  328. <groupId>org.quartz-scheduler</groupId>
  329. <artifactId>quartz-jobs</artifactId>
  330. <version>${version.quartz}</version>
  331. </dependency>
  332. <!--quartz end-->
  333. <!--log start-->
  334. <dependency>
  335. <groupId>ch.qos.logback</groupId>
  336. <artifactId>logback-classic</artifactId>
  337. <version>${version.logback}</version>
  338. </dependency>
  339. <dependency>
  340. <groupId>ch.qos.logback</groupId>
  341. <artifactId>logback-core</artifactId>
  342. <version>${version.logback}</version>
  343. </dependency>
  344. <dependency>
  345. <groupId>ch.qos.logback</groupId>
  346. <artifactId>logback-access</artifactId>
  347. <version>${version.logback}</version>
  348. </dependency>
  349. <!--log end-->
  350. <!-- json start-->
  351. <dependency>
  352. <groupId>org.json</groupId>
  353. <artifactId>json</artifactId>
  354. <version>${version.json}</version>
  355. </dependency>
  356. <dependency>
  357. <groupId>net.sf.json-lib</groupId>
  358. <artifactId>json-lib</artifactId>
  359. <version>${version.net-json}</version>
  360. </dependency>
  361. <!--json end -->
  362. <!-- es 客户端 start-->
  363. <dependency>
  364. <groupId>io.searchbox</groupId>
  365. <artifactId>jest</artifactId>
  366. <version>${version.jest}</version>
  367. </dependency>
  368. <dependency>
  369. <groupId>org.elasticsearch</groupId>
  370. <artifactId>elasticsearch</artifactId>
  371. <version>${version.elasticsearch}</version>
  372. </dependency>
  373. <!-- es 客户端 end-->
  374. <dependency>
  375. <groupId>org.apache.commons</groupId>
  376. <artifactId>commons-lang3</artifactId>
  377. <version>${version.common.lang3}</version>
  378. </dependency>
  379. <dependency>
  380. <groupId>commons-collections</groupId>
  381. <artifactId>commons-collections</artifactId>
  382. <version>${version.commons.collections}</version>
  383. </dependency>
  384. <dependency>
  385. <groupId>commons-codec</groupId>
  386. <artifactId>commons-codec</artifactId>
  387. <version>${version.commons.codec}</version>
  388. </dependency>
  389. <!--hadoop start-->
  390. <dependency>
  391. <groupId>org.apache.hadoop</groupId>
  392. <artifactId>hadoop-common</artifactId>
  393. <version>${version.hadoop}</version>
  394. </dependency>
  395. <dependency>
  396. <groupId>org.apache.hadoop</groupId>
  397. <artifactId>hadoop-client</artifactId>
  398. <version>${version.hadoop}</version>
  399. </dependency>
  400. <dependency>
  401. <groupId>org.apache.hadoop</groupId>
  402. <artifactId>hadoop-hdfs</artifactId>
  403. <version>${version.hadoop}</version>
  404. </dependency>
  405. <dependency>
  406. <groupId>org.apache.hadoop</groupId>
  407. <artifactId>hadoop-mapreduce-client-core</artifactId>
  408. <version>${version.hadoop}</version>
  409. </dependency>
  410. <dependency>
  411. <groupId>org.apache.hadoop</groupId>
  412. <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
  413. <version>${version.hadoop}</version>
  414. </dependency>
  415. <!--hadoop endf-->
  416. <!--scala编译 start-->
  417. <dependency>
  418. <groupId>org.scala-lang</groupId>
  419. <artifactId>scala-library</artifactId>
  420. <version>${version.scala}</version>
  421. </dependency>
  422. <dependency>
  423. <groupId>org.scala-lang</groupId>
  424. <artifactId>scala-compiler</artifactId>
  425. <version>${version.scala}</version>
  426. </dependency>
  427. <!--scala编译 end-->
  428. <!--elasticsearch start-->
  429. <dependency>
  430. <groupId>org.nlpcn</groupId>
  431. <artifactId>elasticsearch-sql</artifactId>
  432. <version>${version.elasticsearch-sql}</version>
  433. </dependency>
  434. <!--elasticsearch end-->
  435. <!--alibaba json 包-->
  436. <dependency>
  437. <groupId>com.alibaba</groupId>
  438. <artifactId>fastjson</artifactId>
  439. <version>${verion.fastJson}</version>
  440. <!--json 包-->
  441. </dependency>
  442. <dependency>
  443. <groupId>org.springframework.data</groupId>
  444. <artifactId>spring-data-hadoop-hbase</artifactId>
  445. <version>${version.spring-data-hadoop}</version>
  446. </dependency>
  447. <!-- hbase start-->
  448. <dependency>
  449. <groupId>org.apache.hbase</groupId>
  450. <artifactId>hbase-protocol</artifactId>
  451. <version>${version.hbase-client}</version>
  452. </dependency>
  453. <dependency>
  454. <groupId>org.apache.hbase</groupId>
  455. <artifactId>hbase-client</artifactId>
  456. <version>${version.hbase-client}</version>
  457. </dependency>
  458. <dependency>
  459. <groupId>org.apache.hbase</groupId>
  460. <artifactId>hbase-common</artifactId>
  461. <version>${version.hbase-client}</version>
  462. <exclusions>
  463. <exclusion>
  464. <groupId>org.slf4j</groupId>
  465. <artifactId>slf4j-log4j12</artifactId>
  466. </exclusion>
  467. </exclusions>
  468. </dependency>
  469. <!-- hbase end-->
  470. <!--solr start-->
  471. <dependency>
  472. <groupId>joda-time</groupId>
  473. <artifactId>joda-time</artifactId>
  474. <version>${version.joda-time}</version>
  475. </dependency>
  476. <dependency>
  477. <groupId>org.apache.solr</groupId>
  478. <artifactId>solr-core</artifactId>
  479. <version>${version.solr}</version>
  480. <exclusions>
  481. <exclusion>
  482. <groupId>commons-lang</groupId>
  483. <artifactId>commons-lang</artifactId>
  484. </exclusion>
  485. </exclusions>
  486. </dependency>
  487. <dependency>
  488. <groupId>org.apache.solr</groupId>
  489. <artifactId>solr-solrj</artifactId>
  490. <version>${version.solr}</version>
  491. <exclusions>
  492. <exclusion>
  493. <groupId>commons-lang</groupId>
  494. <artifactId>commons-lang</artifactId>
  495. </exclusion>
  496. </exclusions>
  497. </dependency>
  498. <!--solr end-->
  499. <dependency>
  500. <groupId>org.springframework</groupId>
  501. <artifactId>spring-beans</artifactId>
  502. <version>4.3.3.RELEASE</version>
  503. </dependency>
  504. </dependencies>
  505. </dependencyManagement>
  506. <build>
  507. <plugins>
  508. <!--编译插件 start-->
  509. <plugin>
  510. <groupId>org.apache.maven.plugins</groupId>
  511. <artifactId>maven-compiler-plugin</artifactId>
  512. <configuration>
  513. <source>1.8</source>
  514. <target>1.8</target>
  515. </configuration>
  516. <version>3.1</version>
  517. </plugin>
  518. <!--编译插件 end-->
  519. <plugin>
  520. <groupId>org.asciidoctor</groupId>
  521. <artifactId>asciidoctor-maven-plugin</artifactId>
  522. <version>${asciidoctor.maven.plugin.version}</version>
  523. <configuration>
  524. <sourceDirectory>build</sourceDirectory>
  525. <outputDirectory>build/asciidoc/${project.version}</outputDirectory>
  526. <headerFooter>true</headerFooter>
  527. <doctype>book</doctype>
  528. <sourceHighlighter>coderay</sourceHighlighter>
  529. <attributes>
  530. <toc>left</toc>
  531. <toclevels>3</toclevels>
  532. <sectnums>true</sectnums>
  533. <revnumber>${project.version}</revnumber>
  534. <revdate>${maven.build.timestamp}</revdate>
  535. <organization>厦门健康之路</organization>
  536. <sourcedir>${project.build.sourceDirectory}</sourcedir>
  537. </attributes>
  538. </configuration>
  539. <executions>
  540. <execution>
  541. <id>output-html</id>
  542. <phase>generate-resources</phase>
  543. <goals>
  544. <goal>process-asciidoc</goal>
  545. </goals>
  546. <configuration>
  547. <backend>html5</backend>
  548. </configuration>
  549. </execution>
  550. <execution>
  551. <id>output-docbook</id>
  552. <phase>generate-resources</phase>
  553. <goals>
  554. <goal>process-asciidoc</goal>
  555. </goals>
  556. <configuration>
  557. <backend>docbook</backend>
  558. </configuration>
  559. </execution>
  560. </executions>
  561. </plugin>
  562. </plugins>
  563. <pluginManagement>
  564. <plugins>
  565. <!--打成war包插件 还需要
  566. 1.配置类继承SpringBootServletInitializer
  567. 2.把所有tomcat相关的包的生命周期改成provide
  568. start-->
  569. <plugin>
  570. <artifactId>maven-war-plugin</artifactId>
  571. <configuration>
  572. <failOnMissingWebXml>false</failOnMissingWebXml>
  573. </configuration>
  574. </plugin>
  575. <!--打成war包插件 end-->
  576. <!--springboot插件 start-->
  577. <plugin>
  578. <groupId>org.springframework.boot</groupId>
  579. <artifactId>spring-boot-maven-plugin</artifactId>
  580. <executions>
  581. <execution>
  582. <goals>
  583. <goal>repackage</goal>
  584. </goals>
  585. </execution>
  586. </executions>
  587. </plugin>
  588. <!--springboot插件 en-->
  589. </plugins>
  590. </pluginManagement>
  591. </build>
  592. </project>