pom.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  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. </dependencies>
  168. <build>
  169. <plugins>
  170. <plugin>
  171. <artifactId>maven-jar-plugin</artifactId>
  172. <executions>
  173. <execution>
  174. <goals>
  175. <goal>test-jar</goal>
  176. </goals>
  177. <phase>test-compile</phase>
  178. </execution>
  179. </executions>
  180. </plugin>
  181. </plugins>
  182. </build>
  183. <profiles>
  184. <profile>
  185. <id>visualize</id>
  186. <activation>
  187. <activeByDefault>false</activeByDefault>
  188. </activation>
  189. <build>
  190. <plugins>
  191. <plugin>
  192. <groupId>org.codehaus.mojo</groupId>
  193. <artifactId>exec-maven-plugin</artifactId>
  194. <executions>
  195. <execution>
  196. <phase>compile</phase>
  197. <goals>
  198. <goal>java</goal>
  199. </goals>
  200. <configuration>
  201. <classpathScope>test</classpathScope>
  202. <mainClass>org.apache.hadoop.yarn.state.VisualizeStateMachine</mainClass>
  203. <arguments>
  204. <argument>MapReduce</argument>
  205. <argument>org.apache.hadoop.mapreduce.v2.app.job.impl.JobImpl,
  206. org.apache.hadoop.mapreduce.v2.app.job.impl.TaskImpl,
  207. org.apache.hadoop.mapreduce.v2.app.job.impl.TaskAttemptImpl</argument>
  208. <argument>MapReduce.gv</argument>
  209. </arguments>
  210. </configuration>
  211. </execution>
  212. </executions>
  213. </plugin>
  214. </plugins>
  215. </build>
  216. </profile>
  217. </profiles>
  218. </project>