pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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.3.0-SNAPSHOT</version>
  21. </parent>
  22. <modelVersion>4.0.0</modelVersion>
  23. <artifactId>hadoop-mapreduce-client-app</artifactId>
  24. <version>3.3.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. </dependency>
  87. <dependency>
  88. <groupId>org.apache.hadoop</groupId>
  89. <artifactId>hadoop-yarn-server-tests</artifactId>
  90. <type>test-jar</type>
  91. <scope>test</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.fasterxml.jackson.core</groupId>
  95. <artifactId>jackson-databind</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.bouncycastle</groupId>
  99. <artifactId>bcprov-jdk15on</artifactId>
  100. <scope>test</scope>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.bouncycastle</groupId>
  104. <artifactId>bcpkix-jdk15on</artifactId>
  105. <scope>test</scope>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.github.stefanbirkner</groupId>
  109. <artifactId>system-rules</artifactId>
  110. <scope>test</scope>
  111. </dependency>
  112. </dependencies>
  113. <build>
  114. <plugins>
  115. <plugin>
  116. <artifactId>maven-jar-plugin</artifactId>
  117. <executions>
  118. <execution>
  119. <goals>
  120. <goal>test-jar</goal>
  121. </goals>
  122. <phase>test-compile</phase>
  123. </execution>
  124. </executions>
  125. </plugin>
  126. </plugins>
  127. </build>
  128. <profiles>
  129. <profile>
  130. <id>visualize</id>
  131. <activation>
  132. <activeByDefault>false</activeByDefault>
  133. </activation>
  134. <build>
  135. <plugins>
  136. <plugin>
  137. <groupId>org.codehaus.mojo</groupId>
  138. <artifactId>exec-maven-plugin</artifactId>
  139. <executions>
  140. <execution>
  141. <phase>compile</phase>
  142. <goals>
  143. <goal>java</goal>
  144. </goals>
  145. <configuration>
  146. <classpathScope>test</classpathScope>
  147. <mainClass>org.apache.hadoop.yarn.state.VisualizeStateMachine</mainClass>
  148. <arguments>
  149. <argument>MapReduce</argument>
  150. <argument>org.apache.hadoop.mapreduce.v2.app.job.impl.JobImpl,
  151. org.apache.hadoop.mapreduce.v2.app.job.impl.TaskImpl,
  152. org.apache.hadoop.mapreduce.v2.app.job.impl.TaskAttemptImpl</argument>
  153. <argument>MapReduce.gv</argument>
  154. </arguments>
  155. </configuration>
  156. </execution>
  157. </executions>
  158. </plugin>
  159. </plugins>
  160. </build>
  161. </profile>
  162. </profiles>
  163. </project>