pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493
  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. <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. <repositories>
  45. <repository>
  46. <id>repository.jboss.org</id>
  47. <url>http://repository.jboss.org/nexus/content/groups/public/</url>
  48. <snapshots>
  49. <enabled>false</enabled>
  50. </snapshots>
  51. </repository>
  52. <repository>
  53. <id>apache.snapshots</id>
  54. <url>http://repository.apache.org/snapshots</url>
  55. <!-- until we move to hadoop-common/hdfs trunk and/or maven 3 -->
  56. <!-- cf. MNG-4326 -->
  57. <snapshots>
  58. <enabled>true</enabled>
  59. </snapshots>
  60. </repository>
  61. </repositories>
  62. <dependencies>
  63. <dependency>
  64. <groupId>com.google.protobuf</groupId>
  65. <artifactId>protobuf-java</artifactId>
  66. <version>2.4.0a</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.avro</groupId>
  70. <artifactId>avro</artifactId>
  71. <version>1.5.3</version>
  72. <exclusions>
  73. <exclusion>
  74. <groupId>org.mortbay.jetty</groupId>
  75. <artifactId>jetty</artifactId>
  76. </exclusion>
  77. <exclusion>
  78. <groupId>org.apache.ant</groupId>
  79. <artifactId>ant</artifactId>
  80. </exclusion>
  81. <exclusion>
  82. <groupId>org.jboss.netty</groupId>
  83. <artifactId>netty</artifactId>
  84. </exclusion>
  85. <exclusion>
  86. <groupId>org.apache.velocity</groupId>
  87. <artifactId>velocity</artifactId>
  88. </exclusion>
  89. <exclusion>
  90. <groupId>org.slf4j</groupId>
  91. <artifactId>slf4j-api</artifactId>
  92. </exclusion>
  93. <exclusion>
  94. <artifactId>paranamer-ant</artifactId>
  95. <groupId>com.thoughtworks.paranamer</groupId>
  96. </exclusion>
  97. </exclusions>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.hadoop</groupId>
  101. <artifactId>hadoop-common</artifactId>
  102. <version>${project.version}</version>
  103. <scope>provided</scope>
  104. <exclusions>
  105. <exclusion>
  106. <groupId>commons-el</groupId>
  107. <artifactId>commons-el</artifactId>
  108. </exclusion>
  109. <exclusion>
  110. <groupId>tomcat</groupId>
  111. <artifactId>jasper-runtime</artifactId>
  112. </exclusion>
  113. <exclusion>
  114. <groupId>tomcat</groupId>
  115. <artifactId>jasper-compiler</artifactId>
  116. </exclusion>
  117. <exclusion>
  118. <groupId>org.mortbay.jetty</groupId>
  119. <artifactId>jsp-2.1-jetty</artifactId>
  120. </exclusion>
  121. <exclusion>
  122. <groupId>hsqldb</groupId>
  123. <artifactId>hsqldb</artifactId>
  124. </exclusion>
  125. </exclusions>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.slf4j</groupId>
  129. <artifactId>slf4j-api</artifactId>
  130. <version>1.6.1</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.slf4j</groupId>
  134. <artifactId>slf4j-log4j12</artifactId>
  135. <version>1.6.1</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.apache.hadoop</groupId>
  139. <artifactId>hadoop-annotations</artifactId>
  140. <version>${project.version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.mockito</groupId>
  144. <artifactId>mockito-all</artifactId>
  145. <version>1.8.5</version>
  146. <scope>test</scope>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.apache.hadoop</groupId>
  150. <artifactId>hadoop-common</artifactId>
  151. <version>${project.version}</version>
  152. <type>test-jar</type>
  153. <scope>test</scope>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.apache.hadoop</groupId>
  157. <!-- needed for security and runtime -->
  158. <artifactId>hadoop-hdfs</artifactId>
  159. <version>${project.version}</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>com.google.inject.extensions</groupId>
  163. <artifactId>guice-servlet</artifactId>
  164. <version>2.0</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>junit</groupId>
  168. <artifactId>junit</artifactId>
  169. <version>4.8.2</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.jboss.netty</groupId>
  173. <artifactId>netty</artifactId>
  174. <version>3.2.3.Final</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.cenqua.clover</groupId>
  178. <artifactId>clover</artifactId>
  179. <version>3.0.2</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.apache.avro</groupId>
  183. <artifactId>avro</artifactId>
  184. <version>1.5.3</version>
  185. <exclusions>
  186. <exclusion>
  187. <groupId>org.mortbay.jetty</groupId>
  188. <artifactId>jetty</artifactId>
  189. </exclusion>
  190. <exclusion>
  191. <groupId>org.apache.ant</groupId>
  192. <artifactId>ant</artifactId>
  193. </exclusion>
  194. <exclusion>
  195. <groupId>org.jboss.netty</groupId>
  196. <artifactId>netty</artifactId>
  197. </exclusion>
  198. <exclusion>
  199. <groupId>org.apache.velocity</groupId>
  200. <artifactId>velocity</artifactId>
  201. </exclusion>
  202. <exclusion>
  203. <groupId>org.slf4j</groupId>
  204. <artifactId>slf4j-api</artifactId>
  205. </exclusion>
  206. <exclusion>
  207. <artifactId>paranamer-ant</artifactId>
  208. <groupId>com.thoughtworks.paranamer</groupId>
  209. </exclusion>
  210. </exclusions>
  211. </dependency>
  212. <dependency>
  213. <groupId>com.google.protobuf</groupId>
  214. <artifactId>protobuf-java</artifactId>
  215. <version>2.4.0a</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>org.apache.hadoop</groupId>
  219. <artifactId>hadoop-common</artifactId>
  220. <version>${project.version}</version>
  221. <exclusions>
  222. <exclusion>
  223. <groupId>org.apache.avro</groupId>
  224. <artifactId>avro</artifactId>
  225. </exclusion>
  226. <exclusion>
  227. <groupId>commons-el</groupId>
  228. <artifactId>commons-el</artifactId>
  229. </exclusion>
  230. <exclusion>
  231. <groupId>tomcat</groupId>
  232. <artifactId>jasper-runtime</artifactId>
  233. </exclusion>
  234. <exclusion>
  235. <groupId>tomcat</groupId>
  236. <artifactId>jasper-compiler</artifactId>
  237. </exclusion>
  238. <exclusion>
  239. <groupId>org.mortbay.jetty</groupId>
  240. <artifactId>jsp-2.1-jetty</artifactId>
  241. </exclusion>
  242. <exclusion>
  243. <groupId>hsqldb</groupId>
  244. <artifactId>hsqldb</artifactId>
  245. </exclusion>
  246. </exclusions>
  247. </dependency>
  248. <dependency>
  249. <groupId>org.apache.hadoop</groupId>
  250. <artifactId>hadoop-annotations</artifactId>
  251. <version>${project.version}</version>
  252. </dependency>
  253. <dependency>
  254. <groupId>junit</groupId>
  255. <artifactId>junit</artifactId>
  256. <version>4.8.2</version>
  257. <scope>test</scope>
  258. </dependency>
  259. <dependency>
  260. <groupId>commons-io</groupId>
  261. <artifactId>commons-io</artifactId>
  262. <version>2.1</version>
  263. </dependency>
  264. <dependency>
  265. <groupId>org.mockito</groupId>
  266. <artifactId>mockito-all</artifactId>
  267. <version>1.8.5</version>
  268. <scope>test</scope>
  269. </dependency>
  270. <dependency>
  271. <groupId>org.apache.hadoop</groupId>
  272. <artifactId>hadoop-common</artifactId>
  273. <version>${project.version}</version>
  274. <type>test-jar</type>
  275. <scope>test</scope>
  276. </dependency>
  277. <dependency>
  278. <groupId>org.apache.hadoop</groupId>
  279. <artifactId>hadoop-hdfs</artifactId>
  280. <version>${project.version}</version>
  281. <scope>runtime</scope>
  282. </dependency>
  283. <dependency>
  284. <groupId>com.google.inject.extensions</groupId>
  285. <artifactId>guice-servlet</artifactId>
  286. <version>2.0</version>
  287. </dependency>
  288. <dependency>
  289. <groupId>org.jboss.netty</groupId>
  290. <artifactId>netty</artifactId>
  291. <version>3.2.3.Final</version>
  292. </dependency>
  293. <dependency>
  294. <groupId>org.slf4j</groupId>
  295. <artifactId>slf4j-api</artifactId>
  296. <version>1.6.1</version>
  297. </dependency>
  298. <dependency>
  299. <groupId>org.slf4j</groupId>
  300. <artifactId>slf4j-log4j12</artifactId>
  301. <version>1.6.1</version>
  302. </dependency>
  303. <dependency>
  304. <groupId>junit</groupId>
  305. <artifactId>junit</artifactId>
  306. <version>4.8.2</version>
  307. </dependency>
  308. </dependencies>
  309. <dependencyManagement>
  310. <dependencies>
  311. <dependency>
  312. <groupId>org.apache.hadoop</groupId>
  313. <artifactId>hadoop-yarn-api</artifactId>
  314. <version>${project.version}</version>
  315. </dependency>
  316. <dependency>
  317. <groupId>org.apache.hadoop</groupId>
  318. <artifactId>hadoop-yarn-common</artifactId>
  319. <version>${project.version}</version>
  320. </dependency>
  321. <dependency>
  322. <groupId>org.apache.hadoop</groupId>
  323. <artifactId>hadoop-yarn-common</artifactId>
  324. <version>${project.version}</version>
  325. <type>test-jar</type>
  326. </dependency>
  327. <dependency>
  328. <groupId>org.apache.hadoop</groupId>
  329. <artifactId>hadoop-yarn-server-common</artifactId>
  330. <version>${project.version}</version>
  331. </dependency>
  332. <dependency>
  333. <groupId>org.apache.hadoop</groupId>
  334. <artifactId>hadoop-yarn-server-web-proxy</artifactId>
  335. <version>${project.version}</version>
  336. </dependency>
  337. <dependency>
  338. <groupId>org.apache.hadoop</groupId>
  339. <artifactId>hadoop-yarn-server-resourcemanager</artifactId>
  340. <version>${project.version}</version>
  341. </dependency>
  342. <dependency>
  343. <groupId>org.apache.hadoop</groupId>
  344. <artifactId>hadoop-yarn-server-nodemanager</artifactId>
  345. <version>${project.version}</version>
  346. </dependency>
  347. <dependency>
  348. <groupId>org.apache.zookeeper</groupId>
  349. <artifactId>zookeeper</artifactId>
  350. <version>3.3.1</version>
  351. <exclusions>
  352. <exclusion>
  353. <!-- otherwise seems to drag in junit 3.8.1 via jline -->
  354. <groupId>junit</groupId>
  355. <artifactId>junit</artifactId>
  356. </exclusion>
  357. <exclusion>
  358. <groupId>com.sun.jdmk</groupId>
  359. <artifactId>jmxtools</artifactId>
  360. </exclusion>
  361. <exclusion>
  362. <groupId>com.sun.jmx</groupId>
  363. <artifactId>jmxri</artifactId>
  364. </exclusion>
  365. </exclusions>
  366. </dependency>
  367. </dependencies>
  368. </dependencyManagement>
  369. <build>
  370. <pluginManagement>
  371. <plugins>
  372. <plugin>
  373. <groupId>org.codehaus.mojo</groupId>
  374. <artifactId>findbugs-maven-plugin</artifactId>
  375. <version>2.3.2</version>
  376. </plugin>
  377. <plugin>
  378. <groupId>org.apache.maven.plugins</groupId>
  379. <artifactId>maven-compiler-plugin</artifactId>
  380. <!-- pre 2.1 ignores project.build.sourceEncoding -->
  381. <version>2.3.2</version>
  382. <configuration>
  383. <source>1.6</source>
  384. <target>1.6</target>
  385. </configuration>
  386. </plugin>
  387. <plugin>
  388. <artifactId>maven-clean-plugin</artifactId>
  389. <version>2.4.1</version>
  390. </plugin>
  391. <plugin>
  392. <groupId>com.atlassian.maven.plugins</groupId>
  393. <artifactId>maven-clover2-plugin</artifactId>
  394. <version>3.0.2</version>
  395. <configuration>
  396. <licenseLocation>/home/y/conf/clover/clover.license</licenseLocation>
  397. </configuration>
  398. </plugin>
  399. <plugin>
  400. <groupId>org.apache.maven.plugins</groupId>
  401. <artifactId>maven-antrun-plugin</artifactId>
  402. <version>1.6</version>
  403. </plugin>
  404. <plugin>
  405. <groupId>org.codehaus.mojo</groupId>
  406. <artifactId>exec-maven-plugin</artifactId>
  407. <version>1.2</version>
  408. </plugin>
  409. <plugin>
  410. <groupId>org.codehaus.mojo</groupId>
  411. <artifactId>build-helper-maven-plugin</artifactId>
  412. <version>1.5</version>
  413. </plugin>
  414. <plugin>
  415. <groupId>org.apache.maven.plugins</groupId>
  416. <artifactId>maven-install-plugin</artifactId>
  417. <version>2.3.1</version>
  418. </plugin>
  419. <plugin>
  420. <groupId>org.apache.maven.plugins</groupId>
  421. <artifactId>maven-jar-plugin</artifactId>
  422. <version>2.3.1</version>
  423. </plugin>
  424. <plugin>
  425. <groupId>org.apache.maven.plugins</groupId>
  426. <artifactId>maven-source-plugin</artifactId>
  427. <version>2.1.2</version>
  428. </plugin>
  429. </plugins>
  430. </pluginManagement>
  431. <plugins>
  432. <plugin>
  433. <groupId>org.codehaus.mojo</groupId>
  434. <artifactId>findbugs-maven-plugin</artifactId>
  435. <configuration>
  436. <findbugsXmlOutput>true</findbugsXmlOutput>
  437. <xmlOutput>true</xmlOutput>
  438. <excludeFilterFile>${yarn.basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
  439. <effort>Max</effort>
  440. </configuration>
  441. </plugin>
  442. <plugin>
  443. <groupId>org.apache.rat</groupId>
  444. <artifactId>apache-rat-plugin</artifactId>
  445. <configuration>
  446. <includes>
  447. <include>pom.xml</include>
  448. </includes>
  449. </configuration>
  450. </plugin>
  451. </plugins>
  452. </build>
  453. <profiles>
  454. <profile>
  455. <id>release</id>
  456. <build>
  457. <plugins>
  458. <plugin>
  459. <artifactId>maven-source-plugin</artifactId>
  460. <executions>
  461. <execution>
  462. <id>attach-sources</id>
  463. <goals>
  464. <!-- avoid warning about recursion -->
  465. <goal>jar-no-fork</goal>
  466. </goals>
  467. </execution>
  468. </executions>
  469. </plugin>
  470. </plugins>
  471. </build>
  472. </profile>
  473. </profiles>
  474. <modules>
  475. <module>hadoop-yarn-api</module>
  476. <module>hadoop-yarn-common</module>
  477. <module>hadoop-yarn-server</module>
  478. <module>hadoop-yarn-applications</module>
  479. <module>hadoop-yarn-site</module>
  480. </modules>
  481. </project>