pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  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. <parent>
  8. <groupId>org.springframework.boot</groupId>
  9. <artifactId>spring-boot-starter-parent</artifactId>
  10. <version>1.5.9.RELEASE</version>
  11. </parent>
  12. <!-- Self -->
  13. <groupId>com.yihu</groupId>
  14. <artifactId>jkzl-starter</artifactId>
  15. <packaging>pom</packaging>
  16. <version>2.0.0</version>
  17. <!-- 模块列表 -->
  18. <modules>
  19. <module>fastdfs-starter</module>
  20. <module>swagger-starter</module>
  21. <module>mysql-starter</module>
  22. <module>hbase-starter</module>
  23. <module>solr-starter</module>
  24. <module>utils</module>
  25. <module>elasticsearch-starter</module>
  26. <module>elasticsearch-transport-starter</module>
  27. <module>elasticsearch-jest-starter</module>
  28. </modules>
  29. <!-- 项目发布到这个服务器 -->
  30. <distributionManagement>
  31. <repository>
  32. <id>jkzlRepositories</id>
  33. <name>jkzlRepositories</name>
  34. <url>http://172.19.103.43:8081/nexus/content/repositories/jkzlRepositories/</url>
  35. </repository>
  36. </distributionManagement>
  37. <properties>
  38. <version.jackson>2.6.6</version.jackson>
  39. <version.fastdfs>1.27</version.fastdfs>
  40. <version.swagger>2.7.0</version.swagger>
  41. <version.swagger-ui>2.7.0</version.swagger-ui>
  42. <version.swagger2markup>1.3.2</version.swagger2markup>
  43. <version.springfox-staticdocs>2.6.1</version.springfox-staticdocs>
  44. <version.mysql>5.1.45</version.mysql>
  45. <version.commons-dbcp2>2.1.1</version.commons-dbcp2>
  46. <version.commons-lang3>3.4</version.commons-lang3>
  47. <version.commons.collections>3.2.1</version.commons.collections>
  48. <version.hibernate>5.0.12.Final</version.hibernate>
  49. <version.hibernate-validator>6.0.10.Final</version.hibernate-validator>
  50. <version.hibernate-jpa-api>1.0.0.Final</version.hibernate-jpa-api>
  51. <version.elasticsearch>2.4.0</version.elasticsearch>
  52. <version.elasticsearch-sql>2.4.1.0</version.elasticsearch-sql>
  53. <version.jest>2.4.0</version.jest>
  54. <verion.fastjson>1.2.17</verion.fastjson>
  55. <version.druid>1.0.15</version.druid>
  56. <version.jna>3.0.9</version.jna>
  57. <version.hbase-client>1.1.1</version.hbase-client>
  58. <version.spring-data-hadoop>2.2.0.RELEASE</version.spring-data-hadoop>
  59. <version.spring-data-solr>2.1.3.RELEASE</version.spring-data-solr>
  60. <version.bcprov-jdk15on>1.59</version.bcprov-jdk15on>
  61. <version.json>20160212</version.json>
  62. <version.json-lib>2.4</version.json-lib>
  63. <version.pinyin4j>2.5.0</version.pinyin4j>
  64. </properties>
  65. <dependencyManagement>
  66. <dependencies>
  67. <!-- FastDFS library -->
  68. <dependency>
  69. <groupId>org.csource</groupId>
  70. <artifactId>fastdfs-client-java</artifactId>
  71. <version>${version.fastdfs}</version>
  72. </dependency>
  73. <!-- Swagger-ui library -->
  74. <dependency>
  75. <groupId>io.springfox</groupId>
  76. <artifactId>springfox-swagger2</artifactId>
  77. <version>${version.swagger}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>io.springfox</groupId>
  81. <artifactId>springfox-swagger-ui</artifactId>
  82. <version>${version.swagger-ui}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>io.springfox</groupId>
  86. <artifactId>springfox-staticdocs</artifactId>
  87. <version>${version.springfox-staticdocs}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>io.github.swagger2markup</groupId>
  91. <artifactId>swagger2markup</artifactId>
  92. <version>${version.swagger2markup}</version>
  93. </dependency>
  94. <!-- Mysql library -->
  95. <dependency>
  96. <groupId>mysql</groupId>
  97. <artifactId>mysql-connector-java</artifactId>
  98. <version>${version.mysql}</version>
  99. </dependency>
  100. <!-- Hibernate framework library -->
  101. <dependency>
  102. <groupId>org.hibernate</groupId>
  103. <artifactId>hibernate-core</artifactId>
  104. <version>${version.hibernate}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.hibernate</groupId>
  108. <artifactId>hibernate-entitymanager</artifactId>
  109. <version>${version.hibernate}</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.hibernate</groupId>
  113. <artifactId>hibernate-validator</artifactId>
  114. <version>${version.hibernate-validator}</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.hibernate.javax.persistence</groupId>
  118. <artifactId>hibernate-jpa-2.1-api</artifactId>
  119. <version>${version.hibernate-jpa-api}</version>
  120. </dependency>
  121. <!-- Elasticsearch library -->
  122. <dependency>
  123. <groupId>org.elasticsearch</groupId>
  124. <artifactId>elasticsearch</artifactId>
  125. <version>${version.elasticsearch}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.nlpcn</groupId>
  129. <artifactId>elasticsearch-sql</artifactId>
  130. <version>${version.elasticsearch-sql}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>io.searchbox</groupId>
  134. <artifactId>jest</artifactId>
  135. <version>${version.jest}</version>
  136. </dependency>
  137. <!-- Alibaba library -->
  138. <dependency>
  139. <groupId>com.alibaba</groupId>
  140. <artifactId>fastjson</artifactId>
  141. <version>${verion.fastjson}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>com.alibaba</groupId>
  145. <artifactId>druid</artifactId>
  146. <version>${version.druid}</version>
  147. </dependency>
  148. <!-- jna library -->
  149. <dependency>
  150. <groupId>com.sun.jna</groupId>
  151. <artifactId>jna</artifactId>
  152. <version>${version.jna}</version>
  153. </dependency>
  154. <!-- Apache library -->
  155. <dependency>
  156. <groupId>org.apache.commons</groupId>
  157. <artifactId>commons-dbcp2</artifactId>
  158. <version>${version.commons-dbcp2}</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.apache.commons</groupId>
  162. <artifactId>commons-lang3</artifactId>
  163. <version>${version.commons-lang3}</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>commons-collections</groupId>
  167. <artifactId>commons-collections</artifactId>
  168. <version>${version.commons.collections}</version>
  169. </dependency>
  170. <!-- Jackson library -->
  171. <dependency>
  172. <groupId>com.fasterxml.jackson.core</groupId>
  173. <artifactId>jackson-annotations</artifactId>
  174. <version>${version.jackson}</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.fasterxml.jackson.core</groupId>
  178. <artifactId>jackson-core</artifactId>
  179. <version>${version.jackson}</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>com.fasterxml.jackson.core</groupId>
  183. <artifactId>jackson-databind</artifactId>
  184. <version>${version.jackson}</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.json-lib}</version>
  197. </dependency>
  198. <!-- Hbase library -->
  199. <dependency>
  200. <groupId>org.apache.hbase</groupId>
  201. <artifactId>hbase-client</artifactId>
  202. <version>${version.hbase-client}</version>
  203. <exclusions>
  204. <exclusion>
  205. <groupId>org.apache.hadoop</groupId>
  206. <artifactId>*</artifactId>
  207. </exclusion>
  208. <exclusion>
  209. <groupId>org.slf4j</groupId>
  210. <artifactId>slf4j-log4j12</artifactId>
  211. </exclusion>
  212. </exclusions>
  213. </dependency>
  214. <dependency>
  215. <groupId>org.apache.hbase</groupId>
  216. <artifactId>hbase-common</artifactId>
  217. <version>${version.hbase-client}</version>
  218. <exclusions>
  219. <exclusion>
  220. <groupId>org.slf4j</groupId>
  221. <artifactId>slf4j-log4j12</artifactId>
  222. </exclusion>
  223. </exclusions>
  224. </dependency>
  225. <dependency>
  226. <groupId>org.apache.hbase</groupId>
  227. <artifactId>hbase-protocol</artifactId>
  228. <version>${version.hbase-client}</version>
  229. <exclusions>
  230. <exclusion>
  231. <groupId>org.slf4j</groupId>
  232. <artifactId>slf4j-log4j12</artifactId>
  233. </exclusion>
  234. </exclusions>
  235. </dependency>
  236. <dependency>
  237. <groupId>org.springframework.data</groupId>
  238. <artifactId>spring-data-hadoop-hbase</artifactId>
  239. <version>${version.spring-data-hadoop}</version>
  240. </dependency>
  241. <!-- Solr library -->
  242. <dependency>
  243. <groupId>org.springframework.data</groupId>
  244. <artifactId>spring-data-solr</artifactId>
  245. <version>${version.spring-data-solr}</version>
  246. </dependency>
  247. <!-- security library -->
  248. <dependency>
  249. <groupId>org.bouncycastle</groupId>
  250. <artifactId>bcprov-jdk15on</artifactId>
  251. <version>${version.bcprov-jdk15on}</version>
  252. </dependency>
  253. <!-- 拼音 -->
  254. <dependency>
  255. <groupId>com.belerweb</groupId>
  256. <artifactId>pinyin4j</artifactId>
  257. <version>${version.pinyin4j}</version>
  258. </dependency>
  259. </dependencies>
  260. </dependencyManagement>
  261. </project>