pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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>0.24.0-SNAPSHOT</version>
  19. <relativePath>../../hadoop-project</relativePath>
  20. </parent>
  21. <groupId>org.apache.hadoop</groupId>
  22. <artifactId>hadoop-yarn</artifactId>
  23. <version>0.24.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. <exclusion>
  55. <groupId>hsqldb</groupId>
  56. <artifactId>hsqldb</artifactId>
  57. </exclusion>
  58. </exclusions>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.slf4j</groupId>
  62. <artifactId>slf4j-api</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.slf4j</groupId>
  66. <artifactId>slf4j-log4j12</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.hadoop</groupId>
  70. <artifactId>hadoop-annotations</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.mockito</groupId>
  74. <artifactId>mockito-all</artifactId>
  75. <scope>test</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.hadoop</groupId>
  79. <artifactId>hadoop-common</artifactId>
  80. <type>test-jar</type>
  81. <scope>test</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.google.inject.extensions</groupId>
  85. <artifactId>guice-servlet</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.jboss.netty</groupId>
  89. <artifactId>netty</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.cenqua.clover</groupId>
  93. <artifactId>clover</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.google.protobuf</groupId>
  97. <artifactId>protobuf-java</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>junit</groupId>
  101. <artifactId>junit</artifactId>
  102. <scope>test</scope>
  103. </dependency>
  104. <dependency>
  105. <groupId>commons-io</groupId>
  106. <artifactId>commons-io</artifactId>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.apache.hadoop</groupId>
  110. <artifactId>hadoop-hdfs</artifactId>
  111. <scope>provided</scope>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.google.inject</groupId>
  115. <artifactId>guice</artifactId>
  116. </dependency>
  117. <dependency>
  118. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  119. <artifactId>jersey-test-framework-core</artifactId>
  120. <scope>test</scope>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  124. <artifactId>jersey-test-framework-grizzly2</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.sun.jersey</groupId>
  128. <artifactId>jersey-server</artifactId>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.sun.jersey.contribs</groupId>
  132. <artifactId>jersey-guice</artifactId>
  133. </dependency>
  134. </dependencies>
  135. <build>
  136. <plugins>
  137. <plugin>
  138. <groupId>org.codehaus.mojo</groupId>
  139. <artifactId>findbugs-maven-plugin</artifactId>
  140. <configuration>
  141. <findbugsXmlOutput>true</findbugsXmlOutput>
  142. <xmlOutput>true</xmlOutput>
  143. <excludeFilterFile>${yarn.basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
  144. <effort>Max</effort>
  145. </configuration>
  146. </plugin>
  147. <plugin>
  148. <groupId>org.apache.rat</groupId>
  149. <artifactId>apache-rat-plugin</artifactId>
  150. <configuration>
  151. <includes>
  152. <include>pom.xml</include>
  153. </includes>
  154. </configuration>
  155. </plugin>
  156. </plugins>
  157. </build>
  158. <profiles>
  159. <profile>
  160. <id>release</id>
  161. <build>
  162. <plugins>
  163. <plugin>
  164. <artifactId>maven-source-plugin</artifactId>
  165. <executions>
  166. <execution>
  167. <id>attach-sources</id>
  168. <goals>
  169. <!-- avoid warning about recursion -->
  170. <goal>jar-no-fork</goal>
  171. </goals>
  172. </execution>
  173. </executions>
  174. </plugin>
  175. </plugins>
  176. </build>
  177. </profile>
  178. </profiles>
  179. <modules>
  180. <module>hadoop-yarn-api</module>
  181. <module>hadoop-yarn-common</module>
  182. <module>hadoop-yarn-server</module>
  183. <module>hadoop-yarn-applications</module>
  184. <module>hadoop-yarn-site</module>
  185. </modules>
  186. </project>