pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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.1.4</version>
  20. <relativePath>../../hadoop-project-dist</relativePath>
  21. </parent>
  22. <artifactId>hadoop-client</artifactId>
  23. <version>3.1.4</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.sun.jersey</groupId>
  65. <artifactId>jersey-json</artifactId>
  66. </exclusion>
  67. <exclusion>
  68. <groupId>com.sun.jersey</groupId>
  69. <artifactId>jersey-server</artifactId>
  70. </exclusion>
  71. <exclusion>
  72. <groupId>org.eclipse.jdt</groupId>
  73. <artifactId>core</artifactId>
  74. </exclusion>
  75. <exclusion>
  76. <groupId>org.apache.avro</groupId>
  77. <artifactId>avro-ipc</artifactId>
  78. </exclusion>
  79. <exclusion>
  80. <groupId>net.sf.kosmosfs</groupId>
  81. <artifactId>kfs</artifactId>
  82. </exclusion>
  83. <exclusion>
  84. <groupId>com.jcraft</groupId>
  85. <artifactId>jsch</artifactId>
  86. </exclusion>
  87. <exclusion>
  88. <groupId>org.apache.zookeeper</groupId>
  89. <artifactId>zookeeper</artifactId>
  90. </exclusion>
  91. <!-- No slf4j backends for downstream clients -->
  92. <exclusion>
  93. <groupId>org.slf4j</groupId>
  94. <artifactId>slf4j-log4j12</artifactId>
  95. </exclusion>
  96. </exclusions>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.apache.hadoop</groupId>
  100. <artifactId>hadoop-hdfs-client</artifactId>
  101. <scope>compile</scope>
  102. <exclusions>
  103. <exclusion>
  104. <groupId>org.apache.avro</groupId>
  105. <artifactId>avro</artifactId>
  106. </exclusion>
  107. <exclusion>
  108. <groupId>org.eclipse.jetty</groupId>
  109. <artifactId>jetty-server</artifactId>
  110. </exclusion>
  111. <exclusion>
  112. <groupId>com.sun.jersey</groupId>
  113. <artifactId>jersey-core</artifactId>
  114. </exclusion>
  115. <exclusion>
  116. <groupId>com.sun.jersey</groupId>
  117. <artifactId>jersey-server</artifactId>
  118. </exclusion>
  119. <exclusion>
  120. <groupId>javax.servlet</groupId>
  121. <artifactId>javax.servlet-api</artifactId>
  122. </exclusion>
  123. </exclusions>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.apache.hadoop</groupId>
  127. <artifactId>hadoop-yarn-api</artifactId>
  128. <scope>compile</scope>
  129. <exclusions>
  130. <exclusion>
  131. <groupId>org.apache.hadoop</groupId>
  132. <artifactId>hadoop-annotations</artifactId>
  133. </exclusion>
  134. <exclusion>
  135. <groupId>com.google.inject</groupId>
  136. <artifactId>guice</artifactId>
  137. </exclusion>
  138. <exclusion>
  139. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  140. <artifactId>jersey-test-framework-grizzly2</artifactId>
  141. </exclusion>
  142. <exclusion>
  143. <groupId>com.sun.jersey</groupId>
  144. <artifactId>jersey-server</artifactId>
  145. </exclusion>
  146. <exclusion>
  147. <groupId>com.sun.jersey.contribs</groupId>
  148. <artifactId>jersey-guice</artifactId>
  149. </exclusion>
  150. <exclusion>
  151. <groupId>com.google.inject.extensions</groupId>
  152. <artifactId>guice-servlet</artifactId>
  153. </exclusion>
  154. <exclusion>
  155. <groupId>org.apache.avro</groupId>
  156. <artifactId>avro</artifactId>
  157. </exclusion>
  158. <exclusion>
  159. <groupId>com.sun.jersey</groupId>
  160. <artifactId>jersey-core</artifactId>
  161. </exclusion>
  162. <exclusion>
  163. <groupId>com.sun.jersey</groupId>
  164. <artifactId>jersey-json</artifactId>
  165. </exclusion>
  166. <exclusion>
  167. <groupId>io.netty</groupId>
  168. <artifactId>netty</artifactId>
  169. </exclusion>
  170. </exclusions>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.apache.hadoop</groupId>
  174. <artifactId>hadoop-yarn-client</artifactId>
  175. <scope>compile</scope>
  176. <exclusions>
  177. <!--Excluding hadoop-yarn-api & hadoop-annotations as they are already
  178. included as direct dependencies. Guava,commons-cli and log4j are
  179. transitive dependencies -->
  180. <exclusion>
  181. <groupId>org.apache.hadoop</groupId>
  182. <artifactId>hadoop-yarn-api</artifactId>
  183. </exclusion>
  184. <exclusion>
  185. <groupId>org.apache.hadoop</groupId>
  186. <artifactId>hadoop-yarn-common</artifactId>
  187. </exclusion>
  188. <exclusion>
  189. <groupId>org.apache.hadoop</groupId>
  190. <artifactId>hadoop-annotations</artifactId>
  191. </exclusion>
  192. <exclusion>
  193. <groupId>com.google.guava</groupId>
  194. <artifactId>guava</artifactId>
  195. </exclusion>
  196. <exclusion>
  197. <groupId>commons-cli</groupId>
  198. <artifactId>commons-cli</artifactId>
  199. </exclusion>
  200. <exclusion>
  201. <groupId>log4j</groupId>
  202. <artifactId>log4j</artifactId>
  203. </exclusion>
  204. <exclusion>
  205. <groupId>com.sun.jersey</groupId>
  206. <artifactId>jersey-core</artifactId>
  207. </exclusion>
  208. <exclusion>
  209. <groupId>com.sun.jersey</groupId>
  210. <artifactId>jersey-server</artifactId>
  211. </exclusion>
  212. <exclusion>
  213. <groupId>com.sun.jersey</groupId>
  214. <artifactId>jersey-json</artifactId>
  215. </exclusion>
  216. <exclusion>
  217. <groupId>com.sun.jersey</groupId>
  218. <artifactId>jersey-servlet</artifactId>
  219. </exclusion>
  220. <exclusion>
  221. <groupId>io.netty</groupId>
  222. <artifactId>netty</artifactId>
  223. </exclusion>
  224. <exclusion>
  225. <groupId>com.google.inject.extensions</groupId>
  226. <artifactId>guice-servlet</artifactId>
  227. </exclusion>
  228. </exclusions>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.apache.hadoop</groupId>
  232. <artifactId>hadoop-mapreduce-client-core</artifactId>
  233. <scope>compile</scope>
  234. <exclusions>
  235. <exclusion>
  236. <groupId>junit</groupId>
  237. <artifactId>junit</artifactId>
  238. </exclusion>
  239. <exclusion>
  240. <groupId>com.google.inject</groupId>
  241. <artifactId>guice</artifactId>
  242. </exclusion>
  243. <exclusion>
  244. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  245. <artifactId>jersey-test-framework-grizzly2</artifactId>
  246. </exclusion>
  247. <exclusion>
  248. <groupId>com.sun.jersey</groupId>
  249. <artifactId>jersey-server</artifactId>
  250. </exclusion>
  251. <exclusion>
  252. <groupId>com.sun.jersey.contribs</groupId>
  253. <artifactId>jersey-guice</artifactId>
  254. </exclusion>
  255. <exclusion>
  256. <groupId>org.apache.avro</groupId>
  257. <artifactId>avro</artifactId>
  258. </exclusion>
  259. <exclusion>
  260. <groupId>org.apache.hadoop</groupId>
  261. <artifactId>hadoop-annotations</artifactId>
  262. </exclusion>
  263. <exclusion>
  264. <groupId>com.google.inject.extensions</groupId>
  265. <artifactId>guice-servlet</artifactId>
  266. </exclusion>
  267. <exclusion>
  268. <groupId>com.sun.jersey</groupId>
  269. <artifactId>jersey-json</artifactId>
  270. </exclusion>
  271. <exclusion>
  272. <groupId>io.netty</groupId>
  273. <artifactId>netty</artifactId>
  274. </exclusion>
  275. <!-- No slf4j backends for downstream clients -->
  276. <exclusion>
  277. <groupId>org.slf4j</groupId>
  278. <artifactId>slf4j-log4j12</artifactId>
  279. </exclusion>
  280. </exclusions>
  281. </dependency>
  282. <dependency>
  283. <groupId>org.apache.hadoop</groupId>
  284. <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
  285. <scope>compile</scope>
  286. <exclusions>
  287. <exclusion>
  288. <groupId>junit</groupId>
  289. <artifactId>junit</artifactId>
  290. </exclusion>
  291. <exclusion>
  292. <groupId>org.apache.avro</groupId>
  293. <artifactId>avro</artifactId>
  294. </exclusion>
  295. <exclusion>
  296. <groupId>org.apache.hadoop</groupId>
  297. <artifactId>hadoop-annotations</artifactId>
  298. </exclusion>
  299. <exclusion>
  300. <groupId>com.google.inject.extensions</groupId>
  301. <artifactId>guice-servlet</artifactId>
  302. </exclusion>
  303. <exclusion>
  304. <groupId>io.netty</groupId>
  305. <artifactId>netty</artifactId>
  306. </exclusion>
  307. <!-- No slf4j backends for downstream clients -->
  308. <exclusion>
  309. <groupId>org.slf4j</groupId>
  310. <artifactId>slf4j-log4j12</artifactId>
  311. </exclusion>
  312. </exclusions>
  313. </dependency>
  314. <dependency>
  315. <groupId>org.apache.hadoop</groupId>
  316. <artifactId>hadoop-annotations</artifactId>
  317. <scope>compile</scope>
  318. <exclusions>
  319. <exclusion>
  320. <groupId>jdk.tools</groupId>
  321. <artifactId>jdk.tools</artifactId>
  322. </exclusion>
  323. </exclusions>
  324. </dependency>
  325. </dependencies>
  326. </project>