pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License. See accompanying LICENSE file.
  12. -->
  13. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  14. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  15. <modelVersion>4.0.0</modelVersion>
  16. <parent>
  17. <groupId>org.apache.hadoop</groupId>
  18. <artifactId>hadoop-project-dist</artifactId>
  19. <version>3.5.0-SNAPSHOT</version>
  20. <relativePath>../../hadoop-project-dist</relativePath>
  21. </parent>
  22. <artifactId>hadoop-client</artifactId>
  23. <version>3.5.0-SNAPSHOT</version>
  24. <description>Apache Hadoop Client aggregation pom with dependencies exposed</description>
  25. <name>Apache Hadoop Client Aggregator</name>
  26. <properties>
  27. <hadoop.component>client</hadoop.component>
  28. </properties>
  29. <dependencies>
  30. <dependency>
  31. <groupId>org.apache.hadoop</groupId>
  32. <artifactId>hadoop-common</artifactId>
  33. <scope>compile</scope>
  34. <exclusions>
  35. <exclusion>
  36. <groupId>javax.servlet</groupId>
  37. <artifactId>javax.servlet-api</artifactId>
  38. </exclusion>
  39. <exclusion>
  40. <groupId>commons-logging</groupId>
  41. <artifactId>commons-logging-api</artifactId>
  42. </exclusion>
  43. <exclusion>
  44. <groupId>jetty</groupId>
  45. <artifactId>org.eclipse.jetty</artifactId>
  46. </exclusion>
  47. <exclusion>
  48. <groupId>org.eclipse.jetty</groupId>
  49. <artifactId>jetty-server</artifactId>
  50. </exclusion>
  51. <exclusion>
  52. <groupId>org.eclipse.jetty</groupId>
  53. <artifactId>jetty-util</artifactId>
  54. </exclusion>
  55. <exclusion>
  56. <groupId>org.eclipse.jetty</groupId>
  57. <artifactId>servlet-api-2.5</artifactId>
  58. </exclusion>
  59. <exclusion>
  60. <groupId>com.sun.jersey</groupId>
  61. <artifactId>jersey-core</artifactId>
  62. </exclusion>
  63. <exclusion>
  64. <groupId>com.github.pjfanning</groupId>
  65. <artifactId>jersey-json</artifactId>
  66. </exclusion>
  67. <exclusion>
  68. <groupId>org.codehaus.jettison</groupId>
  69. <artifactId>jettison</artifactId>
  70. </exclusion>
  71. <exclusion>
  72. <groupId>com.sun.jersey</groupId>
  73. <artifactId>jersey-server</artifactId>
  74. </exclusion>
  75. <exclusion>
  76. <groupId>org.eclipse.jdt</groupId>
  77. <artifactId>core</artifactId>
  78. </exclusion>
  79. <exclusion>
  80. <groupId>org.apache.avro</groupId>
  81. <artifactId>avro-ipc</artifactId>
  82. </exclusion>
  83. <exclusion>
  84. <groupId>net.sf.kosmosfs</groupId>
  85. <artifactId>kfs</artifactId>
  86. </exclusion>
  87. <exclusion>
  88. <groupId>com.jcraft</groupId>
  89. <artifactId>jsch</artifactId>
  90. </exclusion>
  91. <exclusion>
  92. <groupId>org.apache.zookeeper</groupId>
  93. <artifactId>zookeeper</artifactId>
  94. </exclusion>
  95. <!-- No slf4j backends for downstream clients -->
  96. <exclusion>
  97. <groupId>org.slf4j</groupId>
  98. <artifactId>slf4j-log4j12</artifactId>
  99. </exclusion>
  100. </exclusions>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.hadoop</groupId>
  104. <artifactId>hadoop-hdfs-client</artifactId>
  105. <scope>compile</scope>
  106. <exclusions>
  107. <exclusion>
  108. <groupId>org.apache.avro</groupId>
  109. <artifactId>avro</artifactId>
  110. </exclusion>
  111. <exclusion>
  112. <groupId>org.eclipse.jetty</groupId>
  113. <artifactId>jetty-server</artifactId>
  114. </exclusion>
  115. <exclusion>
  116. <groupId>com.sun.jersey</groupId>
  117. <artifactId>jersey-core</artifactId>
  118. </exclusion>
  119. <exclusion>
  120. <groupId>com.sun.jersey</groupId>
  121. <artifactId>jersey-server</artifactId>
  122. </exclusion>
  123. <exclusion>
  124. <groupId>javax.servlet</groupId>
  125. <artifactId>javax.servlet-api</artifactId>
  126. </exclusion>
  127. </exclusions>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.hadoop</groupId>
  131. <artifactId>hadoop-yarn-api</artifactId>
  132. <scope>compile</scope>
  133. <exclusions>
  134. <exclusion>
  135. <groupId>org.apache.hadoop</groupId>
  136. <artifactId>hadoop-annotations</artifactId>
  137. </exclusion>
  138. <exclusion>
  139. <groupId>com.google.inject</groupId>
  140. <artifactId>guice</artifactId>
  141. </exclusion>
  142. <exclusion>
  143. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  144. <artifactId>jersey-test-framework-grizzly2</artifactId>
  145. </exclusion>
  146. <exclusion>
  147. <groupId>com.sun.jersey</groupId>
  148. <artifactId>jersey-server</artifactId>
  149. </exclusion>
  150. <exclusion>
  151. <groupId>com.sun.jersey.contribs</groupId>
  152. <artifactId>jersey-guice</artifactId>
  153. </exclusion>
  154. <exclusion>
  155. <groupId>com.google.inject.extensions</groupId>
  156. <artifactId>guice-servlet</artifactId>
  157. </exclusion>
  158. <exclusion>
  159. <groupId>org.apache.avro</groupId>
  160. <artifactId>avro</artifactId>
  161. </exclusion>
  162. <exclusion>
  163. <groupId>com.sun.jersey</groupId>
  164. <artifactId>jersey-core</artifactId>
  165. </exclusion>
  166. <exclusion>
  167. <groupId>com.github.pjfanning</groupId>
  168. <artifactId>jersey-json</artifactId>
  169. </exclusion>
  170. <exclusion>
  171. <groupId>org.codehaus.jettison</groupId>
  172. <artifactId>jettison</artifactId>
  173. </exclusion>
  174. <exclusion>
  175. <groupId>io.netty</groupId>
  176. <artifactId>netty</artifactId>
  177. </exclusion>
  178. </exclusions>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.apache.hadoop</groupId>
  182. <artifactId>hadoop-yarn-client</artifactId>
  183. <scope>compile</scope>
  184. <exclusions>
  185. <!--Excluding hadoop-yarn-api & hadoop-annotations as they are already
  186. included as direct dependencies. Guava,commons-cli and log4j are
  187. transitive dependencies -->
  188. <exclusion>
  189. <groupId>org.apache.hadoop</groupId>
  190. <artifactId>hadoop-yarn-api</artifactId>
  191. </exclusion>
  192. <exclusion>
  193. <groupId>org.apache.hadoop</groupId>
  194. <artifactId>hadoop-yarn-common</artifactId>
  195. </exclusion>
  196. <exclusion>
  197. <groupId>org.apache.hadoop</groupId>
  198. <artifactId>hadoop-annotations</artifactId>
  199. </exclusion>
  200. <exclusion>
  201. <groupId>com.google.guava</groupId>
  202. <artifactId>guava</artifactId>
  203. </exclusion>
  204. <exclusion>
  205. <groupId>commons-cli</groupId>
  206. <artifactId>commons-cli</artifactId>
  207. </exclusion>
  208. <exclusion>
  209. <groupId>log4j</groupId>
  210. <artifactId>log4j</artifactId>
  211. </exclusion>
  212. <exclusion>
  213. <groupId>com.sun.jersey</groupId>
  214. <artifactId>jersey-core</artifactId>
  215. </exclusion>
  216. <exclusion>
  217. <groupId>com.sun.jersey</groupId>
  218. <artifactId>jersey-server</artifactId>
  219. </exclusion>
  220. <exclusion>
  221. <groupId>com.github.pjfanning</groupId>
  222. <artifactId>jersey-json</artifactId>
  223. </exclusion>
  224. <exclusion>
  225. <groupId>org.codehaus.jettison</groupId>
  226. <artifactId>jettison</artifactId>
  227. </exclusion>
  228. <exclusion>
  229. <groupId>com.sun.jersey</groupId>
  230. <artifactId>jersey-servlet</artifactId>
  231. </exclusion>
  232. <exclusion>
  233. <groupId>io.netty</groupId>
  234. <artifactId>netty</artifactId>
  235. </exclusion>
  236. <exclusion>
  237. <groupId>com.google.inject.extensions</groupId>
  238. <artifactId>guice-servlet</artifactId>
  239. </exclusion>
  240. </exclusions>
  241. </dependency>
  242. <dependency>
  243. <groupId>org.apache.hadoop</groupId>
  244. <artifactId>hadoop-mapreduce-client-core</artifactId>
  245. <scope>compile</scope>
  246. <exclusions>
  247. <exclusion>
  248. <groupId>junit</groupId>
  249. <artifactId>junit</artifactId>
  250. </exclusion>
  251. <exclusion>
  252. <groupId>com.google.inject</groupId>
  253. <artifactId>guice</artifactId>
  254. </exclusion>
  255. <exclusion>
  256. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  257. <artifactId>jersey-test-framework-grizzly2</artifactId>
  258. </exclusion>
  259. <exclusion>
  260. <groupId>com.sun.jersey</groupId>
  261. <artifactId>jersey-server</artifactId>
  262. </exclusion>
  263. <exclusion>
  264. <groupId>com.sun.jersey.contribs</groupId>
  265. <artifactId>jersey-guice</artifactId>
  266. </exclusion>
  267. <exclusion>
  268. <groupId>org.apache.avro</groupId>
  269. <artifactId>avro</artifactId>
  270. </exclusion>
  271. <exclusion>
  272. <groupId>org.apache.hadoop</groupId>
  273. <artifactId>hadoop-annotations</artifactId>
  274. </exclusion>
  275. <exclusion>
  276. <groupId>com.google.inject.extensions</groupId>
  277. <artifactId>guice-servlet</artifactId>
  278. </exclusion>
  279. <exclusion>
  280. <groupId>com.github.pjfanning</groupId>
  281. <artifactId>jersey-json</artifactId>
  282. </exclusion>
  283. <exclusion>
  284. <groupId>org.codehaus.jettison</groupId>
  285. <artifactId>jettison</artifactId>
  286. </exclusion>
  287. <exclusion>
  288. <groupId>io.netty</groupId>
  289. <artifactId>netty</artifactId>
  290. </exclusion>
  291. <!-- No slf4j backends for downstream clients -->
  292. <exclusion>
  293. <groupId>org.slf4j</groupId>
  294. <artifactId>slf4j-log4j12</artifactId>
  295. </exclusion>
  296. </exclusions>
  297. </dependency>
  298. <dependency>
  299. <groupId>org.apache.hadoop</groupId>
  300. <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
  301. <scope>compile</scope>
  302. <exclusions>
  303. <exclusion>
  304. <groupId>junit</groupId>
  305. <artifactId>junit</artifactId>
  306. </exclusion>
  307. <exclusion>
  308. <groupId>org.apache.avro</groupId>
  309. <artifactId>avro</artifactId>
  310. </exclusion>
  311. <exclusion>
  312. <groupId>org.apache.hadoop</groupId>
  313. <artifactId>hadoop-annotations</artifactId>
  314. </exclusion>
  315. <exclusion>
  316. <groupId>com.google.inject.extensions</groupId>
  317. <artifactId>guice-servlet</artifactId>
  318. </exclusion>
  319. <exclusion>
  320. <groupId>io.netty</groupId>
  321. <artifactId>netty</artifactId>
  322. </exclusion>
  323. <!-- No slf4j backends for downstream clients -->
  324. <exclusion>
  325. <groupId>org.slf4j</groupId>
  326. <artifactId>slf4j-log4j12</artifactId>
  327. </exclusion>
  328. </exclusions>
  329. </dependency>
  330. <dependency>
  331. <groupId>org.apache.hadoop</groupId>
  332. <artifactId>hadoop-annotations</artifactId>
  333. <scope>compile</scope>
  334. <exclusions>
  335. <exclusion>
  336. <groupId>jdk.tools</groupId>
  337. <artifactId>jdk.tools</artifactId>
  338. </exclusion>
  339. </exclusions>
  340. </dependency>
  341. </dependencies>
  342. </project>