pom.xml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  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.2</version>
  19. <relativePath>../../hadoop-project</relativePath>
  20. </parent>
  21. <groupId>org.apache.hadoop</groupId>
  22. <artifactId>hadoop-yarn</artifactId>
  23. <version>0.23.2</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.avro</groupId>
  48. <artifactId>avro</artifactId>
  49. <exclusions>
  50. <exclusion>
  51. <groupId>org.mortbay.jetty</groupId>
  52. <artifactId>jetty</artifactId>
  53. </exclusion>
  54. <exclusion>
  55. <groupId>org.apache.ant</groupId>
  56. <artifactId>ant</artifactId>
  57. </exclusion>
  58. <exclusion>
  59. <groupId>org.jboss.netty</groupId>
  60. <artifactId>netty</artifactId>
  61. </exclusion>
  62. <exclusion>
  63. <groupId>org.apache.velocity</groupId>
  64. <artifactId>velocity</artifactId>
  65. </exclusion>
  66. <exclusion>
  67. <groupId>org.slf4j</groupId>
  68. <artifactId>slf4j-api</artifactId>
  69. </exclusion>
  70. <exclusion>
  71. <artifactId>paranamer-ant</artifactId>
  72. <groupId>com.thoughtworks.paranamer</groupId>
  73. </exclusion>
  74. </exclusions>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.hadoop</groupId>
  78. <artifactId>hadoop-common</artifactId>
  79. <scope>provided</scope>
  80. <exclusions>
  81. <exclusion>
  82. <groupId>commons-el</groupId>
  83. <artifactId>commons-el</artifactId>
  84. </exclusion>
  85. <exclusion>
  86. <groupId>tomcat</groupId>
  87. <artifactId>jasper-runtime</artifactId>
  88. </exclusion>
  89. <exclusion>
  90. <groupId>tomcat</groupId>
  91. <artifactId>jasper-compiler</artifactId>
  92. </exclusion>
  93. <exclusion>
  94. <groupId>org.mortbay.jetty</groupId>
  95. <artifactId>jsp-2.1-jetty</artifactId>
  96. </exclusion>
  97. <exclusion>
  98. <groupId>hsqldb</groupId>
  99. <artifactId>hsqldb</artifactId>
  100. </exclusion>
  101. </exclusions>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.slf4j</groupId>
  105. <artifactId>slf4j-api</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.slf4j</groupId>
  109. <artifactId>slf4j-log4j12</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.apache.hadoop</groupId>
  113. <artifactId>hadoop-annotations</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.mockito</groupId>
  117. <artifactId>mockito-all</artifactId>
  118. <scope>test</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.apache.hadoop</groupId>
  122. <artifactId>hadoop-common</artifactId>
  123. <type>test-jar</type>
  124. <scope>test</scope>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.google.inject.extensions</groupId>
  128. <artifactId>guice-servlet</artifactId>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.jboss.netty</groupId>
  132. <artifactId>netty</artifactId>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.cenqua.clover</groupId>
  136. <artifactId>clover</artifactId>
  137. </dependency>
  138. <dependency>
  139. <groupId>com.google.protobuf</groupId>
  140. <artifactId>protobuf-java</artifactId>
  141. </dependency>
  142. <dependency>
  143. <groupId>junit</groupId>
  144. <artifactId>junit</artifactId>
  145. <scope>test</scope>
  146. </dependency>
  147. <dependency>
  148. <groupId>commons-io</groupId>
  149. <artifactId>commons-io</artifactId>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.apache.hadoop</groupId>
  153. <artifactId>hadoop-hdfs</artifactId>
  154. <scope>provided</scope>
  155. </dependency>
  156. <dependency>
  157. <groupId>com.google.inject</groupId>
  158. <artifactId>guice</artifactId>
  159. </dependency>
  160. <dependency>
  161. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  162. <artifactId>jersey-test-framework-core</artifactId>
  163. <scope>test</scope>
  164. </dependency>
  165. <dependency>
  166. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  167. <artifactId>jersey-test-framework-grizzly2</artifactId>
  168. </dependency>
  169. <dependency>
  170. <groupId>com.sun.jersey</groupId>
  171. <artifactId>jersey-server</artifactId>
  172. </dependency>
  173. <dependency>
  174. <groupId>com.sun.jersey.contribs</groupId>
  175. <artifactId>jersey-guice</artifactId>
  176. </dependency>
  177. </dependencies>
  178. <build>
  179. <plugins>
  180. <plugin>
  181. <groupId>org.codehaus.mojo</groupId>
  182. <artifactId>findbugs-maven-plugin</artifactId>
  183. <configuration>
  184. <findbugsXmlOutput>true</findbugsXmlOutput>
  185. <xmlOutput>true</xmlOutput>
  186. <excludeFilterFile>${yarn.basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
  187. <effort>Max</effort>
  188. </configuration>
  189. </plugin>
  190. <plugin>
  191. <groupId>org.apache.rat</groupId>
  192. <artifactId>apache-rat-plugin</artifactId>
  193. <configuration>
  194. <includes>
  195. <include>pom.xml</include>
  196. </includes>
  197. </configuration>
  198. </plugin>
  199. </plugins>
  200. </build>
  201. <profiles>
  202. <profile>
  203. <id>release</id>
  204. <build>
  205. <plugins>
  206. <plugin>
  207. <artifactId>maven-source-plugin</artifactId>
  208. <executions>
  209. <execution>
  210. <id>attach-sources</id>
  211. <goals>
  212. <!-- avoid warning about recursion -->
  213. <goal>jar-no-fork</goal>
  214. </goals>
  215. </execution>
  216. </executions>
  217. </plugin>
  218. </plugins>
  219. </build>
  220. </profile>
  221. </profiles>
  222. <modules>
  223. <module>hadoop-yarn-api</module>
  224. <module>hadoop-yarn-common</module>
  225. <module>hadoop-yarn-server</module>
  226. <module>hadoop-yarn-applications</module>
  227. <module>hadoop-yarn-site</module>
  228. </modules>
  229. </project>