pom.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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-common</artifactId>
  27. <name>Apache Hadoop YARN TimelineService HBase Common</name>
  28. <version>3.5.0-SNAPSHOT</version>
  29. <properties>
  30. <!-- Needed for generating FindBugs warnings using parent pom -->
  31. <yarn.basedir>${project.parent.parent.parent.basedir}</yarn.basedir>
  32. </properties>
  33. <dependencies>
  34. <dependency>
  35. <groupId>org.apache.hadoop</groupId>
  36. <artifactId>hadoop-annotations</artifactId>
  37. <scope>provided</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.hadoop</groupId>
  41. <artifactId>hadoop-yarn-api</artifactId>
  42. <scope>provided</scope>
  43. <exclusions>
  44. <exclusion>
  45. <groupId>com.google.guava</groupId>
  46. <artifactId>guava</artifactId>
  47. </exclusion>
  48. </exclusions>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.hadoop</groupId>
  52. <artifactId>hadoop-yarn-server-timelineservice</artifactId>
  53. <exclusions>
  54. <exclusion>
  55. <groupId>com.google.guava</groupId>
  56. <artifactId>guava</artifactId>
  57. </exclusion>
  58. <exclusion>
  59. <groupId>com.google.inject</groupId>
  60. <artifactId>guice</artifactId>
  61. </exclusion>
  62. </exclusions>
  63. </dependency>
  64. <!-- This is needed for GenericObjectMapper in GenericConverter -->
  65. <dependency>
  66. <groupId>org.apache.hadoop</groupId>
  67. <artifactId>hadoop-yarn-server-applicationhistoryservice</artifactId>
  68. <scope>provided</scope>
  69. <exclusions>
  70. <exclusion>
  71. <groupId>com.google.inject</groupId>
  72. <artifactId>guice</artifactId>
  73. </exclusion>
  74. </exclusions>
  75. </dependency>
  76. <!-- 'mvn dependency:analyze' fails to detect use of this direct
  77. dependency -->
  78. <dependency>
  79. <groupId>org.apache.hadoop</groupId>
  80. <artifactId>hadoop-common</artifactId>
  81. <type>test-jar</type>
  82. <scope>test</scope>
  83. <exclusions>
  84. <exclusion>
  85. <groupId>com.google.guava</groupId>
  86. <artifactId>guava</artifactId>
  87. </exclusion>
  88. </exclusions>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.apache.hbase</groupId>
  92. <artifactId>hbase-common</artifactId>
  93. <exclusions>
  94. <exclusion>
  95. <groupId>org.apache.hadoop</groupId>
  96. <artifactId>hadoop-mapreduce-client-core</artifactId>
  97. </exclusion>
  98. <exclusion>
  99. <groupId>org.mortbay.jetty</groupId>
  100. <artifactId>jetty-util</artifactId>
  101. </exclusion>
  102. <exclusion>
  103. <groupId>com.google.guava</groupId>
  104. <artifactId>guava</artifactId>
  105. </exclusion>
  106. </exclusions>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.apache.hadoop.thirdparty</groupId>
  110. <artifactId>hadoop-shaded-guava</artifactId>
  111. <scope>test</scope>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.junit.jupiter</groupId>
  115. <artifactId>junit-jupiter-api</artifactId>
  116. <scope>test</scope>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.junit.jupiter</groupId>
  120. <artifactId>junit-jupiter-engine</artifactId>
  121. <scope>test</scope>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.junit.platform</groupId>
  125. <artifactId>junit-platform-launcher</artifactId>
  126. <scope>test</scope>
  127. </dependency>
  128. </dependencies>
  129. <build>
  130. <plugins>
  131. <plugin>
  132. <artifactId>maven-jar-plugin</artifactId>
  133. <executions>
  134. <execution>
  135. <goals>
  136. <goal>test-jar</goal>
  137. </goals>
  138. <phase>test-compile</phase>
  139. </execution>
  140. </executions>
  141. </plugin>
  142. <plugin>
  143. <groupId>org.apache.maven.plugins</groupId>
  144. <artifactId>maven-dependency-plugin</artifactId>
  145. <executions>
  146. <execution>
  147. <phase>package</phase>
  148. <goals>
  149. <goal>copy-dependencies</goal>
  150. </goals>
  151. <configuration>
  152. <includeScope>runtime</includeScope>
  153. <excludeGroupIds>org.slf4j,org.apache.hadoop,com.github.stephenc.findbugs</excludeGroupIds>
  154. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  155. </configuration>
  156. </execution>
  157. </executions>
  158. </plugin>
  159. </plugins>
  160. </build>
  161. </project>