pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  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. <module>cat-starter</module>
  29. </modules>
  30. <!-- 项目发布到这个服务器 -->
  31. <distributionManagement>
  32. <repository>
  33. <id>jkzlRepositories</id>
  34. <name>jkzlRepositories</name>
  35. <url>http://172.19.103.43:8081/nexus/content/repositories/jkzlRepositories/</url>
  36. </repository>
  37. </distributionManagement>
  38. <properties>
  39. <version.spring-cloud>Edgware.SR4</version.spring-cloud>
  40. <version.jackson>2.6.6</version.jackson>
  41. <version.fastdfs>1.27</version.fastdfs>
  42. <version.swagger>2.7.0</version.swagger>
  43. <version.swagger-ui>2.7.0</version.swagger-ui>
  44. <version.swagger2markup>1.3.2</version.swagger2markup>
  45. <version.springfox-staticdocs>2.6.1</version.springfox-staticdocs>
  46. <version.mysql>5.1.45</version.mysql>
  47. <version.commons-dbcp2>2.1.1</version.commons-dbcp2>
  48. <version.commons-lang3>3.4</version.commons-lang3>
  49. <version.commons.collections>3.2.1</version.commons.collections>
  50. <version.hibernate>5.0.12.Final</version.hibernate>
  51. <version.hibernate-validator>6.0.10.Final</version.hibernate-validator>
  52. <version.hibernate-jpa-api>1.0.0.Final</version.hibernate-jpa-api>
  53. <version.elasticsearch>2.4.0</version.elasticsearch>
  54. <version.elasticsearch-sql>2.4.1.0</version.elasticsearch-sql>
  55. <version.jest>2.4.0</version.jest>
  56. <verion.fastjson>1.2.17</verion.fastjson>
  57. <version.druid>1.0.15</version.druid>
  58. <version.jna>3.0.9</version.jna>
  59. <version.hbase-client>1.1.1</version.hbase-client>
  60. <version.spring-data-hadoop>2.2.0.RELEASE</version.spring-data-hadoop>
  61. <version.spring-data-solr>2.1.3.RELEASE</version.spring-data-solr>
  62. <version.bcprov-jdk15on>1.59</version.bcprov-jdk15on>
  63. <version.json>20160212</version.json>
  64. <version.json-lib>2.4</version.json-lib>
  65. <version.pinyin4j>2.5.0</version.pinyin4j>
  66. <version.cat>2.0.0</version.cat>
  67. <version.feign-okhttp>9.3.1</version.feign-okhttp>
  68. </properties>
  69. <dependencyManagement>
  70. <dependencies>
  71. <!-- Spring Cloud -->
  72. <dependency>
  73. <groupId>org.springframework.cloud</groupId>
  74. <artifactId>spring-cloud-dependencies</artifactId>
  75. <version>${version.spring-cloud}</version>
  76. <type>pom</type>
  77. <scope>import</scope>
  78. </dependency>
  79. <!-- FastDFS library -->
  80. <dependency>
  81. <groupId>org.csource</groupId>
  82. <artifactId>fastdfs-client-java</artifactId>
  83. <version>${version.fastdfs}</version>
  84. </dependency>
  85. <!-- Swagger-ui library -->
  86. <dependency>
  87. <groupId>io.springfox</groupId>
  88. <artifactId>springfox-swagger2</artifactId>
  89. <version>${version.swagger}</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>io.springfox</groupId>
  93. <artifactId>springfox-swagger-ui</artifactId>
  94. <version>${version.swagger-ui}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>io.springfox</groupId>
  98. <artifactId>springfox-staticdocs</artifactId>
  99. <version>${version.springfox-staticdocs}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>io.github.swagger2markup</groupId>
  103. <artifactId>swagger2markup</artifactId>
  104. <version>${version.swagger2markup}</version>
  105. </dependency>
  106. <!-- Mysql library -->
  107. <dependency>
  108. <groupId>mysql</groupId>
  109. <artifactId>mysql-connector-java</artifactId>
  110. <version>${version.mysql}</version>
  111. </dependency>
  112. <!-- Hibernate framework library -->
  113. <dependency>
  114. <groupId>org.hibernate</groupId>
  115. <artifactId>hibernate-core</artifactId>
  116. <version>${version.hibernate}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.hibernate</groupId>
  120. <artifactId>hibernate-entitymanager</artifactId>
  121. <version>${version.hibernate}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.hibernate</groupId>
  125. <artifactId>hibernate-validator</artifactId>
  126. <version>${version.hibernate-validator}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.hibernate.javax.persistence</groupId>
  130. <artifactId>hibernate-jpa-2.1-api</artifactId>
  131. <version>${version.hibernate-jpa-api}</version>
  132. </dependency>
  133. <!-- Elasticsearch library -->
  134. <dependency>
  135. <groupId>org.elasticsearch</groupId>
  136. <artifactId>elasticsearch</artifactId>
  137. <version>${version.elasticsearch}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.nlpcn</groupId>
  141. <artifactId>elasticsearch-sql</artifactId>
  142. <version>${version.elasticsearch-sql}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>io.searchbox</groupId>
  146. <artifactId>jest</artifactId>
  147. <version>${version.jest}</version>
  148. </dependency>
  149. <!-- Alibaba library -->
  150. <dependency>
  151. <groupId>com.alibaba</groupId>
  152. <artifactId>fastjson</artifactId>
  153. <version>${verion.fastjson}</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>com.alibaba</groupId>
  157. <artifactId>druid</artifactId>
  158. <version>${version.druid}</version>
  159. </dependency>
  160. <!-- jna library -->
  161. <dependency>
  162. <groupId>com.sun.jna</groupId>
  163. <artifactId>jna</artifactId>
  164. <version>${version.jna}</version>
  165. </dependency>
  166. <!-- Apache library -->
  167. <dependency>
  168. <groupId>org.apache.commons</groupId>
  169. <artifactId>commons-dbcp2</artifactId>
  170. <version>${version.commons-dbcp2}</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.apache.commons</groupId>
  174. <artifactId>commons-lang3</artifactId>
  175. <version>${version.commons-lang3}</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>commons-collections</groupId>
  179. <artifactId>commons-collections</artifactId>
  180. <version>${version.commons.collections}</version>
  181. </dependency>
  182. <!-- Jackson library -->
  183. <dependency>
  184. <groupId>com.fasterxml.jackson.core</groupId>
  185. <artifactId>jackson-annotations</artifactId>
  186. <version>${version.jackson}</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>com.fasterxml.jackson.core</groupId>
  190. <artifactId>jackson-core</artifactId>
  191. <version>${version.jackson}</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>com.fasterxml.jackson.core</groupId>
  195. <artifactId>jackson-databind</artifactId>
  196. <version>${version.jackson}</version>
  197. </dependency>
  198. <!-- Json library -->
  199. <dependency>
  200. <groupId>org.json</groupId>
  201. <artifactId>json</artifactId>
  202. <version>${version.json}</version>
  203. </dependency>
  204. <!-- Net json library -->
  205. <dependency>
  206. <groupId>net.sf.json-lib</groupId>
  207. <artifactId>json-lib</artifactId>
  208. <version>${version.json-lib}</version>
  209. </dependency>
  210. <!-- Hbase library -->
  211. <dependency>
  212. <groupId>org.apache.hbase</groupId>
  213. <artifactId>hbase-client</artifactId>
  214. <version>${version.hbase-client}</version>
  215. <exclusions>
  216. <exclusion>
  217. <groupId>org.apache.hadoop</groupId>
  218. <artifactId>*</artifactId>
  219. </exclusion>
  220. <exclusion>
  221. <groupId>org.slf4j</groupId>
  222. <artifactId>slf4j-log4j12</artifactId>
  223. </exclusion>
  224. </exclusions>
  225. </dependency>
  226. <dependency>
  227. <groupId>org.apache.hbase</groupId>
  228. <artifactId>hbase-common</artifactId>
  229. <version>${version.hbase-client}</version>
  230. <exclusions>
  231. <exclusion>
  232. <groupId>org.slf4j</groupId>
  233. <artifactId>slf4j-log4j12</artifactId>
  234. </exclusion>
  235. </exclusions>
  236. </dependency>
  237. <dependency>
  238. <groupId>org.apache.hbase</groupId>
  239. <artifactId>hbase-protocol</artifactId>
  240. <version>${version.hbase-client}</version>
  241. <exclusions>
  242. <exclusion>
  243. <groupId>org.slf4j</groupId>
  244. <artifactId>slf4j-log4j12</artifactId>
  245. </exclusion>
  246. </exclusions>
  247. </dependency>
  248. <dependency>
  249. <groupId>org.springframework.data</groupId>
  250. <artifactId>spring-data-hadoop-hbase</artifactId>
  251. <version>${version.spring-data-hadoop}</version>
  252. </dependency>
  253. <!-- Solr library -->
  254. <dependency>
  255. <groupId>org.springframework.data</groupId>
  256. <artifactId>spring-data-solr</artifactId>
  257. <version>${version.spring-data-solr}</version>
  258. </dependency>
  259. <!-- security library -->
  260. <dependency>
  261. <groupId>org.bouncycastle</groupId>
  262. <artifactId>bcprov-jdk15on</artifactId>
  263. <version>${version.bcprov-jdk15on}</version>
  264. </dependency>
  265. <!-- 拼音 -->
  266. <dependency>
  267. <groupId>com.belerweb</groupId>
  268. <artifactId>pinyin4j</artifactId>
  269. <version>${version.pinyin4j}</version>
  270. </dependency>
  271. <!-- Cat -->
  272. <dependency>
  273. <groupId>com.dianping.cat</groupId>
  274. <artifactId>cat-client</artifactId>
  275. <version>${version.cat}</version>
  276. </dependency>
  277. <!-- OkHttp -->
  278. <dependency>
  279. <groupId>io.github.openfeign</groupId>
  280. <artifactId>feign-okhttp</artifactId>
  281. <version>${version.feign-okhttp}</version>
  282. </dependency>
  283. </dependencies>
  284. </dependencyManagement>
  285. <build>
  286. <plugins>
  287. <plugin>
  288. <groupId>org.apache.maven.plugins</groupId>
  289. <artifactId>maven-source-plugin</artifactId>
  290. <configuration>
  291. <attach>true</attach>
  292. </configuration>
  293. <executions>
  294. <execution>
  295. <phase>compile</phase>
  296. <goals>
  297. <goal>jar</goal>
  298. </goals>
  299. </execution>
  300. </executions>
  301. </plugin>
  302. </plugins>
  303. </build>
  304. </project>