dependency-reduced-pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  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/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.seaweedfs</groupId>
  5. <artifactId>seaweedfs-hadoop3-client</artifactId>
  6. <name>SeaweedFS HDFS3 Client</name>
  7. <version>${seaweedfs.client.version}</version>
  8. <description>A java client for SeaweedFS.</description>
  9. <url>https://github.com/seaweedfs/seaweedfs</url>
  10. <developers>
  11. <developer>
  12. <name>Chris Lu</name>
  13. <email>chris.lu@gmail.com</email>
  14. <organization>SeaweedFS</organization>
  15. <organizationUrl>https://seaweedfs.com</organizationUrl>
  16. </developer>
  17. </developers>
  18. <licenses>
  19. <license>
  20. <name>The Apache License, Version 2.0</name>
  21. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  22. </license>
  23. </licenses>
  24. <scm>
  25. <connection>scm:git:git://github.com/seaweedfs/seaweedfs.git</connection>
  26. <developerConnection>scm:git:ssh://github.com:seaweedfs/seaweedfs.git</developerConnection>
  27. <url>https://github.com/seaweedfs/seaweedfs/tree/master</url>
  28. </scm>
  29. <build>
  30. <plugins>
  31. <plugin>
  32. <artifactId>maven-compiler-plugin</artifactId>
  33. <configuration>
  34. <source>8</source>
  35. <target>8</target>
  36. <release>8</release>
  37. </configuration>
  38. </plugin>
  39. <plugin>
  40. <artifactId>maven-shade-plugin</artifactId>
  41. <version>3.2.1</version>
  42. <executions>
  43. <execution>
  44. <phase>package</phase>
  45. <goals>
  46. <goal>shade</goal>
  47. </goals>
  48. <configuration>
  49. <filters>
  50. <filter>
  51. <artifact>*:*</artifact>
  52. <excludes>
  53. <exclude>META-INF/*.SF</exclude>
  54. <exclude>META-INF/*.DSA</exclude>
  55. <exclude>META-INF/*.RSA</exclude>
  56. <exclude>org/slf4j/**</exclude>
  57. <exclude>META-INF/maven/org.slf4j/**</exclude>
  58. </excludes>
  59. </filter>
  60. </filters>
  61. <transformers>
  62. <transformer />
  63. </transformers>
  64. <relocations>
  65. <relocation>
  66. <pattern>com.google</pattern>
  67. <shadedPattern>shaded.com.google</shadedPattern>
  68. </relocation>
  69. <relocation>
  70. <pattern>io.grpc.internal</pattern>
  71. <shadedPattern>shaded.io.grpc.internal</shadedPattern>
  72. </relocation>
  73. <relocation>
  74. <pattern>org.apache.commons</pattern>
  75. <shadedPattern>shaded.org.apache.commons</shadedPattern>
  76. <excludes>
  77. <exclude>org.apache.hadoop</exclude>
  78. <exclude>org.apache.log4j</exclude>
  79. </excludes>
  80. </relocation>
  81. <relocation>
  82. <pattern>org.apache.http</pattern>
  83. <shadedPattern>shaded.org.apache.http</shadedPattern>
  84. </relocation>
  85. </relocations>
  86. </configuration>
  87. </execution>
  88. </executions>
  89. </plugin>
  90. <plugin>
  91. <artifactId>maven-gpg-plugin</artifactId>
  92. <version>1.5</version>
  93. <executions>
  94. <execution>
  95. <id>sign-artifacts</id>
  96. <phase>verify</phase>
  97. <goals>
  98. <goal>sign</goal>
  99. </goals>
  100. </execution>
  101. </executions>
  102. </plugin>
  103. <plugin>
  104. <groupId>org.sonatype.central</groupId>
  105. <artifactId>central-publishing-maven-plugin</artifactId>
  106. <version>0.5.0</version>
  107. <extensions>true</extensions>
  108. <configuration>
  109. <publishingServerId>central</publishingServerId>
  110. <autoPublish>true</autoPublish>
  111. </configuration>
  112. </plugin>
  113. <plugin>
  114. <artifactId>maven-source-plugin</artifactId>
  115. <version>2.2.1</version>
  116. <executions>
  117. <execution>
  118. <id>attach-sources</id>
  119. <goals>
  120. <goal>jar-no-fork</goal>
  121. </goals>
  122. </execution>
  123. </executions>
  124. </plugin>
  125. <plugin>
  126. <artifactId>maven-javadoc-plugin</artifactId>
  127. <version>3.0.1</version>
  128. <executions>
  129. <execution>
  130. <id>attach-javadocs</id>
  131. <goals>
  132. <goal>jar</goal>
  133. </goals>
  134. </execution>
  135. </executions>
  136. </plugin>
  137. </plugins>
  138. </build>
  139. <dependencies>
  140. <dependency>
  141. <groupId>org.apache.hadoop</groupId>
  142. <artifactId>hadoop-client</artifactId>
  143. <version>3.2.4</version>
  144. <scope>provided</scope>
  145. <exclusions>
  146. <exclusion>
  147. <artifactId>hadoop-hdfs-client</artifactId>
  148. <groupId>org.apache.hadoop</groupId>
  149. </exclusion>
  150. <exclusion>
  151. <artifactId>hadoop-yarn-api</artifactId>
  152. <groupId>org.apache.hadoop</groupId>
  153. </exclusion>
  154. <exclusion>
  155. <artifactId>hadoop-yarn-client</artifactId>
  156. <groupId>org.apache.hadoop</groupId>
  157. </exclusion>
  158. <exclusion>
  159. <artifactId>hadoop-mapreduce-client-core</artifactId>
  160. <groupId>org.apache.hadoop</groupId>
  161. </exclusion>
  162. <exclusion>
  163. <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
  164. <groupId>org.apache.hadoop</groupId>
  165. </exclusion>
  166. <exclusion>
  167. <artifactId>hadoop-annotations</artifactId>
  168. <groupId>org.apache.hadoop</groupId>
  169. </exclusion>
  170. </exclusions>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.apache.hadoop</groupId>
  174. <artifactId>hadoop-common</artifactId>
  175. <version>3.2.4</version>
  176. <scope>provided</scope>
  177. <exclusions>
  178. <exclusion>
  179. <artifactId>commons-cli</artifactId>
  180. <groupId>commons-cli</groupId>
  181. </exclusion>
  182. <exclusion>
  183. <artifactId>commons-math3</artifactId>
  184. <groupId>org.apache.commons</groupId>
  185. </exclusion>
  186. <exclusion>
  187. <artifactId>commons-io</artifactId>
  188. <groupId>commons-io</groupId>
  189. </exclusion>
  190. <exclusion>
  191. <artifactId>commons-net</artifactId>
  192. <groupId>commons-net</groupId>
  193. </exclusion>
  194. <exclusion>
  195. <artifactId>commons-collections</artifactId>
  196. <groupId>commons-collections</groupId>
  197. </exclusion>
  198. <exclusion>
  199. <artifactId>javax.servlet-api</artifactId>
  200. <groupId>javax.servlet</groupId>
  201. </exclusion>
  202. <exclusion>
  203. <artifactId>javax.activation-api</artifactId>
  204. <groupId>javax.activation</groupId>
  205. </exclusion>
  206. <exclusion>
  207. <artifactId>jetty-server</artifactId>
  208. <groupId>org.eclipse.jetty</groupId>
  209. </exclusion>
  210. <exclusion>
  211. <artifactId>jetty-util</artifactId>
  212. <groupId>org.eclipse.jetty</groupId>
  213. </exclusion>
  214. <exclusion>
  215. <artifactId>jetty-servlet</artifactId>
  216. <groupId>org.eclipse.jetty</groupId>
  217. </exclusion>
  218. <exclusion>
  219. <artifactId>jetty-webapp</artifactId>
  220. <groupId>org.eclipse.jetty</groupId>
  221. </exclusion>
  222. <exclusion>
  223. <artifactId>jsp-api</artifactId>
  224. <groupId>javax.servlet.jsp</groupId>
  225. </exclusion>
  226. <exclusion>
  227. <artifactId>jersey-core</artifactId>
  228. <groupId>com.sun.jersey</groupId>
  229. </exclusion>
  230. <exclusion>
  231. <artifactId>jersey-servlet</artifactId>
  232. <groupId>com.sun.jersey</groupId>
  233. </exclusion>
  234. <exclusion>
  235. <artifactId>jersey-json</artifactId>
  236. <groupId>com.sun.jersey</groupId>
  237. </exclusion>
  238. <exclusion>
  239. <artifactId>jersey-server</artifactId>
  240. <groupId>com.sun.jersey</groupId>
  241. </exclusion>
  242. <exclusion>
  243. <artifactId>reload4j</artifactId>
  244. <groupId>ch.qos.reload4j</groupId>
  245. </exclusion>
  246. <exclusion>
  247. <artifactId>commons-beanutils</artifactId>
  248. <groupId>commons-beanutils</groupId>
  249. </exclusion>
  250. <exclusion>
  251. <artifactId>commons-configuration2</artifactId>
  252. <groupId>org.apache.commons</groupId>
  253. </exclusion>
  254. <exclusion>
  255. <artifactId>commons-lang3</artifactId>
  256. <groupId>org.apache.commons</groupId>
  257. </exclusion>
  258. <exclusion>
  259. <artifactId>commons-text</artifactId>
  260. <groupId>org.apache.commons</groupId>
  261. </exclusion>
  262. <exclusion>
  263. <artifactId>slf4j-reload4j</artifactId>
  264. <groupId>org.slf4j</groupId>
  265. </exclusion>
  266. <exclusion>
  267. <artifactId>avro</artifactId>
  268. <groupId>org.apache.avro</groupId>
  269. </exclusion>
  270. <exclusion>
  271. <artifactId>re2j</artifactId>
  272. <groupId>com.google.re2j</groupId>
  273. </exclusion>
  274. <exclusion>
  275. <artifactId>hadoop-auth</artifactId>
  276. <groupId>org.apache.hadoop</groupId>
  277. </exclusion>
  278. <exclusion>
  279. <artifactId>jsch</artifactId>
  280. <groupId>com.jcraft</groupId>
  281. </exclusion>
  282. <exclusion>
  283. <artifactId>curator-client</artifactId>
  284. <groupId>org.apache.curator</groupId>
  285. </exclusion>
  286. <exclusion>
  287. <artifactId>curator-recipes</artifactId>
  288. <groupId>org.apache.curator</groupId>
  289. </exclusion>
  290. <exclusion>
  291. <artifactId>htrace-core4</artifactId>
  292. <groupId>org.apache.htrace</groupId>
  293. </exclusion>
  294. <exclusion>
  295. <artifactId>zookeeper</artifactId>
  296. <groupId>org.apache.zookeeper</groupId>
  297. </exclusion>
  298. <exclusion>
  299. <artifactId>commons-compress</artifactId>
  300. <groupId>org.apache.commons</groupId>
  301. </exclusion>
  302. <exclusion>
  303. <artifactId>kerb-simplekdc</artifactId>
  304. <groupId>org.apache.kerby</groupId>
  305. </exclusion>
  306. <exclusion>
  307. <artifactId>jackson-databind</artifactId>
  308. <groupId>com.fasterxml.jackson.core</groupId>
  309. </exclusion>
  310. <exclusion>
  311. <artifactId>stax2-api</artifactId>
  312. <groupId>org.codehaus.woodstox</groupId>
  313. </exclusion>
  314. <exclusion>
  315. <artifactId>woodstox-core</artifactId>
  316. <groupId>com.fasterxml.woodstox</groupId>
  317. </exclusion>
  318. <exclusion>
  319. <artifactId>dnsjava</artifactId>
  320. <groupId>dnsjava</groupId>
  321. </exclusion>
  322. <exclusion>
  323. <artifactId>hadoop-annotations</artifactId>
  324. <groupId>org.apache.hadoop</groupId>
  325. </exclusion>
  326. </exclusions>
  327. </dependency>
  328. </dependencies>
  329. <properties>
  330. <seaweedfs.client.version>3.71</seaweedfs.client.version>
  331. <hadoop.version>3.2.4</hadoop.version>
  332. </properties>
  333. </project>