pom.xml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  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. https://maven.apache.org/xsd/maven-4.0.0.xsd">
  20. <parent>
  21. <artifactId>hadoop-yarn-server-timelineservice-hbase</artifactId>
  22. <groupId>org.apache.hadoop</groupId>
  23. <version>3.5.0-SNAPSHOT</version>
  24. </parent>
  25. <modelVersion>4.0.0</modelVersion>
  26. <artifactId>hadoop-yarn-server-timelineservice-hbase-client</artifactId>
  27. <name>Apache Hadoop YARN TimelineService HBase Client</name>
  28. <properties>
  29. <!-- Needed for generating FindBugs warnings using parent pom -->
  30. <yarn.basedir>${project.parent.parent.parent.basedir}</yarn.basedir>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.apache.hadoop</groupId>
  35. <artifactId>hadoop-yarn-server-timelineservice-hbase-common</artifactId>
  36. <exclusions>
  37. <exclusion>
  38. <groupId>com.google.guava</groupId>
  39. <artifactId>guava</artifactId>
  40. </exclusion>
  41. <exclusion>
  42. <groupId>com.google.inject</groupId>
  43. <artifactId>guice</artifactId>
  44. </exclusion>
  45. </exclusions>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.slf4j</groupId>
  49. <artifactId>slf4j-api</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>commons-cli</groupId>
  53. <artifactId>commons-cli</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.hadoop.thirdparty</groupId>
  57. <artifactId>hadoop-shaded-guava</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.apache.hadoop</groupId>
  61. <artifactId>hadoop-annotations</artifactId>
  62. <scope>provided</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.hadoop</groupId>
  66. <artifactId>hadoop-common</artifactId>
  67. <scope>provided</scope>
  68. <exclusions>
  69. <exclusion>
  70. <groupId>com.google.guava</groupId>
  71. <artifactId>guava</artifactId>
  72. </exclusion>
  73. </exclusions>
  74. </dependency>
  75. <!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
  76. <dependency>
  77. <groupId>org.apache.hadoop</groupId>
  78. <artifactId>hadoop-common</artifactId>
  79. <type>test-jar</type>
  80. <scope>test</scope>
  81. <exclusions>
  82. <exclusion>
  83. <groupId>com.google.guava</groupId>
  84. <artifactId>guava</artifactId>
  85. </exclusion>
  86. </exclusions>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.apache.hadoop</groupId>
  90. <artifactId>hadoop-hdfs</artifactId>
  91. <scope>test</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.apache.hadoop</groupId>
  95. <artifactId>hadoop-hdfs</artifactId>
  96. <type>test-jar</type>
  97. <scope>test</scope>
  98. </dependency>
  99. <dependency>
  100. <groupId>junit</groupId>
  101. <artifactId>junit</artifactId>
  102. <scope>test</scope>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.junit.jupiter</groupId>
  106. <artifactId>junit-jupiter-api</artifactId>
  107. <scope>test</scope>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.junit.jupiter</groupId>
  111. <artifactId>junit-jupiter-engine</artifactId>
  112. <scope>test</scope>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.junit.platform</groupId>
  116. <artifactId>junit-platform-launcher</artifactId>
  117. <scope>test</scope>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.apache.hadoop</groupId>
  121. <artifactId>hadoop-yarn-api</artifactId>
  122. <scope>provided</scope>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.hadoop</groupId>
  126. <artifactId>hadoop-yarn-common</artifactId>
  127. <scope>provided</scope>
  128. <exclusions>
  129. <exclusion>
  130. <groupId>com.google.inject</groupId>
  131. <artifactId>guice</artifactId>
  132. </exclusion>
  133. </exclusions>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.apache.hadoop</groupId>
  137. <artifactId>hadoop-yarn-server-common</artifactId>
  138. <scope>provided</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.apache.hadoop</groupId>
  142. <artifactId>hadoop-yarn-server-timelineservice</artifactId>
  143. <exclusions>
  144. <exclusion>
  145. <groupId>com.google.guava</groupId>
  146. <artifactId>guava</artifactId>
  147. </exclusion>
  148. <exclusion>
  149. <groupId>com.google.inject</groupId>
  150. <artifactId>guice</artifactId>
  151. </exclusion>
  152. </exclusions>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.mockito</groupId>
  156. <artifactId>mockito-core</artifactId>
  157. <scope>test</scope>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.apache.hbase</groupId>
  161. <artifactId>hbase-common</artifactId>
  162. <exclusions>
  163. <exclusion>
  164. <groupId>org.apache.hadoop</groupId>
  165. <artifactId>hadoop-mapreduce-client-core</artifactId>
  166. </exclusion>
  167. <exclusion>
  168. <groupId>org.mortbay.jetty</groupId>
  169. <artifactId>jetty-util</artifactId>
  170. </exclusion>
  171. <exclusion>
  172. <groupId>com.google.guava</groupId>
  173. <artifactId>guava</artifactId>
  174. </exclusion>
  175. </exclusions>
  176. </dependency>
  177. <dependency>
  178. <groupId>org.apache.hbase</groupId>
  179. <artifactId>hbase-client</artifactId>
  180. <exclusions>
  181. <exclusion>
  182. <groupId>org.apache.hadoop</groupId>
  183. <artifactId>hadoop-mapreduce-client-core</artifactId>
  184. </exclusion>
  185. <exclusion>
  186. <groupId>com.google.guava</groupId>
  187. <artifactId>guava</artifactId>
  188. </exclusion>
  189. </exclusions>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.apache.hbase</groupId>
  193. <artifactId>hbase-server</artifactId>
  194. <scope>provided</scope>
  195. <exclusions>
  196. <exclusion>
  197. <groupId>org.apache.hadoop</groupId>
  198. <artifactId>hadoop-hdfs</artifactId>
  199. </exclusion>
  200. <exclusion>
  201. <groupId>org.apache.hadoop</groupId>
  202. <artifactId>hadoop-hdfs-client</artifactId>
  203. </exclusion>
  204. <exclusion>
  205. <groupId>org.apache.hadoop</groupId>
  206. <artifactId>hadoop-client</artifactId>
  207. </exclusion>
  208. <exclusion>
  209. <groupId>org.apache.hadoop</groupId>
  210. <artifactId>hadoop-mapreduce-client-core</artifactId>
  211. </exclusion>
  212. <exclusion>
  213. <groupId>org.apache.hadoop</groupId>
  214. <artifactId>hadoop-distcp</artifactId>
  215. </exclusion>
  216. <exclusion>
  217. <groupId>org.mortbay.jetty</groupId>
  218. <artifactId>jetty</artifactId>
  219. </exclusion>
  220. <exclusion>
  221. <groupId>org.mortbay.jetty</groupId>
  222. <artifactId>jetty-util</artifactId>
  223. </exclusion>
  224. <exclusion>
  225. <groupId>org.mortbay.jetty</groupId>
  226. <artifactId>jetty-sslengine</artifactId>
  227. </exclusion>
  228. <exclusion>
  229. <groupId>org.eclipse.jetty</groupId>
  230. <artifactId>jetty-security</artifactId>
  231. </exclusion>
  232. <exclusion>
  233. <groupId>org.eclipse.jetty</groupId>
  234. <artifactId>jetty-http</artifactId>
  235. </exclusion>
  236. <exclusion>
  237. <groupId>com.google.guava</groupId>
  238. <artifactId>guava</artifactId>
  239. </exclusion>
  240. </exclusions>
  241. </dependency>
  242. </dependencies>
  243. <build>
  244. <plugins>
  245. <plugin>
  246. <artifactId>maven-jar-plugin</artifactId>
  247. <executions>
  248. <execution>
  249. <goals>
  250. <goal>test-jar</goal>
  251. </goals>
  252. <phase>test-compile</phase>
  253. </execution>
  254. </executions>
  255. </plugin>
  256. <plugin>
  257. <groupId>org.apache.maven.plugins</groupId>
  258. <artifactId>maven-dependency-plugin</artifactId>
  259. <executions>
  260. <execution>
  261. <phase>package</phase>
  262. <goals>
  263. <goal>copy-dependencies</goal>
  264. </goals>
  265. <configuration>
  266. <includeScope>runtime</includeScope>
  267. <excludeGroupIds>org.slf4j,org.apache.hadoop,com.github.stephenc.findbugs</excludeGroupIds>
  268. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  269. </configuration>
  270. </execution>
  271. </executions>
  272. </plugin>
  273. </plugins>
  274. </build>
  275. </project>