dependency-reduced-pom.xml 11 KB

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