pom.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  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>org.codehaus.jettison</groupId>
  61. <artifactId>jettison</artifactId>
  62. </exclusion>
  63. <exclusion>
  64. <groupId>org.eclipse.jdt</groupId>
  65. <artifactId>core</artifactId>
  66. </exclusion>
  67. <exclusion>
  68. <groupId>org.apache.avro</groupId>
  69. <artifactId>avro-ipc</artifactId>
  70. </exclusion>
  71. <exclusion>
  72. <groupId>net.sf.kosmosfs</groupId>
  73. <artifactId>kfs</artifactId>
  74. </exclusion>
  75. <exclusion>
  76. <groupId>com.jcraft</groupId>
  77. <artifactId>jsch</artifactId>
  78. </exclusion>
  79. <exclusion>
  80. <groupId>org.apache.zookeeper</groupId>
  81. <artifactId>zookeeper</artifactId>
  82. </exclusion>
  83. <!-- No slf4j backends for downstream clients -->
  84. <exclusion>
  85. <groupId>org.slf4j</groupId>
  86. <artifactId>slf4j-log4j12</artifactId>
  87. </exclusion>
  88. </exclusions>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.apache.hadoop</groupId>
  92. <artifactId>hadoop-hdfs-client</artifactId>
  93. <scope>compile</scope>
  94. <exclusions>
  95. <exclusion>
  96. <groupId>org.apache.avro</groupId>
  97. <artifactId>avro</artifactId>
  98. </exclusion>
  99. <exclusion>
  100. <groupId>org.eclipse.jetty</groupId>
  101. <artifactId>jetty-server</artifactId>
  102. </exclusion>
  103. </exclusions>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.apache.hadoop</groupId>
  107. <artifactId>hadoop-yarn-api</artifactId>
  108. <scope>compile</scope>
  109. <exclusions>
  110. <exclusion>
  111. <groupId>org.apache.hadoop</groupId>
  112. <artifactId>hadoop-annotations</artifactId>
  113. </exclusion>
  114. <exclusion>
  115. <groupId>com.google.inject</groupId>
  116. <artifactId>guice</artifactId>
  117. </exclusion>
  118. <exclusion>
  119. <groupId>com.google.inject.extensions</groupId>
  120. <artifactId>guice-servlet</artifactId>
  121. </exclusion>
  122. <exclusion>
  123. <groupId>org.apache.avro</groupId>
  124. <artifactId>avro</artifactId>
  125. </exclusion>
  126. <exclusion>
  127. <groupId>org.codehaus.jettison</groupId>
  128. <artifactId>jettison</artifactId>
  129. </exclusion>
  130. <exclusion>
  131. <groupId>io.netty</groupId>
  132. <artifactId>netty</artifactId>
  133. </exclusion>
  134. </exclusions>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.apache.hadoop</groupId>
  138. <artifactId>hadoop-yarn-client</artifactId>
  139. <scope>compile</scope>
  140. <exclusions>
  141. <!--Excluding hadoop-yarn-api & hadoop-annotations as they are already
  142. included as direct dependencies. Guava,commons-cli and log4j are
  143. transitive dependencies -->
  144. <exclusion>
  145. <groupId>org.apache.hadoop</groupId>
  146. <artifactId>hadoop-yarn-api</artifactId>
  147. </exclusion>
  148. <exclusion>
  149. <groupId>org.apache.hadoop</groupId>
  150. <artifactId>hadoop-yarn-common</artifactId>
  151. </exclusion>
  152. <exclusion>
  153. <groupId>org.apache.hadoop</groupId>
  154. <artifactId>hadoop-annotations</artifactId>
  155. </exclusion>
  156. <exclusion>
  157. <groupId>com.google.guava</groupId>
  158. <artifactId>guava</artifactId>
  159. </exclusion>
  160. <exclusion>
  161. <groupId>commons-cli</groupId>
  162. <artifactId>commons-cli</artifactId>
  163. </exclusion>
  164. <exclusion>
  165. <groupId>ch.qos.reload4j</groupId>
  166. <artifactId>reload4j</artifactId>
  167. </exclusion>
  168. <exclusion>
  169. <groupId>org.codehaus.jettison</groupId>
  170. <artifactId>jettison</artifactId>
  171. </exclusion>
  172. <exclusion>
  173. <groupId>io.netty</groupId>
  174. <artifactId>netty</artifactId>
  175. </exclusion>
  176. <exclusion>
  177. <groupId>com.google.inject.extensions</groupId>
  178. <artifactId>guice-servlet</artifactId>
  179. </exclusion>
  180. </exclusions>
  181. </dependency>
  182. <dependency>
  183. <groupId>org.apache.hadoop</groupId>
  184. <artifactId>hadoop-mapreduce-client-core</artifactId>
  185. <scope>compile</scope>
  186. <exclusions>
  187. <exclusion>
  188. <groupId>junit</groupId>
  189. <artifactId>junit</artifactId>
  190. </exclusion>
  191. <exclusion>
  192. <groupId>com.google.inject</groupId>
  193. <artifactId>guice</artifactId>
  194. </exclusion>
  195. <exclusion>
  196. <groupId>org.apache.avro</groupId>
  197. <artifactId>avro</artifactId>
  198. </exclusion>
  199. <exclusion>
  200. <groupId>org.apache.hadoop</groupId>
  201. <artifactId>hadoop-annotations</artifactId>
  202. </exclusion>
  203. <exclusion>
  204. <groupId>com.google.inject.extensions</groupId>
  205. <artifactId>guice-servlet</artifactId>
  206. </exclusion>
  207. <exclusion>
  208. <groupId>org.codehaus.jettison</groupId>
  209. <artifactId>jettison</artifactId>
  210. </exclusion>
  211. <exclusion>
  212. <groupId>io.netty</groupId>
  213. <artifactId>netty</artifactId>
  214. </exclusion>
  215. </exclusions>
  216. </dependency>
  217. <dependency>
  218. <groupId>org.apache.hadoop</groupId>
  219. <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
  220. <scope>compile</scope>
  221. <exclusions>
  222. <exclusion>
  223. <groupId>junit</groupId>
  224. <artifactId>junit</artifactId>
  225. </exclusion>
  226. <exclusion>
  227. <groupId>org.apache.avro</groupId>
  228. <artifactId>avro</artifactId>
  229. </exclusion>
  230. <exclusion>
  231. <groupId>org.apache.hadoop</groupId>
  232. <artifactId>hadoop-annotations</artifactId>
  233. </exclusion>
  234. <exclusion>
  235. <groupId>com.google.inject.extensions</groupId>
  236. <artifactId>guice-servlet</artifactId>
  237. </exclusion>
  238. <exclusion>
  239. <groupId>io.netty</groupId>
  240. <artifactId>netty</artifactId>
  241. </exclusion>
  242. </exclusions>
  243. </dependency>
  244. <dependency>
  245. <groupId>org.apache.hadoop</groupId>
  246. <artifactId>hadoop-annotations</artifactId>
  247. <scope>compile</scope>
  248. <exclusions>
  249. <exclusion>
  250. <groupId>jdk.tools</groupId>
  251. <artifactId>jdk.tools</artifactId>
  252. </exclusion>
  253. </exclusions>
  254. </dependency>
  255. </dependencies>
  256. </project>