pom.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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-jdk15on</artifactId>
  49. </exclusion>
  50. <exclusion>
  51. <groupId>org.bouncycastle</groupId>
  52. <artifactId>bcpkix-jdk15on</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-jdk15on</artifactId>
  106. <scope>test</scope>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.bouncycastle</groupId>
  110. <artifactId>bcpkix-jdk15on</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. </dependencies>
  124. <build>
  125. <plugins>
  126. <plugin>
  127. <artifactId>maven-jar-plugin</artifactId>
  128. <executions>
  129. <execution>
  130. <goals>
  131. <goal>test-jar</goal>
  132. </goals>
  133. <phase>test-compile</phase>
  134. </execution>
  135. </executions>
  136. </plugin>
  137. </plugins>
  138. </build>
  139. <profiles>
  140. <profile>
  141. <id>visualize</id>
  142. <activation>
  143. <activeByDefault>false</activeByDefault>
  144. </activation>
  145. <build>
  146. <plugins>
  147. <plugin>
  148. <groupId>org.codehaus.mojo</groupId>
  149. <artifactId>exec-maven-plugin</artifactId>
  150. <executions>
  151. <execution>
  152. <phase>compile</phase>
  153. <goals>
  154. <goal>java</goal>
  155. </goals>
  156. <configuration>
  157. <classpathScope>test</classpathScope>
  158. <mainClass>org.apache.hadoop.yarn.state.VisualizeStateMachine</mainClass>
  159. <arguments>
  160. <argument>MapReduce</argument>
  161. <argument>org.apache.hadoop.mapreduce.v2.app.job.impl.JobImpl,
  162. org.apache.hadoop.mapreduce.v2.app.job.impl.TaskImpl,
  163. org.apache.hadoop.mapreduce.v2.app.job.impl.TaskAttemptImpl</argument>
  164. <argument>MapReduce.gv</argument>
  165. </arguments>
  166. </configuration>
  167. </execution>
  168. </executions>
  169. </plugin>
  170. </plugins>
  171. </build>
  172. </profile>
  173. </profiles>
  174. </project>