pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <project xmlns="http://maven.apache.org/POM/4.0.0"
  17. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  18. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  19. http://maven.apache.org/xsd/maven-4.0.0.xsd">
  20. <parent>
  21. <artifactId>hadoop-yarn-server</artifactId>
  22. <groupId>org.apache.hadoop</groupId>
  23. <version>2.9.0</version>
  24. </parent>
  25. <modelVersion>4.0.0</modelVersion>
  26. <groupId>org.apache.hadoop</groupId>
  27. <artifactId>hadoop-yarn-server-timelineservice-hbase-tests</artifactId>
  28. <version>2.9.0</version>
  29. <name>Apache Hadoop YARN Timeline Service HBase tests</name>
  30. <properties>
  31. <!-- Needed for generating FindBugs warnings using parent pom -->
  32. <yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
  33. </properties>
  34. <dependencies>
  35. <dependency>
  36. <groupId>junit</groupId>
  37. <artifactId>junit</artifactId>
  38. <scope>test</scope>
  39. </dependency>
  40. <!-- Since hbase 1.0.1 requires an older version of hadoop we enforce an
  41. older version of hadoop just for the hbase unit tests. We also need to
  42. exclude hadoop-common and hadoop-hdfs on each dependency that has
  43. transitive depedencies on them.
  44. -->
  45. <dependency>
  46. <groupId>org.apache.hadoop</groupId>
  47. <artifactId>hadoop-yarn-server-timelineservice</artifactId>
  48. <scope>test</scope>
  49. <exclusions>
  50. <exclusion>
  51. <groupId>org.apache.hadoop</groupId>
  52. <artifactId>hadoop-common</artifactId>
  53. </exclusion>
  54. </exclusions>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.hadoop</groupId>
  58. <artifactId>hadoop-yarn-server-timelineservice-hbase</artifactId>
  59. <scope>test</scope>
  60. <exclusions>
  61. <exclusion>
  62. <groupId>org.apache.hadoop</groupId>
  63. <artifactId>hadoop-common</artifactId>
  64. </exclusion>
  65. </exclusions>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.apache.hadoop</groupId>
  69. <artifactId>hadoop-common</artifactId>
  70. <version>${hbase-compatible-hadoop.version}</version>
  71. <scope>test</scope>
  72. <exclusions>
  73. <exclusion>
  74. <groupId>org.apache.hadoop</groupId>
  75. <artifactId>hadoop-auth</artifactId>
  76. </exclusion>
  77. </exclusions>
  78. </dependency>
  79. <!-- 'mvn dependency:analyze' fails to detect use of this direct
  80. dependency -->
  81. <dependency>
  82. <groupId>org.apache.hadoop</groupId>
  83. <artifactId>hadoop-auth</artifactId>
  84. <version>${hbase-compatible-hadoop.version}</version>
  85. <scope>test</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.hadoop</groupId>
  89. <artifactId>hadoop-yarn-api</artifactId>
  90. <scope>test</scope>
  91. <exclusions>
  92. <exclusion>
  93. <groupId>org.apache.hadoop</groupId>
  94. <artifactId>hadoop-common</artifactId>
  95. </exclusion>
  96. </exclusions>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.apache.hadoop</groupId>
  100. <artifactId>hadoop-yarn-common</artifactId>
  101. <scope>test</scope>
  102. <exclusions>
  103. <exclusion>
  104. <groupId>org.apache.hadoop</groupId>
  105. <artifactId>hadoop-common</artifactId>
  106. </exclusion>
  107. <exclusion>
  108. <groupId>org.apache.hadoop</groupId>
  109. <artifactId>hadoop-auth</artifactId>
  110. </exclusion>
  111. </exclusions>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.apache.hadoop</groupId>
  115. <artifactId>hadoop-yarn-server-applicationhistoryservice</artifactId>
  116. <scope>test</scope>
  117. <exclusions>
  118. <exclusion>
  119. <groupId>org.apache.hadoop</groupId>
  120. <artifactId>hadoop-common</artifactId>
  121. </exclusion>
  122. </exclusions>
  123. </dependency>
  124. <dependency>
  125. <groupId>com.google.guava</groupId>
  126. <artifactId>guava</artifactId>
  127. <scope>test</scope>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.sun.jersey</groupId>
  131. <artifactId>jersey-client</artifactId>
  132. <scope>test</scope>
  133. </dependency>
  134. <dependency>
  135. <groupId>javax.ws.rs</groupId>
  136. <artifactId>jsr311-api</artifactId>
  137. <version>1.1.1</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.apache.hbase</groupId>
  141. <artifactId>hbase-common</artifactId>
  142. <scope>test</scope>
  143. <exclusions>
  144. <exclusion>
  145. <groupId>org.apache.hadoop</groupId>
  146. <artifactId>hadoop-common</artifactId>
  147. </exclusion>
  148. <exclusion>
  149. <groupId>org.apache.hadoop</groupId>
  150. <artifactId>hadoop-mapreduce-client-core</artifactId>
  151. </exclusion>
  152. </exclusions>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.apache.hbase</groupId>
  156. <artifactId>hbase-client</artifactId>
  157. <scope>test</scope>
  158. <exclusions>
  159. <exclusion>
  160. <groupId>org.apache.hadoop</groupId>
  161. <artifactId>hadoop-common</artifactId>
  162. </exclusion>
  163. <exclusion>
  164. <groupId>org.apache.hadoop</groupId>
  165. <artifactId>hadoop-auth</artifactId>
  166. </exclusion>
  167. <exclusion>
  168. <groupId>org.apache.hadoop</groupId>
  169. <artifactId>hadoop-mapreduce-client-core</artifactId>
  170. </exclusion>
  171. </exclusions>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.apache.hbase</groupId>
  175. <artifactId>hbase-server</artifactId>
  176. <scope>test</scope>
  177. <exclusions>
  178. <exclusion>
  179. <groupId>org.apache.hadoop</groupId>
  180. <artifactId>hadoop-common</artifactId>
  181. </exclusion>
  182. <exclusion>
  183. <groupId>org.apache.hadoop</groupId>
  184. <artifactId>hadoop-auth</artifactId>
  185. </exclusion>
  186. <exclusion>
  187. <groupId>org.apache.hadoop</groupId>
  188. <artifactId>hadoop-hdfs</artifactId>
  189. </exclusion>
  190. <exclusion>
  191. <groupId>org.apache.hadoop</groupId>
  192. <artifactId>hadoop-hdfs-client</artifactId>
  193. </exclusion>
  194. <exclusion>
  195. <groupId>org.apache.hadoop</groupId>
  196. <artifactId>hadoop-client</artifactId>
  197. </exclusion>
  198. <exclusion>
  199. <groupId>org.apache.hadoop</groupId>
  200. <artifactId>hadoop-mapreduce-client-core</artifactId>
  201. </exclusion>
  202. </exclusions>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.apache.hbase</groupId>
  206. <artifactId>hbase-server</artifactId>
  207. <classifier>tests</classifier>
  208. <scope>test</scope>
  209. <exclusions>
  210. <exclusion>
  211. <groupId>org.apache.hadoop</groupId>
  212. <artifactId>hadoop-common</artifactId>
  213. </exclusion>
  214. <exclusion>
  215. <groupId>org.apache.hadoop</groupId>
  216. <artifactId>hadoop-auth</artifactId>
  217. </exclusion>
  218. <exclusion>
  219. <groupId>org.apache.hadoop</groupId>
  220. <artifactId>hadoop-hdfs</artifactId>
  221. </exclusion>
  222. <exclusion>
  223. <groupId>org.apache.hadoop</groupId>
  224. <artifactId>hadoop-hdfs-client</artifactId>
  225. </exclusion>
  226. <exclusion>
  227. <groupId>org.apache.hadoop</groupId>
  228. <artifactId>hadoop-client</artifactId>
  229. </exclusion>
  230. <exclusion>
  231. <groupId>org.apache.hadoop</groupId>
  232. <artifactId>hadoop-mapreduce-client-core</artifactId>
  233. </exclusion>
  234. </exclusions>
  235. </dependency>
  236. <!-- 'mvn dependency:analyze' fails to detect use of this direct
  237. dependency -->
  238. <dependency>
  239. <groupId>org.apache.hadoop</groupId>
  240. <artifactId>hadoop-common</artifactId>
  241. <version>${hbase-compatible-hadoop.version}</version>
  242. <type>test-jar</type>
  243. <scope>test</scope>
  244. <exclusions>
  245. <exclusion>
  246. <groupId>org.apache.hadoop</groupId>
  247. <artifactId>hadoop-auth</artifactId>
  248. </exclusion>
  249. </exclusions>
  250. </dependency>
  251. <!-- 'mvn dependency:analyze' fails to detect use of this direct
  252. dependency -->
  253. <dependency>
  254. <groupId>org.apache.hadoop</groupId>
  255. <artifactId>hadoop-hdfs</artifactId>
  256. <version>${hbase-compatible-hadoop.version}</version>
  257. <scope>test</scope>
  258. </dependency>
  259. <!-- 'mvn dependency:analyze' fails to detect use of this direct
  260. dependency -->
  261. <dependency>
  262. <groupId>org.apache.hadoop</groupId>
  263. <artifactId>hadoop-hdfs</artifactId>
  264. <version>${hbase-compatible-hadoop.version}</version>
  265. <type>test-jar</type>
  266. <scope>test</scope>
  267. </dependency>
  268. <dependency>
  269. <groupId>org.apache.hbase</groupId>
  270. <artifactId>hbase-testing-util</artifactId>
  271. <scope>test</scope>
  272. <optional>true</optional>
  273. <exclusions>
  274. <exclusion>
  275. <groupId>org.apache.hadoop</groupId>
  276. <artifactId>hadoop-common</artifactId>
  277. </exclusion>
  278. <exclusion>
  279. <groupId>org.apache.hadoop</groupId>
  280. <artifactId>hadoop-auth</artifactId>
  281. </exclusion>
  282. <exclusion>
  283. <groupId>org.apache.hadoop</groupId>
  284. <artifactId>hadoop-client</artifactId>
  285. </exclusion>
  286. <exclusion>
  287. <groupId>org.apache.hadoop</groupId>
  288. <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
  289. </exclusion>
  290. <exclusion>
  291. <groupId>org.apache.hadoop</groupId>
  292. <artifactId>hadoop-mapreduce-client-core</artifactId>
  293. </exclusion>
  294. </exclusions>
  295. </dependency>
  296. </dependencies>
  297. <build>
  298. <plugins>
  299. <plugin>
  300. <groupId>org.codehaus.mojo</groupId>
  301. <artifactId>findbugs-maven-plugin</artifactId>
  302. <configuration>
  303. <includeTests>true</includeTests>
  304. </configuration>
  305. </plugin>
  306. <plugin>
  307. <artifactId>maven-jar-plugin</artifactId>
  308. <executions>
  309. <execution>
  310. <goals>
  311. <goal>test-jar</goal>
  312. </goals>
  313. <phase>test-compile</phase>
  314. </execution>
  315. </executions>
  316. </plugin>
  317. <plugin>
  318. <groupId>org.apache.maven.plugins</groupId>
  319. <artifactId>maven-javadoc-plugin</artifactId>
  320. <configuration>
  321. <additionnalDependencies>
  322. <additionnalDependency>
  323. <groupId>junit</groupId>
  324. <artifactId>junit</artifactId>
  325. <version>4.11</version>
  326. </additionnalDependency>
  327. </additionnalDependencies>
  328. </configuration>
  329. </plugin>
  330. </plugins>
  331. </build>
  332. </project>