pom.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  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-gridmix</artifactId>
  25. <version>3.5.0-SNAPSHOT</version>
  26. <description>Apache Hadoop Gridmix</description>
  27. <name>Apache Hadoop Gridmix</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.apache.hadoop</groupId>
  40. <artifactId>hadoop-annotations</artifactId>
  41. <scope>provided</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.hadoop</groupId>
  45. <artifactId>hadoop-mapreduce-client-hs</artifactId>
  46. <scope>test</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.hadoop</groupId>
  50. <artifactId>hadoop-mapreduce-client-core</artifactId>
  51. <scope>provided</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.hadoop</groupId>
  55. <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
  56. <scope>provided</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.hadoop</groupId>
  60. <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
  61. <scope>test</scope>
  62. <type>test-jar</type>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.hadoop</groupId>
  66. <artifactId>hadoop-common</artifactId>
  67. <scope>provided</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.hadoop</groupId>
  71. <artifactId>hadoop-rumen</artifactId>
  72. <scope>provided</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.apache.hadoop</groupId>
  76. <artifactId>hadoop-hdfs-client</artifactId>
  77. <scope>provided</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.apache.hadoop</groupId>
  81. <artifactId>hadoop-common</artifactId>
  82. <scope>test</scope>
  83. <type>test-jar</type>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.hadoop</groupId>
  87. <artifactId>hadoop-hdfs</artifactId>
  88. <scope>test</scope>
  89. <exclusions>
  90. <exclusion>
  91. <groupId>org.ow2.asm</groupId>
  92. <artifactId>asm-commons</artifactId>
  93. </exclusion>
  94. </exclusions>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.apache.hadoop</groupId>
  98. <artifactId>hadoop-hdfs</artifactId>
  99. <scope>test</scope>
  100. <type>test-jar</type>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.hadoop</groupId>
  104. <artifactId>hadoop-yarn-server-tests</artifactId>
  105. <type>test-jar</type>
  106. <scope>test</scope>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.mockito</groupId>
  110. <artifactId>mockito-inline</artifactId>
  111. <scope>test</scope>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.bouncycastle</groupId>
  115. <artifactId>bcprov-jdk18on</artifactId>
  116. <scope>test</scope>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.bouncycastle</groupId>
  120. <artifactId>bcpkix-jdk18on</artifactId>
  121. <scope>test</scope>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.junit.jupiter</groupId>
  125. <artifactId>junit-jupiter-api</artifactId>
  126. <scope>test</scope>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.junit.jupiter</groupId>
  130. <artifactId>junit-jupiter-engine</artifactId>
  131. <scope>test</scope>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.junit.jupiter</groupId>
  135. <artifactId>junit-jupiter-params</artifactId>
  136. <scope>test</scope>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.junit.platform</groupId>
  140. <artifactId>junit-platform-launcher</artifactId>
  141. <scope>test</scope>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.junit.vintage</groupId>
  145. <artifactId>junit-vintage-engine</artifactId>
  146. <scope>test</scope>
  147. </dependency>
  148. </dependencies>
  149. <build>
  150. <plugins>
  151. <plugin>
  152. <groupId>com.github.spotbugs</groupId>
  153. <artifactId>spotbugs-maven-plugin</artifactId>
  154. <configuration>
  155. <xmlOutput>true</xmlOutput>
  156. <excludeFilterFile>${basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
  157. <effort>Max</effort>
  158. </configuration>
  159. </plugin>
  160. <plugin>
  161. <groupId>org.apache.maven.plugins</groupId>
  162. <artifactId>maven-antrun-plugin</artifactId>
  163. <executions>
  164. <execution>
  165. <id>create-log-dir</id>
  166. <phase>process-test-resources</phase>
  167. <goals>
  168. <goal>run</goal>
  169. </goals>
  170. <configuration>
  171. <target>
  172. <delete dir="${test.build.data}"/>
  173. <mkdir dir="${test.build.data}"/>
  174. <mkdir dir="${hadoop.log.dir}"/>
  175. </target>
  176. </configuration>
  177. </execution>
  178. </executions>
  179. </plugin>
  180. <plugin>
  181. <groupId>org.apache.rat</groupId>
  182. <artifactId>apache-rat-plugin</artifactId>
  183. <configuration>
  184. <excludes>
  185. <exclude>src/test/resources/data/*</exclude>
  186. </excludes>
  187. </configuration>
  188. </plugin>
  189. <plugin>
  190. <groupId>org.apache.maven.plugins</groupId>
  191. <artifactId>maven-jar-plugin</artifactId>
  192. <configuration>
  193. <archive>
  194. <manifest>
  195. <mainClass>org.apache.hadoop.mapred.gridmix.Gridmix</mainClass>
  196. </manifest>
  197. </archive>
  198. </configuration>
  199. </plugin>
  200. <plugin>
  201. <groupId>org.apache.maven.plugins</groupId>
  202. <artifactId>maven-dependency-plugin</artifactId>
  203. <executions>
  204. <execution>
  205. <id>deplist</id>
  206. <phase>compile</phase>
  207. <goals>
  208. <goal>list</goal>
  209. </goals>
  210. <configuration>
  211. <!-- referenced by a built-in command -->
  212. <outputFile>${project.basedir}/target/hadoop-tools-deps/${project.artifactId}.tools-builtin.txt</outputFile>
  213. </configuration>
  214. </execution>
  215. </executions>
  216. </plugin>
  217. </plugins>
  218. </build>
  219. </project>