pom.xml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  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"
  14. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  15. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  16. https://maven.apache.org/xsd/maven-4.0.0.xsd">
  17. <modelVersion>4.0.0</modelVersion>
  18. <parent>
  19. <groupId>org.apache.hadoop</groupId>
  20. <artifactId>hadoop-project</artifactId>
  21. <version>3.5.0-SNAPSHOT</version>
  22. <relativePath>../../hadoop-project</relativePath>
  23. </parent>
  24. <artifactId>hadoop-extras</artifactId>
  25. <version>3.5.0-SNAPSHOT</version>
  26. <description>Apache Hadoop Extras</description>
  27. <name>Apache Hadoop Extras</name>
  28. <packaging>jar</packaging>
  29. <properties>
  30. <hadoop.log.dir>${project.build.directory}/log</hadoop.log.dir>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>junit</groupId>
  35. <artifactId>junit</artifactId>
  36. <scope>test</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.mockito</groupId>
  40. <artifactId>mockito-inline</artifactId>
  41. <scope>test</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.hadoop</groupId>
  45. <artifactId>hadoop-annotations</artifactId>
  46. <scope>provided</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.hadoop</groupId>
  50. <artifactId>hadoop-mapreduce-client-hs</artifactId>
  51. <scope>provided</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.hadoop</groupId>
  55. <artifactId>hadoop-mapreduce-client-core</artifactId>
  56. <scope>provided</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.hadoop</groupId>
  60. <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
  61. <scope>provided</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.hadoop</groupId>
  65. <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
  66. <scope>test</scope>
  67. <type>test-jar</type>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.hadoop</groupId>
  71. <artifactId>hadoop-common</artifactId>
  72. <scope>provided</scope>
  73. <exclusions>
  74. <exclusion>
  75. <groupId>javax.servlet</groupId>
  76. <artifactId>servlet-api</artifactId>
  77. </exclusion>
  78. <exclusion>
  79. <groupId>javax.enterprise</groupId>
  80. <artifactId>cdi-api</artifactId>
  81. </exclusion>
  82. </exclusions>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.apache.hadoop</groupId>
  86. <artifactId>hadoop-hdfs-client</artifactId>
  87. <scope>provided</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.apache.hadoop</groupId>
  91. <artifactId>hadoop-common</artifactId>
  92. <scope>test</scope>
  93. <type>test-jar</type>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.hadoop</groupId>
  97. <artifactId>hadoop-hdfs</artifactId>
  98. <scope>test</scope>
  99. <exclusions>
  100. <exclusion>
  101. <groupId>org.ow2.asm</groupId>
  102. <artifactId>asm-commons</artifactId>
  103. </exclusion>
  104. </exclusions>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.apache.hadoop</groupId>
  108. <artifactId>hadoop-hdfs</artifactId>
  109. <scope>test</scope>
  110. <type>test-jar</type>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.apache.hadoop</groupId>
  114. <artifactId>hadoop-yarn-server-tests</artifactId>
  115. <type>test-jar</type>
  116. <scope>test</scope>
  117. </dependency>
  118. <dependency>
  119. <groupId>cglib</groupId>
  120. <artifactId>cglib</artifactId>
  121. <scope>test</scope>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.bouncycastle</groupId>
  125. <artifactId>bcprov-jdk18on</artifactId>
  126. <scope>test</scope>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.bouncycastle</groupId>
  130. <artifactId>bcpkix-jdk18on</artifactId>
  131. <scope>test</scope>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.junit.jupiter</groupId>
  135. <artifactId>junit-jupiter-api</artifactId>
  136. <scope>test</scope>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.junit.jupiter</groupId>
  140. <artifactId>junit-jupiter-engine</artifactId>
  141. <scope>test</scope>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.junit.jupiter</groupId>
  145. <artifactId>junit-jupiter-params</artifactId>
  146. <scope>test</scope>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.junit.platform</groupId>
  150. <artifactId>junit-platform-launcher</artifactId>
  151. <scope>test</scope>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.junit.vintage</groupId>
  155. <artifactId>junit-vintage-engine</artifactId>
  156. <scope>test</scope>
  157. </dependency>
  158. </dependencies>
  159. <build>
  160. <plugins>
  161. <plugin>
  162. <groupId>org.apache.maven.plugins</groupId>
  163. <artifactId>maven-antrun-plugin</artifactId>
  164. <executions>
  165. <execution>
  166. <id>create-log-dir</id>
  167. <phase>process-test-resources</phase>
  168. <goals>
  169. <goal>run</goal>
  170. </goals>
  171. <configuration>
  172. <target>
  173. <delete dir="${test.build.data}"/>
  174. <mkdir dir="${test.build.data}"/>
  175. <mkdir dir="${hadoop.log.dir}"/>
  176. </target>
  177. </configuration>
  178. </execution>
  179. </executions>
  180. </plugin>
  181. <plugin>
  182. <groupId>org.apache.maven.plugins</groupId>
  183. <artifactId>maven-jar-plugin</artifactId>
  184. </plugin>
  185. <plugin>
  186. <groupId>org.apache.maven.plugins</groupId>
  187. <artifactId>maven-dependency-plugin</artifactId>
  188. <executions>
  189. <execution>
  190. <id>deplist</id>
  191. <phase>compile</phase>
  192. <goals>
  193. <goal>list</goal>
  194. </goals>
  195. <configuration>
  196. <!-- referenced by a built-in command -->
  197. <outputFile>${project.basedir}/target/hadoop-tools-deps/${project.artifactId}.tools-builtin.txt</outputFile>
  198. </configuration>
  199. </execution>
  200. </executions>
  201. </plugin>
  202. </plugins>
  203. </build>
  204. </project>