pom.xml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  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.jw</groupId>
  14. <artifactId>wlyy-starter</artifactId>
  15. <packaging>pom</packaging>
  16. <version>2.0.0</version>
  17. <!-- 模块列表 -->
  18. <modules>
  19. <!--<module>../starter/hbase-starter</module>-->
  20. <module>../starter/swagger-starter</module>
  21. </modules>
  22. <!-- 项目发布到这个服务器 -->
  23. <distributionManagement>
  24. <repository>
  25. <id>jkzlRepositories</id>
  26. <name>jkzlRepositories</name>
  27. <url>http://192.168.1.220:8081/nexus/content/repositories/jkzlRepositories/</url>
  28. </repository>
  29. </distributionManagement>
  30. <properties>
  31. <version.spring-cloud>Edgware.SR4</version.spring-cloud>
  32. <version.jackson>2.6.6</version.jackson>
  33. <version.fastdfs>1.27</version.fastdfs>
  34. <version.swagger>2.7.0</version.swagger>
  35. <version.swagger-ui>2.7.0</version.swagger-ui>
  36. <version.swagger2markup>1.3.2</version.swagger2markup>
  37. <version.springfox-staticdocs>2.6.1</version.springfox-staticdocs>
  38. <version.mysql>5.1.45</version.mysql>
  39. <version.commons-dbcp2>2.1.1</version.commons-dbcp2>
  40. <version.commons-lang3>3.4</version.commons-lang3>
  41. <version.commons.collections>3.2.1</version.commons.collections>
  42. <version.hibernate>5.0.12.Final</version.hibernate>
  43. <version.hibernate-validator>6.0.10.Final</version.hibernate-validator>
  44. <version.hibernate-jpa-api>1.0.0.Final</version.hibernate-jpa-api>
  45. <version.elasticsearch>2.4.0</version.elasticsearch>
  46. <version.elasticsearch-sql>2.4.1.0</version.elasticsearch-sql>
  47. <version.jest>2.4.0</version.jest>
  48. <verion.fastjson>1.2.17</verion.fastjson>
  49. <version.druid>1.0.15</version.druid>
  50. <version.jna>3.0.9</version.jna>
  51. <version.hbase-client>2.2.4</version.hbase-client>
  52. <version.spring-data-hadoop>2.2.0.RELEASE</version.spring-data-hadoop>
  53. <version.spring-data-solr>2.1.3.RELEASE</version.spring-data-solr>
  54. <version.bcprov-jdk15on>1.59</version.bcprov-jdk15on>
  55. <version.json>20160212</version.json>
  56. <version.json-lib>2.4</version.json-lib>
  57. <version.pinyin4j>2.5.0</version.pinyin4j>
  58. <version.cat>2.0.0</version.cat>
  59. <version.feign-okhttp>9.3.1</version.feign-okhttp>
  60. </properties>
  61. <dependencyManagement>
  62. <dependencies>
  63. <!-- Spring Cloud -->
  64. <dependency>
  65. <groupId>org.springframework.cloud</groupId>
  66. <artifactId>spring-cloud-dependencies</artifactId>
  67. <version>${version.spring-cloud}</version>
  68. <type>pom</type>
  69. <scope>import</scope>
  70. </dependency>
  71. <!-- Swagger-ui library -->
  72. <dependency>
  73. <groupId>io.springfox</groupId>
  74. <artifactId>springfox-swagger2</artifactId>
  75. <version>${version.swagger}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>io.springfox</groupId>
  79. <artifactId>springfox-swagger-ui</artifactId>
  80. <version>${version.swagger-ui}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>io.springfox</groupId>
  84. <artifactId>springfox-staticdocs</artifactId>
  85. <version>${version.springfox-staticdocs}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>io.github.swagger2markup</groupId>
  89. <artifactId>swagger2markup</artifactId>
  90. <version>${version.swagger2markup}</version>
  91. </dependency>
  92. <!-- Alibaba library -->
  93. <dependency>
  94. <groupId>com.alibaba</groupId>
  95. <artifactId>fastjson</artifactId>
  96. <version>${verion.fastjson}</version>
  97. </dependency>
  98. <!-- jna library -->
  99. <dependency>
  100. <groupId>com.sun.jna</groupId>
  101. <artifactId>jna</artifactId>
  102. <version>${version.jna}</version>
  103. </dependency>
  104. <!-- Apache library -->
  105. <dependency>
  106. <groupId>org.apache.commons</groupId>
  107. <artifactId>commons-dbcp2</artifactId>
  108. <version>${version.commons-dbcp2}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.apache.commons</groupId>
  112. <artifactId>commons-lang3</artifactId>
  113. <version>${version.commons-lang3}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>commons-collections</groupId>
  117. <artifactId>commons-collections</artifactId>
  118. <version>${version.commons.collections}</version>
  119. </dependency>
  120. <!-- Jackson library -->
  121. <dependency>
  122. <groupId>com.fasterxml.jackson.core</groupId>
  123. <artifactId>jackson-annotations</artifactId>
  124. <version>${version.jackson}</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.fasterxml.jackson.core</groupId>
  128. <artifactId>jackson-core</artifactId>
  129. <version>${version.jackson}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>com.fasterxml.jackson.core</groupId>
  133. <artifactId>jackson-databind</artifactId>
  134. <version>${version.jackson}</version>
  135. </dependency>
  136. <!-- Json library -->
  137. <dependency>
  138. <groupId>org.json</groupId>
  139. <artifactId>json</artifactId>
  140. <version>${version.json}</version>
  141. </dependency>
  142. <!-- Net json library -->
  143. <dependency>
  144. <groupId>net.sf.json-lib</groupId>
  145. <artifactId>json-lib</artifactId>
  146. <version>${version.json-lib}</version>
  147. </dependency>
  148. <!-- Hbase library -->
  149. <dependency>
  150. <groupId>org.apache.hbase</groupId>
  151. <artifactId>hbase-client</artifactId>
  152. <version>${version.hbase-client}</version>
  153. <exclusions>
  154. <exclusion>
  155. <groupId>org.apache.hadoop</groupId>
  156. <artifactId>*</artifactId>
  157. </exclusion>
  158. <exclusion>
  159. <groupId>org.slf4j</groupId>
  160. <artifactId>slf4j-log4j12</artifactId>
  161. </exclusion>
  162. </exclusions>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.apache.hbase</groupId>
  166. <artifactId>hbase-common</artifactId>
  167. <version>${version.hbase-client}</version>
  168. <exclusions>
  169. <exclusion>
  170. <groupId>org.slf4j</groupId>
  171. <artifactId>slf4j-log4j12</artifactId>
  172. </exclusion>
  173. </exclusions>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.apache.hbase</groupId>
  177. <artifactId>hbase-protocol</artifactId>
  178. <version>${version.hbase-client}</version>
  179. <exclusions>
  180. <exclusion>
  181. <groupId>org.slf4j</groupId>
  182. <artifactId>slf4j-log4j12</artifactId>
  183. </exclusion>
  184. </exclusions>
  185. </dependency>
  186. <dependency>
  187. <groupId>org.springframework.data</groupId>
  188. <artifactId>spring-data-hadoop-hbase</artifactId>
  189. <version>${version.spring-data-hadoop}</version>
  190. </dependency>
  191. <!-- security library -->
  192. <dependency>
  193. <groupId>org.bouncycastle</groupId>
  194. <artifactId>bcprov-jdk15on</artifactId>
  195. <version>${version.bcprov-jdk15on}</version>
  196. </dependency>
  197. <!-- 拼音 -->
  198. <dependency>
  199. <groupId>com.belerweb</groupId>
  200. <artifactId>pinyin4j</artifactId>
  201. <version>${version.pinyin4j}</version>
  202. </dependency>
  203. </dependencies>
  204. </dependencyManagement>
  205. <build>
  206. <plugins>
  207. <plugin>
  208. <groupId>org.apache.maven.plugins</groupId>
  209. <artifactId>maven-source-plugin</artifactId>
  210. <configuration>
  211. <attach>true</attach>
  212. </configuration>
  213. <executions>
  214. <execution>
  215. <phase>compile</phase>
  216. <goals>
  217. <goal>jar</goal>
  218. </goals>
  219. </execution>
  220. </executions>
  221. </plugin>
  222. </plugins>
  223. </build>
  224. </project>