pom.xml 15 KB

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