pom.xml 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.sagacloud</groupId>
  5. <artifactId>zillion-util</artifactId>
  6. <version>2.3.3.343</version>
  7. <properties>
  8. <maven.compiler.source>1.8</maven.compiler.source>
  9. <maven.compiler.target>1.8</maven.compiler.target>
  10. <log4j2.version>2.15.0</log4j2.version>
  11. </properties>
  12. <repositories>
  13. <repository>
  14. <id>SagaCloud</id>
  15. <name>SagaCloud</name>
  16. <url>http://47.93.33.207:8082/repository/SagaCloud/</url>
  17. <snapshots>
  18. <enabled>true</enabled>
  19. </snapshots>
  20. <releases>
  21. <enabled>true</enabled>
  22. </releases>
  23. </repository>
  24. <repository>
  25. <id>alimaven</id>
  26. <name>aliyun maven</name>
  27. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  28. </repository>
  29. <repository>
  30. <id>mvnrepository</id>
  31. <url>https://mvnrepository.com/</url>
  32. </repository>
  33. <repository>
  34. <id>sonatype-nexus-snapshots</id>
  35. <name>Sonatype Nexus Snapshots</name>
  36. <url>http://oss.sonatype.org/content/repositories/snapshots</url>
  37. </repository>
  38. </repositories>
  39. <dependencies>
  40. <dependency>
  41. <groupId>jdk.tools</groupId>
  42. <artifactId>jdk.tools</artifactId>
  43. <version>1.8</version>
  44. <scope>system</scope>
  45. <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
  46. </dependency>
  47. <dependency>
  48. <groupId>dom4j</groupId>
  49. <artifactId>dom4j</artifactId>
  50. <version>1.6.1</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>jaxen</groupId>
  54. <artifactId>jaxen</artifactId>
  55. <version>1.1.6</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.reflections</groupId>
  59. <artifactId>reflections</artifactId>
  60. <version>0.9.10</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.apache.hbase</groupId>
  64. <artifactId>hbase-client</artifactId>
  65. <version>1.2.6</version>
  66. <exclusions>
  67. <!-- -->
  68. <exclusion>
  69. <groupId>org.apache.hadoop</groupId>
  70. <artifactId>hadoop-annotations</artifactId>
  71. </exclusion>
  72. <exclusion>
  73. <groupId>org.apache.hadoop</groupId>
  74. <artifactId>hadoop-auth</artifactId>
  75. </exclusion>
  76. <exclusion>
  77. <groupId>org.apache.hadoop</groupId>
  78. <artifactId>hadoop-common</artifactId>
  79. </exclusion>
  80. <exclusion>
  81. <groupId>org.apache.hadoop</groupId>
  82. <artifactId>hadoop-hdfs</artifactId>
  83. </exclusion>
  84. <exclusion>
  85. <groupId>org.apache.hadoop</groupId>
  86. <artifactId>hadoop-mapreduce-client-core</artifactId>
  87. </exclusion>
  88. <exclusion>
  89. <groupId>org.apache.hadoop</groupId>
  90. <artifactId>hadoop-yarn-api</artifactId>
  91. </exclusion>
  92. <exclusion>
  93. <groupId>org.apache.hadoop</groupId>
  94. <artifactId>hadoop-yarn-common</artifactId>
  95. </exclusion>
  96. <exclusion>
  97. <groupId>io.netty</groupId>
  98. <artifactId>netty-all</artifactId>
  99. </exclusion>
  100. <exclusion>
  101. <groupId>org.apache.zookeeper</groupId>
  102. <artifactId>zookeeper</artifactId>
  103. </exclusion>
  104. </exclusions>
  105. </dependency>
  106. <!-- -->
  107. <dependency>
  108. <groupId>org.apache.hadoop</groupId>
  109. <artifactId>hadoop-annotations</artifactId>
  110. <version>2.7.7</version>
  111. <exclusions>
  112. <exclusion>
  113. <groupId>com.google.code.gson</groupId>
  114. <artifactId>gson</artifactId>
  115. </exclusion>
  116. </exclusions>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.apache.hadoop</groupId>
  120. <artifactId>hadoop-auth</artifactId>
  121. <version>2.7.7</version>
  122. <exclusions>
  123. <exclusion>
  124. <groupId>com.google.code.gson</groupId>
  125. <artifactId>gson</artifactId>
  126. </exclusion>
  127. </exclusions>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.hadoop</groupId>
  131. <artifactId>hadoop-common</artifactId>
  132. <version>2.7.7</version>
  133. <exclusions>
  134. <exclusion>
  135. <groupId>com.google.code.gson</groupId>
  136. <artifactId>gson</artifactId>
  137. </exclusion>
  138. </exclusions>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.apache.hadoop</groupId>
  142. <artifactId>hadoop-hdfs</artifactId>
  143. <version>2.7.7</version>
  144. <exclusions>
  145. <exclusion>
  146. <groupId>com.google.code.gson</groupId>
  147. <artifactId>gson</artifactId>
  148. </exclusion>
  149. </exclusions>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.apache.zookeeper</groupId>
  153. <artifactId>zookeeper</artifactId>
  154. <version>3.5.1</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>mysql</groupId>
  158. <artifactId>mysql-connector-java</artifactId>
  159. <version>8.0.15</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>com.zaxxer</groupId>
  163. <artifactId>HikariCP</artifactId>
  164. <version>3.4.5</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>com.alibaba</groupId>
  168. <artifactId>fastjson</artifactId>
  169. <version>1.2.83</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.apache.httpcomponents</groupId>
  173. <artifactId>httpcore</artifactId>
  174. <version>4.4.13</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>org.apache.httpcomponents</groupId>
  178. <artifactId>httpclient</artifactId>
  179. <version>4.5.12</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.elasticsearch.client</groupId>
  183. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  184. <version>6.6.0</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>redis.clients</groupId>
  188. <artifactId>jedis</artifactId>
  189. <version>3.3.0</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.redisson</groupId>
  193. <artifactId>redisson</artifactId>
  194. <version>3.13.4</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>com.sagacloud</groupId>
  198. <artifactId>json-lib-zillion</artifactId>
  199. <version>1.0</version>
  200. <type>jar</type>
  201. </dependency>
  202. </dependencies>
  203. <!--
  204. -->
  205. <build>
  206. <plugins>
  207. <plugin>
  208. <groupId>org.apache.maven.plugins</groupId>
  209. <artifactId>maven-shade-plugin</artifactId>
  210. <version>3.2.1</version>
  211. <configuration>
  212. <createDependencyReducedPom>false</createDependencyReducedPom>
  213. </configuration>
  214. <executions>
  215. <execution>
  216. <phase>package</phase>
  217. <goals>
  218. <goal>shade</goal>
  219. </goals>
  220. <configuration>
  221. <relocations>
  222. <relocation>
  223. <pattern>com.google.common</pattern>
  224. <shadedPattern>zillion.shaded.com.google.common</shadedPattern>
  225. </relocation>
  226. </relocations>
  227. <transformers>
  228. <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" />
  229. </transformers>
  230. </configuration>
  231. </execution>
  232. </executions>
  233. </plugin>
  234. </plugins>
  235. </build>
  236. <!--
  237. <build>
  238. <resources>
  239. <resource>
  240. <directory>src/main/resources</directory>
  241. <targetPath>${project.build.directory}/classes</targetPath>
  242. </resource>
  243. </resources>
  244. <plugins>
  245. <plugin>
  246. <groupId>org.apache.maven.plugins</groupId>
  247. <artifactId>maven-compiler-plugin</artifactId>
  248. <version>2.4</version>
  249. <configuration>
  250. <defaultLibBundleDir></defaultLibBundleDir>
  251. <source>1.8</source>
  252. <target>1.8</target>
  253. <encoding>gbk</encoding>
  254. </configuration>
  255. </plugin>
  256. <plugin>
  257. <groupId>org.apache.maven.plugins</groupId>
  258. <artifactId>maven-jar-plugin</artifactId>
  259. <version>2.4</version>
  260. <configuration>
  261. <excludes>
  262. <exclude>*.properties</exclude>
  263. <exclude>*.xml</exclude>
  264. <exclude>*.json</exclude>
  265. </excludes>
  266. </configuration>
  267. </plugin>
  268. <plugin>
  269. <groupId>org.apache.maven.plugins</groupId>
  270. <artifactId>maven-dependency-plugin</artifactId>
  271. <version>2.4</version>
  272. <executions>
  273. <execution>
  274. <id>copy</id>
  275. <phase>package</phase>
  276. <goals>
  277. <goal>copy-dependencies</goal>
  278. </goals>
  279. <configuration>
  280. <outputDirectory>
  281. ${project.build.directory}
  282. </outputDirectory>
  283. </configuration>
  284. </execution>
  285. </executions>
  286. </plugin>
  287. <plugin>
  288. <groupId>org.apache.maven.plugins</groupId>
  289. <artifactId>maven-resources-plugin</artifactId>
  290. <version>2.4</version>
  291. <configuration>
  292. <encoding>UTF-8</encoding>
  293. </configuration>
  294. </plugin>
  295. </plugins>
  296. </build>
  297. -->
  298. <distributionManagement>
  299. <repository>
  300. <id>SagaCloudRelease</id>
  301. <name>User Project Release</name>
  302. <url>http://47.93.33.207:8082/repository/SagaCloudRelease/</url>
  303. </repository>
  304. <snapshotRepository>
  305. <id>SagaCloudRelease</id>
  306. <name>User Project SNAPSHOTS</name>
  307. <url>http://47.93.33.207:8082/repository/SagaCloudSnapshot/</url>
  308. </snapshotRepository>
  309. </distributionManagement>
  310. </project>