pom.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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>2.0.0-alpha</version>
  19. <relativePath>../../hadoop-project</relativePath>
  20. </parent>
  21. <groupId>org.apache.hadoop</groupId>
  22. <artifactId>hadoop-yarn</artifactId>
  23. <version>2.0.0-alpha</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. <fork.mode>once</fork.mode>
  31. <yarn.basedir>${basedir}</yarn.basedir>
  32. </properties>
  33. <distributionManagement>
  34. <repository>
  35. <id>apache.releases.https</id>
  36. <name>Apache Release Distribution Repository</name>
  37. <url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
  38. </repository>
  39. <snapshotRepository>
  40. <id>apache.snapshots.https</id>
  41. <name>Apache Development Snapshot Repository</name>
  42. <url>https://repository.apache.org/content/repositories/snapshots</url>
  43. </snapshotRepository>
  44. </distributionManagement>
  45. <dependencies>
  46. <dependency>
  47. <groupId>org.apache.hadoop</groupId>
  48. <artifactId>hadoop-common</artifactId>
  49. <scope>provided</scope>
  50. <exclusions>
  51. <exclusion>
  52. <groupId>commons-el</groupId>
  53. <artifactId>commons-el</artifactId>
  54. </exclusion>
  55. <exclusion>
  56. <groupId>tomcat</groupId>
  57. <artifactId>jasper-runtime</artifactId>
  58. </exclusion>
  59. <exclusion>
  60. <groupId>tomcat</groupId>
  61. <artifactId>jasper-compiler</artifactId>
  62. </exclusion>
  63. <exclusion>
  64. <groupId>org.mortbay.jetty</groupId>
  65. <artifactId>jsp-2.1-jetty</artifactId>
  66. </exclusion>
  67. </exclusions>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.slf4j</groupId>
  71. <artifactId>slf4j-api</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.slf4j</groupId>
  75. <artifactId>slf4j-log4j12</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.hadoop</groupId>
  79. <artifactId>hadoop-annotations</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.mockito</groupId>
  83. <artifactId>mockito-all</artifactId>
  84. <scope>test</scope>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.apache.hadoop</groupId>
  88. <artifactId>hadoop-common</artifactId>
  89. <type>test-jar</type>
  90. <scope>test</scope>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.google.inject.extensions</groupId>
  94. <artifactId>guice-servlet</artifactId>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.jboss.netty</groupId>
  98. <artifactId>netty</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.google.protobuf</groupId>
  102. <artifactId>protobuf-java</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>junit</groupId>
  106. <artifactId>junit</artifactId>
  107. <scope>test</scope>
  108. </dependency>
  109. <dependency>
  110. <groupId>commons-io</groupId>
  111. <artifactId>commons-io</artifactId>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.apache.hadoop</groupId>
  115. <artifactId>hadoop-hdfs</artifactId>
  116. <scope>test</scope>
  117. </dependency>
  118. <dependency>
  119. <groupId>com.google.inject</groupId>
  120. <artifactId>guice</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  124. <artifactId>jersey-test-framework-core</artifactId>
  125. <scope>test</scope>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  129. <artifactId>jersey-test-framework-grizzly2</artifactId>
  130. </dependency>
  131. <dependency>
  132. <groupId>com.sun.jersey</groupId>
  133. <artifactId>jersey-server</artifactId>
  134. </dependency>
  135. <dependency>
  136. <groupId>com.sun.jersey.contribs</groupId>
  137. <artifactId>jersey-guice</artifactId>
  138. </dependency>
  139. </dependencies>
  140. <build>
  141. <plugins>
  142. <plugin>
  143. <groupId>org.codehaus.mojo</groupId>
  144. <artifactId>findbugs-maven-plugin</artifactId>
  145. <configuration>
  146. <findbugsXmlOutput>true</findbugsXmlOutput>
  147. <xmlOutput>true</xmlOutput>
  148. <excludeFilterFile>${yarn.basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
  149. <effort>Max</effort>
  150. </configuration>
  151. </plugin>
  152. <plugin>
  153. <groupId>org.apache.rat</groupId>
  154. <artifactId>apache-rat-plugin</artifactId>
  155. <configuration>
  156. <includes>
  157. <include>pom.xml</include>
  158. </includes>
  159. </configuration>
  160. </plugin>
  161. </plugins>
  162. </build>
  163. <profiles>
  164. <profile>
  165. <id>release</id>
  166. <build>
  167. <plugins>
  168. <plugin>
  169. <artifactId>maven-source-plugin</artifactId>
  170. <executions>
  171. <execution>
  172. <id>attach-sources</id>
  173. <goals>
  174. <!-- avoid warning about recursion -->
  175. <goal>jar-no-fork</goal>
  176. </goals>
  177. </execution>
  178. </executions>
  179. </plugin>
  180. </plugins>
  181. </build>
  182. </profile>
  183. </profiles>
  184. <modules>
  185. <module>hadoop-yarn-api</module>
  186. <module>hadoop-yarn-common</module>
  187. <module>hadoop-yarn-server</module>
  188. <module>hadoop-yarn-applications</module>
  189. <module>hadoop-yarn-site</module>
  190. </modules>
  191. </project>