pom.xml 6.4 KB

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