pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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. https://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.3.0-SNAPSHOT</version>
  22. <relativePath>../../hadoop-project</relativePath>
  23. </parent>
  24. <artifactId>hadoop-mapreduce-examples</artifactId>
  25. <version>3.3.0-SNAPSHOT</version>
  26. <description>Apache Hadoop MapReduce Examples</description>
  27. <name>Apache Hadoop MapReduce Examples</name>
  28. <packaging>jar</packaging>
  29. <properties>
  30. <mr.examples.basedir>${basedir}</mr.examples.basedir>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>commons-cli</groupId>
  35. <artifactId>commons-cli</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>commons-logging</groupId>
  39. <artifactId>commons-logging</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.hadoop</groupId>
  43. <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
  44. <scope>provided</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.apache.hadoop</groupId>
  48. <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
  49. <scope>test</scope>
  50. <type>test-jar</type>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.hadoop</groupId>
  54. <artifactId>hadoop-common</artifactId>
  55. <scope>provided</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.hadoop</groupId>
  59. <artifactId>hadoop-common</artifactId>
  60. <scope>test</scope>
  61. <type>test-jar</type>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.hadoop</groupId>
  65. <artifactId>hadoop-hdfs-client</artifactId>
  66. <scope>runtime</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.hadoop</groupId>
  70. <artifactId>hadoop-hdfs</artifactId>
  71. <scope>test</scope>
  72. <type>test-jar</type>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.apache.hadoop</groupId>
  76. <artifactId>hadoop-yarn-server-tests</artifactId>
  77. <scope>test</scope>
  78. <type>test-jar</type>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.apache.hadoop</groupId>
  82. <artifactId>hadoop-mapreduce-client-app</artifactId>
  83. <scope>provided</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.hadoop</groupId>
  87. <artifactId>hadoop-mapreduce-client-app</artifactId>
  88. <type>test-jar</type>
  89. <scope>test</scope>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  93. <artifactId>jersey-test-framework-grizzly2</artifactId>
  94. <scope>test</scope>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.apache.hadoop</groupId>
  98. <artifactId>hadoop-mapreduce-client-hs</artifactId>
  99. <scope>test</scope>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.hsqldb</groupId>
  103. <artifactId>hsqldb</artifactId>
  104. <scope>provided</scope>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.google.guava</groupId>
  108. <artifactId>guava</artifactId>
  109. <scope>provided</scope>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.slf4j</groupId>
  113. <artifactId>slf4j-api</artifactId>
  114. </dependency>
  115. </dependencies>
  116. <build>
  117. <plugins>
  118. <plugin>
  119. <groupId>org.apache.maven.plugins</groupId>
  120. <artifactId>maven-jar-plugin</artifactId>
  121. <configuration>
  122. <archive>
  123. <manifest>
  124. <mainClass>org.apache.hadoop.examples.ExampleDriver</mainClass>
  125. </manifest>
  126. </archive>
  127. </configuration>
  128. </plugin>
  129. <plugin>
  130. <groupId>org.codehaus.mojo</groupId>
  131. <artifactId>findbugs-maven-plugin</artifactId>
  132. <configuration>
  133. <findbugsXmlOutput>true</findbugsXmlOutput>
  134. <xmlOutput>true</xmlOutput>
  135. <excludeFilterFile>${mr.examples.basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
  136. <effort>Max</effort>
  137. </configuration>
  138. </plugin>
  139. <plugin>
  140. <groupId>org.apache.rat</groupId>
  141. <artifactId>apache-rat-plugin</artifactId>
  142. <configuration>
  143. <excludes>
  144. <exclude>src/main/java/org/apache/hadoop/examples/dancing/puzzle1.dta</exclude>
  145. </excludes>
  146. </configuration>
  147. </plugin>
  148. </plugins>
  149. </build>
  150. </project>