dependency-reduced-pom.xml 11 KB

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