pom.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. <?xml version="1.0"?>
  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. <parent>
  18. <artifactId>hadoop-mapreduce-client</artifactId>
  19. <groupId>org.apache.hadoop</groupId>
  20. <version>3.5.0-SNAPSHOT</version>
  21. </parent>
  22. <modelVersion>4.0.0</modelVersion>
  23. <artifactId>hadoop-mapreduce-client-app</artifactId>
  24. <version>3.5.0-SNAPSHOT</version>
  25. <name>Apache Hadoop MapReduce App</name>
  26. <properties>
  27. <applink.base>${project.build.directory}/${project.name}</applink.base>
  28. <!-- Needed for generating FindBugs warnings using parent pom -->
  29. <mr.basedir>${project.parent.basedir}/../</mr.basedir>
  30. </properties>
  31. <dependencies>
  32. <dependency>
  33. <groupId>org.apache.hadoop</groupId>
  34. <artifactId>hadoop-yarn-common</artifactId>
  35. <type>test-jar</type>
  36. <scope>test</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.hadoop</groupId>
  40. <artifactId>hadoop-mapreduce-client-common</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.apache.hadoop</groupId>
  44. <artifactId>hadoop-yarn-server-web-proxy</artifactId>
  45. <exclusions>
  46. <exclusion>
  47. <groupId>org.bouncycastle</groupId>
  48. <artifactId>bcprov-jdk18on</artifactId>
  49. </exclusion>
  50. <exclusion>
  51. <groupId>org.bouncycastle</groupId>
  52. <artifactId>bcpkix-jdk18on</artifactId>
  53. </exclusion>
  54. </exclusions>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.hadoop</groupId>
  58. <artifactId>hadoop-yarn-server-common</artifactId>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.hadoop</groupId>
  63. <artifactId>hadoop-yarn-server-nodemanager</artifactId>
  64. <scope>test</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.apache.hadoop</groupId>
  68. <artifactId>hadoop-yarn-server-resourcemanager</artifactId>
  69. <scope>test</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.apache.hadoop</groupId>
  73. <artifactId>hadoop-yarn-server-resourcemanager</artifactId>
  74. <type>test-jar</type>
  75. <scope>test</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.hadoop</groupId>
  79. <artifactId>hadoop-mapreduce-client-shuffle</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.hadoop</groupId>
  83. <artifactId>hadoop-hdfs</artifactId>
  84. <type>test-jar</type>
  85. <scope>test</scope>
  86. <exclusions>
  87. <exclusion>
  88. <groupId>org.ow2.asm</groupId>
  89. <artifactId>asm-commons</artifactId>
  90. </exclusion>
  91. </exclusions>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.apache.hadoop</groupId>
  95. <artifactId>hadoop-yarn-server-tests</artifactId>
  96. <type>test-jar</type>
  97. <scope>test</scope>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.fasterxml.jackson.core</groupId>
  101. <artifactId>jackson-databind</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.bouncycastle</groupId>
  105. <artifactId>bcprov-jdk18on</artifactId>
  106. <scope>test</scope>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.bouncycastle</groupId>
  110. <artifactId>bcpkix-jdk18on</artifactId>
  111. <scope>test</scope>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.github.stefanbirkner</groupId>
  115. <artifactId>system-rules</artifactId>
  116. <scope>test</scope>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.assertj</groupId>
  120. <artifactId>assertj-core</artifactId>
  121. <scope>test</scope>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.glassfish.jersey.test-framework</groupId>
  125. <artifactId>jersey-test-framework-core</artifactId>
  126. <scope>test</scope>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.glassfish.jersey.test-framework.providers</groupId>
  130. <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
  131. <scope>test</scope>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.glassfish.jersey.inject</groupId>
  135. <artifactId>jersey-hk2</artifactId>
  136. <scope>runtime</scope>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.glassfish.jersey.media</groupId>
  140. <artifactId>jersey-media-jaxb</artifactId>
  141. <scope>test</scope>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.glassfish.jersey.media</groupId>
  145. <artifactId>jersey-media-json-jettison</artifactId>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.junit.jupiter</groupId>
  149. <artifactId>junit-jupiter-api</artifactId>
  150. <scope>test</scope>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.junit.jupiter</groupId>
  154. <artifactId>junit-jupiter-engine</artifactId>
  155. <scope>test</scope>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.junit.jupiter</groupId>
  159. <artifactId>junit-jupiter-params</artifactId>
  160. <scope>test</scope>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.junit.platform</groupId>
  164. <artifactId>junit-platform-launcher</artifactId>
  165. <scope>test</scope>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.junit.vintage</groupId>
  169. <artifactId>junit-vintage-engine</artifactId>
  170. <scope>test</scope>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.mockito</groupId>
  174. <artifactId>mockito-junit-jupiter</artifactId>
  175. </dependency>
  176. </dependencies>
  177. <build>
  178. <plugins>
  179. <plugin>
  180. <artifactId>maven-jar-plugin</artifactId>
  181. <executions>
  182. <execution>
  183. <goals>
  184. <goal>test-jar</goal>
  185. </goals>
  186. <phase>test-compile</phase>
  187. </execution>
  188. </executions>
  189. </plugin>
  190. </plugins>
  191. </build>
  192. <profiles>
  193. <profile>
  194. <id>visualize</id>
  195. <activation>
  196. <activeByDefault>false</activeByDefault>
  197. </activation>
  198. <build>
  199. <plugins>
  200. <plugin>
  201. <groupId>org.codehaus.mojo</groupId>
  202. <artifactId>exec-maven-plugin</artifactId>
  203. <executions>
  204. <execution>
  205. <phase>compile</phase>
  206. <goals>
  207. <goal>java</goal>
  208. </goals>
  209. <configuration>
  210. <classpathScope>test</classpathScope>
  211. <mainClass>org.apache.hadoop.yarn.state.VisualizeStateMachine</mainClass>
  212. <arguments>
  213. <argument>MapReduce</argument>
  214. <argument>org.apache.hadoop.mapreduce.v2.app.job.impl.JobImpl,
  215. org.apache.hadoop.mapreduce.v2.app.job.impl.TaskImpl,
  216. org.apache.hadoop.mapreduce.v2.app.job.impl.TaskAttemptImpl</argument>
  217. <argument>MapReduce.gv</argument>
  218. </arguments>
  219. </configuration>
  220. </execution>
  221. </executions>
  222. </plugin>
  223. </plugins>
  224. </build>
  225. </profile>
  226. </profiles>
  227. </project>