pom.xml 4.9 KB

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