pom.xml 15 KB

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