pom.xml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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. --><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">
  13. <modelVersion>4.0.0</modelVersion>
  14. <parent>
  15. <groupId>org.apache.hadoop</groupId>
  16. <artifactId>hadoop-project</artifactId>
  17. <version>0.23.10-SNAPSHOT</version>
  18. <relativePath>../../hadoop-project</relativePath>
  19. </parent>
  20. <groupId>org.apache.hadoop</groupId>
  21. <artifactId>hadoop-yarn</artifactId>
  22. <version>0.23.10-SNAPSHOT</version>
  23. <packaging>pom</packaging>
  24. <name>hadoop-yarn</name>
  25. <properties>
  26. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  27. <test.logs>true</test.logs>
  28. <test.timeout>600000</test.timeout>
  29. <fork.mode>once</fork.mode>
  30. <yarn.basedir>${basedir}</yarn.basedir>
  31. </properties>
  32. <distributionManagement>
  33. <repository>
  34. <id>apache.releases.https</id>
  35. <name>Apache Release Distribution Repository</name>
  36. <url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
  37. </repository>
  38. <snapshotRepository>
  39. <id>apache.snapshots.https</id>
  40. <name>Apache Development Snapshot Repository</name>
  41. <url>https://repository.apache.org/content/repositories/snapshots</url>
  42. </snapshotRepository>
  43. </distributionManagement>
  44. <dependencies>
  45. <dependency>
  46. <groupId>org.apache.avro</groupId>
  47. <artifactId>avro</artifactId>
  48. <exclusions>
  49. <exclusion>
  50. <groupId>org.mortbay.jetty</groupId>
  51. <artifactId>jetty</artifactId>
  52. </exclusion>
  53. <exclusion>
  54. <groupId>org.apache.ant</groupId>
  55. <artifactId>ant</artifactId>
  56. </exclusion>
  57. <exclusion>
  58. <groupId>org.jboss.netty</groupId>
  59. <artifactId>netty</artifactId>
  60. </exclusion>
  61. <exclusion>
  62. <groupId>org.apache.velocity</groupId>
  63. <artifactId>velocity</artifactId>
  64. </exclusion>
  65. <exclusion>
  66. <groupId>org.slf4j</groupId>
  67. <artifactId>slf4j-api</artifactId>
  68. </exclusion>
  69. <exclusion>
  70. <artifactId>paranamer-ant</artifactId>
  71. <groupId>com.thoughtworks.paranamer</groupId>
  72. </exclusion>
  73. </exclusions>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.apache.hadoop</groupId>
  77. <artifactId>hadoop-common</artifactId>
  78. <scope>provided</scope>
  79. <exclusions>
  80. <exclusion>
  81. <groupId>commons-el</groupId>
  82. <artifactId>commons-el</artifactId>
  83. </exclusion>
  84. <exclusion>
  85. <groupId>tomcat</groupId>
  86. <artifactId>jasper-runtime</artifactId>
  87. </exclusion>
  88. <exclusion>
  89. <groupId>tomcat</groupId>
  90. <artifactId>jasper-compiler</artifactId>
  91. </exclusion>
  92. <exclusion>
  93. <groupId>org.mortbay.jetty</groupId>
  94. <artifactId>jsp-2.1-jetty</artifactId>
  95. </exclusion>
  96. </exclusions>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.slf4j</groupId>
  100. <artifactId>slf4j-api</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.slf4j</groupId>
  104. <artifactId>slf4j-log4j12</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.apache.hadoop</groupId>
  108. <artifactId>hadoop-annotations</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.mockito</groupId>
  112. <artifactId>mockito-all</artifactId>
  113. <scope>test</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.apache.hadoop</groupId>
  117. <artifactId>hadoop-common</artifactId>
  118. <type>test-jar</type>
  119. <scope>test</scope>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.google.inject.extensions</groupId>
  123. <artifactId>guice-servlet</artifactId>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.jboss.netty</groupId>
  127. <artifactId>netty</artifactId>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.cenqua.clover</groupId>
  131. <artifactId>clover</artifactId>
  132. </dependency>
  133. <dependency>
  134. <groupId>com.google.protobuf</groupId>
  135. <artifactId>protobuf-java</artifactId>
  136. </dependency>
  137. <dependency>
  138. <groupId>junit</groupId>
  139. <artifactId>junit</artifactId>
  140. <scope>test</scope>
  141. </dependency>
  142. <dependency>
  143. <groupId>commons-io</groupId>
  144. <artifactId>commons-io</artifactId>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.apache.hadoop</groupId>
  148. <artifactId>hadoop-hdfs</artifactId>
  149. <scope>provided</scope>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.google.inject</groupId>
  153. <artifactId>guice</artifactId>
  154. </dependency>
  155. <dependency>
  156. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  157. <artifactId>jersey-test-framework-core</artifactId>
  158. <scope>test</scope>
  159. </dependency>
  160. <dependency>
  161. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  162. <artifactId>jersey-test-framework-grizzly2</artifactId>
  163. </dependency>
  164. <dependency>
  165. <groupId>com.sun.jersey</groupId>
  166. <artifactId>jersey-server</artifactId>
  167. </dependency>
  168. <dependency>
  169. <groupId>com.sun.jersey.contribs</groupId>
  170. <artifactId>jersey-guice</artifactId>
  171. </dependency>
  172. </dependencies>
  173. <build>
  174. <plugins>
  175. <plugin>
  176. <groupId>org.codehaus.mojo</groupId>
  177. <artifactId>findbugs-maven-plugin</artifactId>
  178. <configuration>
  179. <findbugsXmlOutput>true</findbugsXmlOutput>
  180. <xmlOutput>true</xmlOutput>
  181. <excludeFilterFile>${yarn.basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
  182. <effort>Max</effort>
  183. </configuration>
  184. </plugin>
  185. <plugin>
  186. <groupId>org.apache.rat</groupId>
  187. <artifactId>apache-rat-plugin</artifactId>
  188. <configuration>
  189. <excludes>
  190. <exclude>conf/slaves</exclude>
  191. <exclude>conf/container-executor.cfg</exclude>
  192. </excludes>
  193. </configuration>
  194. </plugin>
  195. <plugin>
  196. <groupId>org.apache.maven.plugins</groupId>
  197. <artifactId>maven-surefire-plugin</artifactId>
  198. <configuration>
  199. <properties>
  200. <property>
  201. <name>listener</name>
  202. <value>org.apache.hadoop.test.TimedOutTestsListener</value>
  203. </property>
  204. </properties>
  205. </configuration>
  206. </plugin>
  207. </plugins>
  208. </build>
  209. <profiles>
  210. <profile>
  211. <id>release</id>
  212. <build>
  213. <plugins>
  214. <plugin>
  215. <artifactId>maven-source-plugin</artifactId>
  216. <executions>
  217. <execution>
  218. <id>attach-sources</id>
  219. <goals>
  220. <!-- avoid warning about recursion -->
  221. <goal>jar-no-fork</goal>
  222. </goals>
  223. </execution>
  224. </executions>
  225. </plugin>
  226. </plugins>
  227. </build>
  228. </profile>
  229. </profiles>
  230. <modules>
  231. <module>hadoop-yarn-api</module>
  232. <module>hadoop-yarn-common</module>
  233. <module>hadoop-yarn-server</module>
  234. <module>hadoop-yarn-applications</module>
  235. <module>hadoop-yarn-site</module>
  236. <module>hadoop-yarn-client</module>
  237. </modules>
  238. </project>