pom.xml 10 KB

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