pom.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  14. <modelVersion>4.0.0</modelVersion>
  15. <parent>
  16. <groupId>org.apache.hadoop</groupId>
  17. <artifactId>hadoop-project</artifactId>
  18. <version>3.0.0-SNAPSHOT</version>
  19. <relativePath>../../hadoop-project</relativePath>
  20. </parent>
  21. <groupId>org.apache.hadoop</groupId>
  22. <artifactId>hadoop-yarn</artifactId>
  23. <version>3.0.0-SNAPSHOT</version>
  24. <packaging>pom</packaging>
  25. <name>hadoop-yarn</name>
  26. <properties>
  27. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  28. <test.logs>true</test.logs>
  29. <test.timeout>600000</test.timeout>
  30. <yarn.basedir>${basedir}</yarn.basedir>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.apache.hadoop</groupId>
  35. <artifactId>hadoop-common</artifactId>
  36. <scope>provided</scope>
  37. <exclusions>
  38. <exclusion>
  39. <groupId>commons-el</groupId>
  40. <artifactId>commons-el</artifactId>
  41. </exclusion>
  42. <exclusion>
  43. <groupId>tomcat</groupId>
  44. <artifactId>jasper-runtime</artifactId>
  45. </exclusion>
  46. <exclusion>
  47. <groupId>tomcat</groupId>
  48. <artifactId>jasper-compiler</artifactId>
  49. </exclusion>
  50. <exclusion>
  51. <groupId>org.mortbay.jetty</groupId>
  52. <artifactId>jsp-2.1-jetty</artifactId>
  53. </exclusion>
  54. </exclusions>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.slf4j</groupId>
  58. <artifactId>slf4j-api</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.slf4j</groupId>
  62. <artifactId>slf4j-log4j12</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.hadoop</groupId>
  66. <artifactId>hadoop-annotations</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.mockito</groupId>
  70. <artifactId>mockito-all</artifactId>
  71. <scope>test</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.apache.hadoop</groupId>
  75. <artifactId>hadoop-common</artifactId>
  76. <type>test-jar</type>
  77. <scope>test</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.google.inject.extensions</groupId>
  81. <artifactId>guice-servlet</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.jboss.netty</groupId>
  85. <artifactId>netty</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.cenqua.clover</groupId>
  89. <artifactId>clover</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.google.protobuf</groupId>
  93. <artifactId>protobuf-java</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>junit</groupId>
  97. <artifactId>junit</artifactId>
  98. <scope>test</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>commons-io</groupId>
  102. <artifactId>commons-io</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.hadoop</groupId>
  106. <artifactId>hadoop-hdfs</artifactId>
  107. <scope>provided</scope>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.google.inject</groupId>
  111. <artifactId>guice</artifactId>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  115. <artifactId>jersey-test-framework-core</artifactId>
  116. <scope>test</scope>
  117. </dependency>
  118. <dependency>
  119. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  120. <artifactId>jersey-test-framework-grizzly2</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.sun.jersey</groupId>
  124. <artifactId>jersey-server</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.sun.jersey.contribs</groupId>
  128. <artifactId>jersey-guice</artifactId>
  129. </dependency>
  130. </dependencies>
  131. <build>
  132. <plugins>
  133. <plugin>
  134. <groupId>org.codehaus.mojo</groupId>
  135. <artifactId>findbugs-maven-plugin</artifactId>
  136. <configuration>
  137. <findbugsXmlOutput>true</findbugsXmlOutput>
  138. <xmlOutput>true</xmlOutput>
  139. <excludeFilterFile>${yarn.basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
  140. <effort>Max</effort>
  141. </configuration>
  142. </plugin>
  143. <plugin>
  144. <groupId>org.apache.rat</groupId>
  145. <artifactId>apache-rat-plugin</artifactId>
  146. <configuration>
  147. <includes>
  148. <include>pom.xml</include>
  149. </includes>
  150. </configuration>
  151. </plugin>
  152. </plugins>
  153. </build>
  154. <profiles>
  155. <profile>
  156. <id>release</id>
  157. <build>
  158. <plugins>
  159. <plugin>
  160. <artifactId>maven-source-plugin</artifactId>
  161. <executions>
  162. <execution>
  163. <id>attach-sources</id>
  164. <goals>
  165. <!-- avoid warning about recursion -->
  166. <goal>jar-no-fork</goal>
  167. </goals>
  168. </execution>
  169. </executions>
  170. </plugin>
  171. </plugins>
  172. </build>
  173. </profile>
  174. </profiles>
  175. <modules>
  176. <module>hadoop-yarn-api</module>
  177. <module>hadoop-yarn-common</module>
  178. <module>hadoop-yarn-server</module>
  179. <module>hadoop-yarn-applications</module>
  180. <module>hadoop-yarn-site</module>
  181. </modules>
  182. </project>