pom.xml 8.0 KB

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