pom.xml 49 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438
  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"
  14. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  15. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  16. http://maven.apache.org/xsd/maven-4.0.0.xsd">
  17. <modelVersion>4.0.0</modelVersion>
  18. <parent>
  19. <groupId>org.apache.hadoop</groupId>
  20. <artifactId>hadoop-main</artifactId>
  21. <version>2.9.0-SNAPSHOT</version>
  22. </parent>
  23. <groupId>org.apache.hadoop</groupId>
  24. <artifactId>hadoop-project</artifactId>
  25. <version>2.9.0-SNAPSHOT</version>
  26. <description>Apache Hadoop Project POM</description>
  27. <name>Apache Hadoop Project POM</name>
  28. <packaging>pom</packaging>
  29. <properties>
  30. <!-- Set the Release year during release -->
  31. <release-year>2016</release-year>
  32. <failIfNoTests>false</failIfNoTests>
  33. <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
  34. <jetty.version>6.1.26</jetty.version>
  35. <test.exclude>_</test.exclude>
  36. <test.exclude.pattern>_</test.exclude.pattern>
  37. <!-- number of threads/forks to use when running tests in parallel, see parallel-tests profile -->
  38. <testsThreadCount>4</testsThreadCount>
  39. <!-- These 2 versions are defined here because they are used -->
  40. <!-- JDIFF generation from embedded ant in the antrun plugin -->
  41. <jdiff.version>1.0.9</jdiff.version>
  42. <!-- Version number for xerces used by JDiff -->
  43. <xerces.jdiff.version>2.11.0</xerces.jdiff.version>
  44. <hadoop.assemblies.version>${project.version}</hadoop.assemblies.version>
  45. <commons-daemon.version>1.0.13</commons-daemon.version>
  46. <test.build.dir>${project.build.directory}/test-dir</test.build.dir>
  47. <test.build.data>${test.build.dir}</test.build.data>
  48. <!-- Used for building path to native library loaded by tests. Projects -->
  49. <!-- at different nesting levels in the source tree may need to override. -->
  50. <hadoop.common.build.dir>${basedir}/../../hadoop-common-project/hadoop-common/target</hadoop.common.build.dir>
  51. <java.security.egd>file:///dev/urandom</java.security.egd>
  52. <!-- avro version -->
  53. <avro.version>1.7.4</avro.version>
  54. <!-- jersey version -->
  55. <jersey.version>1.9</jersey.version>
  56. <!-- jackson versions -->
  57. <jackson.version>1.9.13</jackson.version>
  58. <jackson2.version>2.7.8</jackson2.version>
  59. <!-- ProtocolBuffer version, used to verify the protoc version and -->
  60. <!-- define the protobuf JAR version -->
  61. <protobuf.version>2.5.0</protobuf.version>
  62. <protoc.path>${env.HADOOP_PROTOC_PATH}</protoc.path>
  63. <zookeeper.version>3.4.6</zookeeper.version>
  64. <curator.version>2.7.1</curator.version>
  65. <findbugs.version>3.0.0</findbugs.version>
  66. <tomcat.version>6.0.48</tomcat.version>
  67. <joda-time.version>2.9.4</joda-time.version>
  68. <!-- Required for testing LDAP integration -->
  69. <apacheds.version>2.0.0-M15</apacheds.version>
  70. <!-- define the Java language version used by the compiler -->
  71. <javac.version>1.7</javac.version>
  72. <!-- The java version enforced by the maven enforcer -->
  73. <!-- more complex patterns can be used here, such as
  74. [${javac.version})
  75. for an open-ended enforcement
  76. -->
  77. <enforced.java.version>[${javac.version},)</enforced.java.version>
  78. <enforced.maven.version>[3.0.2,)</enforced.maven.version>
  79. <!-- Plugin versions and config -->
  80. <maven-surefire-plugin.argLine>-Xmx2048m -XX:MaxPermSize=768m -XX:+HeapDumpOnOutOfMemoryError</maven-surefire-plugin.argLine>
  81. <maven-surefire-plugin.version>2.17</maven-surefire-plugin.version>
  82. <maven-surefire-report-plugin.version>${maven-surefire-plugin.version}</maven-surefire-report-plugin.version>
  83. <maven-failsafe-plugin.version>${maven-surefire-plugin.version}</maven-failsafe-plugin.version>
  84. <maven-clean-plugin.version>2.5</maven-clean-plugin.version>
  85. <maven-compiler-plugin.version>3.1</maven-compiler-plugin.version>
  86. <maven-install-plugin.version>2.5.1</maven-install-plugin.version>
  87. <maven-resources-plugin.version>2.6</maven-resources-plugin.version>
  88. <maven-jar-plugin.version>2.5</maven-jar-plugin.version>
  89. <maven-war-plugin.version>2.4</maven-war-plugin.version>
  90. <maven-source-plugin.version>2.3</maven-source-plugin.version>
  91. <maven-project-info-reports-plugin.version>2.7</maven-project-info-reports-plugin.version>
  92. <maven-pdf-plugin.version>1.2</maven-pdf-plugin.version>
  93. <maven-remote-resources-plugin.version>1.5</maven-remote-resources-plugin.version>
  94. <build-helper-maven-plugin.version>1.9</build-helper-maven-plugin.version>
  95. <exec-maven-plugin.version>1.3.1</exec-maven-plugin.version>
  96. <make-maven-plugin.version>1.0-beta-1</make-maven-plugin.version>
  97. <native-maven-plugin.version>1.0-alpha-8</native-maven-plugin.version>
  98. <surefire.fork.timeout>900</surefire.fork.timeout>
  99. <aws-java-sdk.version>1.11.45</aws-java-sdk.version>
  100. </properties>
  101. <dependencyManagement>
  102. <dependencies>
  103. <dependency>
  104. <groupId>jdiff</groupId>
  105. <artifactId>jdiff</artifactId>
  106. <version>${jdiff.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.apache.hadoop</groupId>
  110. <artifactId>hadoop-assemblies</artifactId>
  111. <version>${project.version}</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.apache.hadoop</groupId>
  115. <artifactId>hadoop-annotations</artifactId>
  116. <version>${project.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.apache.hadoop</groupId>
  120. <artifactId>hadoop-common</artifactId>
  121. <version>${project.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.apache.hadoop</groupId>
  125. <artifactId>hadoop-common</artifactId>
  126. <version>${project.version}</version>
  127. <type>test-jar</type>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.hadoop</groupId>
  131. <artifactId>hadoop-auth</artifactId>
  132. <version>${project.version}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.apache.hadoop</groupId>
  136. <artifactId>hadoop-auth</artifactId>
  137. <version>${project.version}</version>
  138. <type>test-jar</type>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.apache.hadoop</groupId>
  142. <artifactId>hadoop-nfs</artifactId>
  143. <version>${project.version}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.apache.hadoop</groupId>
  147. <artifactId>hadoop-hdfs</artifactId>
  148. <version>${project.version}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.apache.hadoop</groupId>
  152. <artifactId>hadoop-hdfs-client</artifactId>
  153. <version>${project.version}</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.apache.hadoop</groupId>
  157. <artifactId>hadoop-hdfs</artifactId>
  158. <version>${project.version}</version>
  159. <type>test-jar</type>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.apache.hadoop</groupId>
  163. <artifactId>hadoop-mapreduce-client-app</artifactId>
  164. <version>${project.version}</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>org.apache.hadoop</groupId>
  168. <artifactId>hadoop-mapreduce-client-app</artifactId>
  169. <version>${project.version}</version>
  170. <type>test-jar</type>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.apache.hadoop</groupId>
  174. <artifactId>hadoop-mapreduce-client-common</artifactId>
  175. <version>${project.version}</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>org.apache.hadoop</groupId>
  179. <artifactId>hadoop-yarn-api</artifactId>
  180. <version>${project.version}</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>org.apache.hadoop</groupId>
  184. <artifactId>hadoop-yarn-client</artifactId>
  185. <version>${project.version}</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>org.apache.hadoop</groupId>
  189. <artifactId>hadoop-mapreduce-client-core</artifactId>
  190. <version>${project.version}</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.apache.hadoop</groupId>
  194. <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
  195. <version>${project.version}</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.apache.hadoop</groupId>
  199. <artifactId>hadoop-mapreduce-client-shuffle</artifactId>
  200. <version>${project.version}</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.apache.hadoop</groupId>
  204. <artifactId>hadoop-yarn</artifactId>
  205. <version>${project.version}</version>
  206. <type>pom</type>
  207. </dependency>
  208. <dependency>
  209. <groupId>org.apache.hadoop</groupId>
  210. <artifactId>hadoop-yarn-server</artifactId>
  211. <version>${project.version}</version>
  212. </dependency>
  213. <dependency>
  214. <groupId>org.apache.hadoop</groupId>
  215. <artifactId>hadoop-yarn-server-web-proxy</artifactId>
  216. <version>${project.version}</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>org.apache.hadoop</groupId>
  220. <artifactId>hadoop-yarn-server-common</artifactId>
  221. <version>${project.version}</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>org.apache.hadoop</groupId>
  225. <artifactId>hadoop-yarn-server-tests</artifactId>
  226. <version>${project.version}</version>
  227. <type>test-jar</type>
  228. </dependency>
  229. <dependency>
  230. <groupId>org.apache.hadoop</groupId>
  231. <artifactId>hadoop-yarn-common</artifactId>
  232. <version>${project.version}</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>org.apache.hadoop</groupId>
  236. <artifactId>hadoop-yarn-common</artifactId>
  237. <version>${project.version}</version>
  238. <type>test-jar</type>
  239. </dependency>
  240. <dependency>
  241. <groupId>org.apache.hadoop</groupId>
  242. <artifactId>hadoop-yarn-registry</artifactId>
  243. <version>${project.version}</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>org.apache.hadoop</groupId>
  247. <artifactId>hadoop-yarn-server-nodemanager</artifactId>
  248. <version>${project.version}</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>org.apache.hadoop</groupId>
  252. <artifactId>hadoop-yarn-server-resourcemanager</artifactId>
  253. <version>${project.version}</version>
  254. </dependency>
  255. <dependency>
  256. <groupId>org.apache.hadoop</groupId>
  257. <artifactId>hadoop-yarn-server-resourcemanager</artifactId>
  258. <version>${project.version}</version>
  259. <type>test-jar</type>
  260. </dependency>
  261. <dependency>
  262. <groupId>org.apache.hadoop</groupId>
  263. <artifactId>hadoop-yarn-applications-distributedshell</artifactId>
  264. <version>${project.version}</version>
  265. </dependency>
  266. <dependency>
  267. <groupId>org.apache.hadoop</groupId>
  268. <artifactId>hadoop-yarn-server-timeline-pluginstorage</artifactId>
  269. <version>${project.version}</version>
  270. </dependency>
  271. <dependency>
  272. <groupId>org.apache.hadoop</groupId>
  273. <artifactId>hadoop-yarn-server-timeline-pluginstorage</artifactId>
  274. <type>test-jar</type>
  275. <version>${project.version}</version>
  276. </dependency>
  277. <dependency>
  278. <groupId>org.apache.hadoop</groupId>
  279. <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
  280. <version>${project.version}</version>
  281. <type>test-jar</type>
  282. </dependency>
  283. <dependency>
  284. <groupId>org.apache.hadoop</groupId>
  285. <artifactId>hadoop-mapreduce-client-hs</artifactId>
  286. <version>${project.version}</version>
  287. </dependency>
  288. <dependency>
  289. <groupId>org.apache.hadoop</groupId>
  290. <artifactId>hadoop-mapreduce-examples</artifactId>
  291. <version>${project.version}</version>
  292. </dependency>
  293. <dependency>
  294. <groupId>org.apache.hadoop</groupId>
  295. <artifactId>hadoop-gridmix</artifactId>
  296. <version>${project.version}</version>
  297. </dependency>
  298. <dependency>
  299. <groupId>org.apache.hadoop</groupId>
  300. <artifactId>hadoop-streaming</artifactId>
  301. <version>${project.version}</version>
  302. </dependency>
  303. <dependency>
  304. <groupId>org.apache.hadoop</groupId>
  305. <artifactId>hadoop-archives</artifactId>
  306. <version>${project.version}</version>
  307. </dependency>
  308. <dependency>
  309. <groupId>org.apache.hadoop</groupId>
  310. <artifactId>hadoop-archive-logs</artifactId>
  311. <version>${project.version}</version>
  312. </dependency>
  313. <dependency>
  314. <groupId>org.apache.hadoop</groupId>
  315. <artifactId>hadoop-distcp</artifactId>
  316. <version>${project.version}</version>
  317. </dependency>
  318. <dependency>
  319. <groupId>org.apache.hadoop</groupId>
  320. <artifactId>hadoop-distcp</artifactId>
  321. <version>${project.version}</version>
  322. <type>test-jar</type>
  323. </dependency>
  324. <dependency>
  325. <groupId>org.apache.hadoop</groupId>
  326. <artifactId>hadoop-datajoin</artifactId>
  327. <version>${project.version}</version>
  328. </dependency>
  329. <dependency>
  330. <groupId>org.apache.hadoop</groupId>
  331. <artifactId>hadoop-rumen</artifactId>
  332. <version>${project.version}</version>
  333. </dependency>
  334. <dependency>
  335. <groupId>org.apache.hadoop</groupId>
  336. <artifactId>hadoop-extras</artifactId>
  337. <version>${project.version}</version>
  338. </dependency>
  339. <dependency>
  340. <groupId>org.apache.hadoop</groupId>
  341. <artifactId>hadoop-ant</artifactId>
  342. <version>${project.version}</version>
  343. </dependency>
  344. <dependency>
  345. <groupId>org.apache.hadoop</groupId>
  346. <artifactId>hadoop-client</artifactId>
  347. <version>${project.version}</version>
  348. </dependency>
  349. <dependency>
  350. <groupId>org.apache.hadoop</groupId>
  351. <artifactId>hadoop-minicluster</artifactId>
  352. <version>${project.version}</version>
  353. </dependency>
  354. <dependency>
  355. <groupId>org.apache.hadoop</groupId>
  356. <artifactId>hadoop-minikdc</artifactId>
  357. <version>${project.version}</version>
  358. </dependency>
  359. <dependency>
  360. <groupId>org.apache.hadoop</groupId>
  361. <artifactId>hadoop-openstack</artifactId>
  362. <version>${project.version}</version>
  363. </dependency>
  364. <dependency>
  365. <groupId>org.apache.hadoop</groupId>
  366. <artifactId>hadoop-azure</artifactId>
  367. <version>${project.version}</version>
  368. </dependency>
  369. <dependency>
  370. <groupId>org.apache.hadoop</groupId>
  371. <artifactId>hadoop-aws</artifactId>
  372. <version>${project.version}</version>
  373. </dependency>
  374. <dependency>
  375. <groupId>org.apache.hadoop</groupId>
  376. <artifactId>hadoop-kms</artifactId>
  377. <version>${project.version}</version>
  378. <classifier>classes</classifier>
  379. <type>jar</type>
  380. </dependency>
  381. <dependency>
  382. <groupId>org.apache.hadoop</groupId>
  383. <artifactId>hadoop-kms</artifactId>
  384. <version>${project.version}</version>
  385. <type>test-jar</type>
  386. </dependency>
  387. <dependency>
  388. <groupId>com.google.guava</groupId>
  389. <artifactId>guava</artifactId>
  390. <version>11.0.2</version>
  391. </dependency>
  392. <dependency>
  393. <groupId>com.google.code.gson</groupId>
  394. <artifactId>gson</artifactId>
  395. <version>2.2.4</version>
  396. </dependency>
  397. <dependency>
  398. <groupId>commons-cli</groupId>
  399. <artifactId>commons-cli</artifactId>
  400. <version>1.2</version>
  401. </dependency>
  402. <dependency>
  403. <groupId>org.apache.commons</groupId>
  404. <artifactId>commons-math3</artifactId>
  405. <version>3.1.1</version>
  406. </dependency>
  407. <dependency>
  408. <groupId>org.apache.commons</groupId>
  409. <artifactId>commons-compress</artifactId>
  410. <version>1.4.1</version>
  411. </dependency>
  412. <dependency>
  413. <groupId>xmlenc</groupId>
  414. <artifactId>xmlenc</artifactId>
  415. <version>0.52</version>
  416. </dependency>
  417. <dependency>
  418. <groupId>org.apache.httpcomponents</groupId>
  419. <artifactId>httpclient</artifactId>
  420. <version>4.5.2</version>
  421. </dependency>
  422. <dependency>
  423. <groupId>org.apache.httpcomponents</groupId>
  424. <artifactId>httpcore</artifactId>
  425. <version>4.4.4</version>
  426. </dependency>
  427. <dependency>
  428. <groupId>commons-codec</groupId>
  429. <artifactId>commons-codec</artifactId>
  430. <version>1.4</version>
  431. </dependency>
  432. <dependency>
  433. <groupId>commons-net</groupId>
  434. <artifactId>commons-net</artifactId>
  435. <version>3.1</version>
  436. </dependency>
  437. <dependency>
  438. <groupId>javax.servlet</groupId>
  439. <artifactId>servlet-api</artifactId>
  440. <version>2.5</version>
  441. </dependency>
  442. <dependency>
  443. <groupId>org.mortbay.jetty</groupId>
  444. <artifactId>jetty</artifactId>
  445. <version>${jetty.version}</version>
  446. <exclusions>
  447. <exclusion>
  448. <groupId>org.mortbay.jetty</groupId>
  449. <artifactId>servlet-api</artifactId>
  450. </exclusion>
  451. </exclusions>
  452. </dependency>
  453. <dependency>
  454. <groupId>org.mortbay.jetty</groupId>
  455. <artifactId>jetty-util</artifactId>
  456. <version>${jetty.version}</version>
  457. </dependency>
  458. <dependency>
  459. <groupId>org.mortbay.jetty</groupId>
  460. <artifactId>jetty-sslengine</artifactId>
  461. <version>${jetty.version}</version>
  462. </dependency>
  463. <dependency>
  464. <groupId>org.apache.tomcat.embed</groupId>
  465. <artifactId>tomcat-embed-core</artifactId>
  466. <version>7.0.55</version>
  467. </dependency>
  468. <dependency>
  469. <groupId>org.apache.tomcat.embed</groupId>
  470. <artifactId>tomcat-embed-logging-juli</artifactId>
  471. <version>7.0.55</version>
  472. </dependency>
  473. <dependency>
  474. <groupId>javax.servlet.jsp</groupId>
  475. <artifactId>jsp-api</artifactId>
  476. <version>2.1</version>
  477. </dependency>
  478. <dependency>
  479. <groupId>org.glassfish</groupId>
  480. <artifactId>javax.servlet</artifactId>
  481. <version>3.1</version>
  482. </dependency>
  483. <dependency>
  484. <groupId>org.codehaus.plexus</groupId>
  485. <artifactId>plexus-utils</artifactId>
  486. <version>2.0.5</version>
  487. </dependency>
  488. <dependency>
  489. <groupId>org.codehaus.plexus</groupId>
  490. <artifactId>plexus-component-annotations</artifactId>
  491. <version>1.5.5</version>
  492. </dependency>
  493. <dependency>
  494. <groupId>asm</groupId>
  495. <artifactId>asm</artifactId>
  496. <version>3.2</version>
  497. </dependency>
  498. <dependency>
  499. <groupId>com.sun.jersey</groupId>
  500. <artifactId>jersey-core</artifactId>
  501. <version>${jersey.version}</version>
  502. </dependency>
  503. <dependency>
  504. <groupId>com.sun.jersey</groupId>
  505. <artifactId>jersey-json</artifactId>
  506. <version>${jersey.version}</version>
  507. <exclusions>
  508. <exclusion>
  509. <groupId>stax</groupId>
  510. <artifactId>stax-api</artifactId>
  511. </exclusion>
  512. </exclusions>
  513. </dependency>
  514. <dependency>
  515. <groupId>com.sun.jersey</groupId>
  516. <artifactId>jersey-server</artifactId>
  517. <version>${jersey.version}</version>
  518. </dependency>
  519. <dependency>
  520. <groupId>com.google.inject</groupId>
  521. <artifactId>guice</artifactId>
  522. <version>3.0</version>
  523. </dependency>
  524. <dependency>
  525. <groupId>cglib</groupId>
  526. <artifactId>cglib</artifactId>
  527. <version>2.2</version>
  528. </dependency>
  529. <dependency>
  530. <groupId>com.google.inject.extensions</groupId>
  531. <artifactId>guice-servlet</artifactId>
  532. <version>3.0</version>
  533. </dependency>
  534. <dependency>
  535. <groupId>com.sun.jersey.contribs</groupId>
  536. <artifactId>jersey-guice</artifactId>
  537. <version>${jersey.version}</version>
  538. </dependency>
  539. <dependency>
  540. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  541. <artifactId>jersey-test-framework-core</artifactId>
  542. <version>${jersey.version}</version>
  543. <scope>test</scope>
  544. </dependency>
  545. <dependency>
  546. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  547. <artifactId>jersey-test-framework-grizzly2</artifactId>
  548. <version>${jersey.version}</version>
  549. </dependency>
  550. <dependency>
  551. <groupId>io.netty</groupId>
  552. <artifactId>netty</artifactId>
  553. <version>3.6.2.Final</version>
  554. </dependency>
  555. <dependency>
  556. <groupId>io.netty</groupId>
  557. <artifactId>netty-all</artifactId>
  558. <version>4.1.0.Beta5</version>
  559. </dependency>
  560. <dependency>
  561. <groupId>com.twitter</groupId>
  562. <artifactId>hpack</artifactId>
  563. <version>0.11.0</version>
  564. </dependency>
  565. <dependency>
  566. <groupId>commons-io</groupId>
  567. <artifactId>commons-io</artifactId>
  568. <version>2.4</version>
  569. </dependency>
  570. <dependency>
  571. <groupId>org.mortbay.jetty</groupId>
  572. <artifactId>jetty-servlet-tester</artifactId>
  573. <version>${jetty.version}</version>
  574. </dependency>
  575. <dependency>
  576. <groupId>commons-logging</groupId>
  577. <artifactId>commons-logging</artifactId>
  578. <version>1.1.3</version>
  579. <exclusions>
  580. <exclusion>
  581. <groupId>avalon-framework</groupId>
  582. <artifactId>avalon-framework</artifactId>
  583. </exclusion>
  584. <exclusion>
  585. <groupId>logkit</groupId>
  586. <artifactId>logkit</artifactId>
  587. </exclusion>
  588. <exclusion>
  589. <groupId>javax.servlet</groupId>
  590. <artifactId>servlet-api</artifactId>
  591. </exclusion>
  592. </exclusions>
  593. </dependency>
  594. <dependency>
  595. <groupId>commons-logging</groupId>
  596. <artifactId>commons-logging-api</artifactId>
  597. <version>1.1</version>
  598. </dependency>
  599. <dependency>
  600. <groupId>log4j</groupId>
  601. <artifactId>log4j</artifactId>
  602. <version>1.2.17</version>
  603. <exclusions>
  604. <exclusion>
  605. <groupId>com.sun.jdmk</groupId>
  606. <artifactId>jmxtools</artifactId>
  607. </exclusion>
  608. <exclusion>
  609. <groupId>com.sun.jmx</groupId>
  610. <artifactId>jmxri</artifactId>
  611. </exclusion>
  612. <exclusion>
  613. <groupId>javax.mail</groupId>
  614. <artifactId>mail</artifactId>
  615. </exclusion>
  616. <exclusion>
  617. <groupId>javax.jms</groupId>
  618. <artifactId>jmx</artifactId>
  619. </exclusion>
  620. <exclusion>
  621. <groupId>javax.jms</groupId>
  622. <artifactId>jms</artifactId>
  623. </exclusion>
  624. </exclusions>
  625. </dependency>
  626. <dependency>
  627. <groupId>net.java.dev.jets3t</groupId>
  628. <artifactId>jets3t</artifactId>
  629. <version>0.9.0</version>
  630. </dependency>
  631. <dependency>
  632. <groupId>com.amazonaws</groupId>
  633. <artifactId>aws-java-sdk-s3</artifactId>
  634. <version>${aws-java-sdk.version}</version>
  635. </dependency>
  636. <dependency>
  637. <groupId>com.amazonaws</groupId>
  638. <artifactId>aws-java-sdk-sts</artifactId>
  639. <version>${aws-java-sdk.version}</version>
  640. </dependency>
  641. <dependency>
  642. <groupId>org.apache.mina</groupId>
  643. <artifactId>mina-core</artifactId>
  644. <version>2.0.0-M5</version>
  645. </dependency>
  646. <dependency>
  647. <groupId>org.apache.sshd</groupId>
  648. <artifactId>sshd-core</artifactId>
  649. <version>0.14.0</version>
  650. </dependency>
  651. <dependency>
  652. <groupId>org.apache.ftpserver</groupId>
  653. <artifactId>ftplet-api</artifactId>
  654. <version>1.0.0</version>
  655. </dependency>
  656. <dependency>
  657. <groupId>org.apache.ftpserver</groupId>
  658. <artifactId>ftpserver-core</artifactId>
  659. <version>1.0.0</version>
  660. </dependency>
  661. <dependency>
  662. <groupId>org.apache.ftpserver</groupId>
  663. <artifactId>ftpserver-deprecated</artifactId>
  664. <version>1.0.0-M2</version>
  665. </dependency>
  666. <dependency>
  667. <groupId>junit</groupId>
  668. <artifactId>junit</artifactId>
  669. <version>4.11</version>
  670. </dependency>
  671. <dependency>
  672. <groupId>commons-lang</groupId>
  673. <artifactId>commons-lang</artifactId>
  674. <version>2.6</version>
  675. </dependency>
  676. <dependency>
  677. <groupId>commons-collections</groupId>
  678. <artifactId>commons-collections</artifactId>
  679. <version>3.2.2</version>
  680. </dependency>
  681. <dependency>
  682. <groupId>commons-configuration</groupId>
  683. <artifactId>commons-configuration</artifactId>
  684. <version>1.6</version>
  685. </dependency>
  686. <dependency>
  687. <groupId>org.slf4j</groupId>
  688. <artifactId>slf4j-api</artifactId>
  689. <version>1.7.10</version>
  690. </dependency>
  691. <dependency>
  692. <groupId>org.slf4j</groupId>
  693. <artifactId>slf4j-log4j12</artifactId>
  694. <version>1.7.10</version>
  695. </dependency>
  696. <dependency>
  697. <groupId>org.slf4j</groupId>
  698. <artifactId>jul-to-slf4j</artifactId>
  699. <version>1.7.10</version>
  700. </dependency>
  701. <dependency>
  702. <groupId>org.eclipse.jdt</groupId>
  703. <artifactId>core</artifactId>
  704. <version>3.1.1</version>
  705. </dependency>
  706. <dependency>
  707. <groupId>org.codehaus.jackson</groupId>
  708. <artifactId>jackson-mapper-asl</artifactId>
  709. <version>${jackson.version}</version>
  710. </dependency>
  711. <dependency>
  712. <groupId>org.codehaus.jackson</groupId>
  713. <artifactId>jackson-core-asl</artifactId>
  714. <version>${jackson.version}</version>
  715. </dependency>
  716. <dependency>
  717. <groupId>org.codehaus.jackson</groupId>
  718. <artifactId>jackson-jaxrs</artifactId>
  719. <version>${jackson.version}</version>
  720. </dependency>
  721. <dependency>
  722. <groupId>org.codehaus.jackson</groupId>
  723. <artifactId>jackson-xc</artifactId>
  724. <version>${jackson.version}</version>
  725. </dependency>
  726. <dependency>
  727. <groupId>com.fasterxml.jackson.core</groupId>
  728. <artifactId>jackson-core</artifactId>
  729. <version>${jackson2.version}</version>
  730. </dependency>
  731. <dependency>
  732. <groupId>com.fasterxml.jackson.core</groupId>
  733. <artifactId>jackson-databind</artifactId>
  734. <version>${jackson2.version}</version>
  735. </dependency>
  736. <dependency>
  737. <groupId>com.fasterxml.jackson.core</groupId>
  738. <artifactId>jackson-annotations</artifactId>
  739. <version>${jackson2.version}</version>
  740. </dependency>
  741. <dependency>
  742. <groupId>com.fasterxml.jackson.dataformat</groupId>
  743. <artifactId>jackson-dataformat-cbor</artifactId>
  744. <version>${jackson2.version}</version>
  745. </dependency>
  746. <dependency>
  747. <groupId>org.mockito</groupId>
  748. <artifactId>mockito-all</artifactId>
  749. <version>1.8.5</version>
  750. </dependency>
  751. <dependency>
  752. <groupId>org.mock-server</groupId>
  753. <artifactId>mockserver-netty</artifactId>
  754. <version>3.9.2</version>
  755. </dependency>
  756. <dependency>
  757. <groupId>org.apache.avro</groupId>
  758. <artifactId>avro</artifactId>
  759. <version>${avro.version}</version>
  760. </dependency>
  761. <dependency>
  762. <groupId>net.sf.kosmosfs</groupId>
  763. <artifactId>kfs</artifactId>
  764. <version>0.3</version>
  765. </dependency>
  766. <dependency>
  767. <groupId>org.apache.ant</groupId>
  768. <artifactId>ant</artifactId>
  769. <version>1.8.1</version>
  770. </dependency>
  771. <dependency>
  772. <groupId>com.google.protobuf</groupId>
  773. <artifactId>protobuf-java</artifactId>
  774. <version>${protobuf.version}</version>
  775. </dependency>
  776. <dependency>
  777. <groupId>commons-daemon</groupId>
  778. <artifactId>commons-daemon</artifactId>
  779. <version>${commons-daemon.version}</version>
  780. </dependency>
  781. <dependency>
  782. <groupId>com.jcraft</groupId>
  783. <artifactId>jsch</artifactId>
  784. <version>0.1.51</version>
  785. </dependency>
  786. <dependency>
  787. <groupId>org.apache.htrace</groupId>
  788. <artifactId>htrace-core4</artifactId>
  789. <version>4.0.1-incubating</version>
  790. </dependency>
  791. <dependency>
  792. <groupId>org.jdom</groupId>
  793. <artifactId>jdom</artifactId>
  794. <version>1.1</version>
  795. </dependency>
  796. <dependency>
  797. <groupId>com.googlecode.json-simple</groupId>
  798. <artifactId>json-simple</artifactId>
  799. <version>1.1</version>
  800. </dependency>
  801. <dependency>
  802. <groupId>org.apache.zookeeper</groupId>
  803. <artifactId>zookeeper</artifactId>
  804. <version>${zookeeper.version}</version>
  805. <exclusions>
  806. <exclusion>
  807. <!-- otherwise seems to drag in junit 3.8.1 via jline -->
  808. <groupId>junit</groupId>
  809. <artifactId>junit</artifactId>
  810. </exclusion>
  811. <exclusion>
  812. <groupId>com.sun.jdmk</groupId>
  813. <artifactId>jmxtools</artifactId>
  814. </exclusion>
  815. <exclusion>
  816. <groupId>com.sun.jmx</groupId>
  817. <artifactId>jmxri</artifactId>
  818. </exclusion>
  819. <exclusion>
  820. <groupId>org.jboss.netty</groupId>
  821. <artifactId>netty</artifactId>
  822. </exclusion>
  823. </exclusions>
  824. </dependency>
  825. <dependency>
  826. <groupId>org.apache.zookeeper</groupId>
  827. <artifactId>zookeeper</artifactId>
  828. <version>${zookeeper.version}</version>
  829. <type>test-jar</type>
  830. <exclusions>
  831. <exclusion>
  832. <groupId>org.jboss.netty</groupId>
  833. <artifactId>netty</artifactId>
  834. </exclusion>
  835. <exclusion>
  836. <groupId>jline</groupId>
  837. <artifactId>jline</artifactId>
  838. </exclusion>
  839. </exclusions>
  840. </dependency>
  841. <dependency>
  842. <groupId>org.apache.bookkeeper</groupId>
  843. <artifactId>bookkeeper-server</artifactId>
  844. <version>4.2.3</version>
  845. <scope>compile</scope>
  846. </dependency>
  847. <dependency>
  848. <groupId>org.hsqldb</groupId>
  849. <artifactId>hsqldb</artifactId>
  850. <version>2.0.0</version>
  851. </dependency>
  852. <dependency>
  853. <groupId>com.codahale.metrics</groupId>
  854. <artifactId>metrics-core</artifactId>
  855. <version>3.0.1</version>
  856. </dependency>
  857. <dependency>
  858. <groupId>org.apache.hadoop</groupId>
  859. <artifactId>hadoop-sls</artifactId>
  860. <version>${project.version}</version>
  861. </dependency>
  862. <dependency>
  863. <groupId>org.apache.hadoop</groupId>
  864. <artifactId>hadoop-cloud-storage</artifactId>
  865. <version>${project.version}</version>
  866. </dependency>
  867. <dependency>
  868. <groupId>com.google.code.findbugs</groupId>
  869. <artifactId>jsr305</artifactId>
  870. <version>${findbugs.version}</version>
  871. </dependency>
  872. <dependency>
  873. <groupId>javax.xml.bind</groupId>
  874. <artifactId>jaxb-api</artifactId>
  875. <version>2.2.2</version>
  876. </dependency>
  877. <dependency>
  878. <groupId>org.codehaus.jettison</groupId>
  879. <artifactId>jettison</artifactId>
  880. <version>1.1</version>
  881. <exclusions>
  882. <exclusion>
  883. <groupId>stax</groupId>
  884. <artifactId>stax-api</artifactId>
  885. </exclusion>
  886. </exclusions>
  887. </dependency>
  888. <dependency>
  889. <groupId>com.sun.jersey</groupId>
  890. <artifactId>jersey-client</artifactId>
  891. <version>${jersey.version}</version>
  892. </dependency>
  893. <dependency>
  894. <groupId>org.glassfish.grizzly</groupId>
  895. <artifactId>grizzly-http-servlet</artifactId>
  896. <version>2.1.2</version>
  897. </dependency>
  898. <dependency>
  899. <groupId>org.fusesource.leveldbjni</groupId>
  900. <artifactId>leveldbjni-all</artifactId>
  901. <version>1.8</version>
  902. </dependency>
  903. <dependency>
  904. <groupId>org.apache.directory.server</groupId>
  905. <artifactId>apacheds-kerberos-codec</artifactId>
  906. <version>2.0.0-M15</version>
  907. </dependency>
  908. <dependency>
  909. <groupId>xerces</groupId>
  910. <artifactId>xercesImpl</artifactId>
  911. <version>2.9.1</version>
  912. </dependency>
  913. <dependency>
  914. <groupId>org.apache.curator</groupId>
  915. <artifactId>curator-recipes</artifactId>
  916. <version>${curator.version}</version>
  917. </dependency>
  918. <dependency>
  919. <groupId>org.apache.curator</groupId>
  920. <artifactId>curator-client</artifactId>
  921. <version>${curator.version}</version>
  922. </dependency>
  923. <dependency>
  924. <groupId>org.apache.curator</groupId>
  925. <artifactId>curator-framework</artifactId>
  926. <version>${curator.version}</version>
  927. </dependency>
  928. <dependency>
  929. <groupId>org.apache.curator</groupId>
  930. <artifactId>curator-test</artifactId>
  931. <version>${curator.version}</version>
  932. </dependency>
  933. <dependency>
  934. <groupId>org.bouncycastle</groupId>
  935. <artifactId>bcprov-jdk16</artifactId>
  936. <version>1.46</version>
  937. <scope>test</scope>
  938. </dependency>
  939. <dependency>
  940. <groupId>com.microsoft.azure</groupId>
  941. <artifactId>azure-storage</artifactId>
  942. <version>4.2.0</version>
  943. </dependency>
  944. <dependency>
  945. <groupId>joda-time</groupId>
  946. <artifactId>joda-time</artifactId>
  947. <version>${joda-time.version}</version>
  948. </dependency>
  949. <dependency>
  950. <groupId>com.nimbusds</groupId>
  951. <artifactId>nimbus-jose-jwt</artifactId>
  952. <version>3.9</version>
  953. <scope>compile</scope>
  954. <exclusions>
  955. <exclusion>
  956. <groupId>org.bouncycastle</groupId>
  957. <artifactId>bcprov-jdk15on</artifactId>
  958. </exclusion>
  959. </exclusions>
  960. </dependency>
  961. <dependency>
  962. <groupId>org.skyscreamer</groupId>
  963. <artifactId>jsonassert</artifactId>
  964. <version>1.3.0</version>
  965. </dependency>
  966. </dependencies>
  967. </dependencyManagement>
  968. <build>
  969. <pluginManagement>
  970. <plugins>
  971. <plugin>
  972. <artifactId>maven-clean-plugin</artifactId>
  973. <version>${maven-clean-plugin.version}</version>
  974. </plugin>
  975. <plugin>
  976. <groupId>org.apache.maven.plugins</groupId>
  977. <artifactId>maven-compiler-plugin</artifactId>
  978. <version>${maven-compiler-plugin.version}</version>
  979. <configuration>
  980. <source>${javac.version}</source>
  981. <target>${javac.version}</target>
  982. <useIncrementalCompilation>false</useIncrementalCompilation>
  983. </configuration>
  984. </plugin>
  985. <plugin>
  986. <groupId>org.apache.maven.plugins</groupId>
  987. <artifactId>maven-dependency-plugin</artifactId>
  988. <version>2.2</version>
  989. </plugin>
  990. <plugin>
  991. <groupId>org.codehaus.mojo</groupId>
  992. <artifactId>build-helper-maven-plugin</artifactId>
  993. <version>${build-helper-maven-plugin.version}</version>
  994. </plugin>
  995. <plugin>
  996. <groupId>org.apache.maven.plugins</groupId>
  997. <artifactId>maven-surefire-plugin</artifactId>
  998. <version>${maven-surefire-plugin.version}</version>
  999. </plugin>
  1000. <plugin>
  1001. <groupId>org.apache.maven.plugins</groupId>
  1002. <artifactId>maven-failsafe-plugin</artifactId>
  1003. <version>${maven-failsafe-plugin.version}</version>
  1004. </plugin>
  1005. <plugin>
  1006. <groupId>org.apache.maven.plugins</groupId>
  1007. <artifactId>maven-install-plugin</artifactId>
  1008. <version>${maven-install-plugin.version}</version>
  1009. </plugin>
  1010. <plugin>
  1011. <groupId>org.apache.maven.plugins</groupId>
  1012. <artifactId>maven-jar-plugin</artifactId>
  1013. <version>${maven-jar-plugin.version}</version>
  1014. </plugin>
  1015. <plugin>
  1016. <groupId>org.apache.maven.plugins</groupId>
  1017. <artifactId>maven-javadoc-plugin</artifactId>
  1018. <version>2.8.1</version>
  1019. <configuration>
  1020. <additionalparam>-Xmaxwarns 10000</additionalparam>
  1021. </configuration>
  1022. </plugin>
  1023. <plugin>
  1024. <groupId>org.apache.maven.plugins</groupId>
  1025. <artifactId>maven-war-plugin</artifactId>
  1026. <version>${maven-war-plugin.version}</version>
  1027. </plugin>
  1028. <plugin>
  1029. <groupId>org.codehaus.mojo</groupId>
  1030. <artifactId>findbugs-maven-plugin</artifactId>
  1031. <version>${findbugs.version}</version>
  1032. </plugin>
  1033. <plugin>
  1034. <groupId>org.codehaus.mojo</groupId>
  1035. <artifactId>native-maven-plugin</artifactId>
  1036. <version>${native-maven-plugin.version}</version>
  1037. </plugin>
  1038. <plugin>
  1039. <groupId>org.codehaus.mojo</groupId>
  1040. <artifactId>make-maven-plugin</artifactId>
  1041. <version>${make-maven-plugin.version}</version>
  1042. </plugin>
  1043. <plugin>
  1044. <groupId>org.apache.maven.plugins</groupId>
  1045. <artifactId>maven-source-plugin</artifactId>
  1046. <version>${maven-source-plugin.version}</version>
  1047. </plugin>
  1048. <plugin>
  1049. <groupId>org.apache.avro</groupId>
  1050. <artifactId>avro-maven-plugin</artifactId>
  1051. <version>${avro.version}</version>
  1052. </plugin>
  1053. <plugin>
  1054. <groupId>org.apache.maven.plugins</groupId>
  1055. <artifactId>maven-project-info-reports-plugin</artifactId>
  1056. <version>${maven-project-info-reports-plugin.version}</version>
  1057. </plugin>
  1058. <plugin>
  1059. <groupId>org.apache.maven.plugins</groupId>
  1060. <artifactId>maven-resources-plugin</artifactId>
  1061. <version>${maven-resources-plugin.version}</version>
  1062. </plugin>
  1063. <plugin>
  1064. <groupId>org.codehaus.mojo</groupId>
  1065. <artifactId>exec-maven-plugin</artifactId>
  1066. <version>${exec-maven-plugin.version}</version>
  1067. </plugin>
  1068. <plugin>
  1069. <groupId>org.apache.maven.plugins</groupId>
  1070. <artifactId>maven-pdf-plugin</artifactId>
  1071. <version>${maven-pdf-plugin.version}</version>
  1072. </plugin>
  1073. <plugin>
  1074. <groupId>org.apache.hadoop</groupId>
  1075. <artifactId>hadoop-maven-plugins</artifactId>
  1076. <version>${project.version}</version>
  1077. </plugin>
  1078. </plugins>
  1079. </pluginManagement>
  1080. <plugins>
  1081. <plugin>
  1082. <groupId>org.codehaus.mojo</groupId>
  1083. <artifactId>findbugs-maven-plugin</artifactId>
  1084. </plugin>
  1085. <plugin>
  1086. <groupId>org.apache.maven.plugins</groupId>
  1087. <artifactId>maven-remote-resources-plugin</artifactId>
  1088. <version>${maven-remote-resources-plugin.version}</version>
  1089. <configuration>
  1090. <resourceBundles>
  1091. <resourceBundle>org.apache.hadoop:hadoop-build-tools:${project.version}</resourceBundle>
  1092. </resourceBundles>
  1093. </configuration>
  1094. <dependencies>
  1095. <dependency>
  1096. <groupId>org.apache.hadoop</groupId>
  1097. <artifactId>hadoop-build-tools</artifactId>
  1098. <version>${project.version}</version>
  1099. </dependency>
  1100. </dependencies>
  1101. <executions>
  1102. <execution>
  1103. <goals>
  1104. <goal>process</goal>
  1105. </goals>
  1106. </execution>
  1107. </executions>
  1108. </plugin>
  1109. <plugin>
  1110. <groupId>org.apache.maven.plugins</groupId>
  1111. <artifactId>maven-antrun-plugin</artifactId>
  1112. <executions>
  1113. <execution>
  1114. <id>create-testdirs</id>
  1115. <phase>validate</phase>
  1116. <goals>
  1117. <goal>run</goal>
  1118. </goals>
  1119. <configuration>
  1120. <target>
  1121. <mkdir dir="${test.build.dir}"/>
  1122. <mkdir dir="${test.build.data}"/>
  1123. </target>
  1124. </configuration>
  1125. </execution>
  1126. </executions>
  1127. </plugin>
  1128. <plugin>
  1129. <groupId>org.apache.maven.plugins</groupId>
  1130. <artifactId>maven-enforcer-plugin</artifactId>
  1131. <configuration>
  1132. <rules>
  1133. <requireMavenVersion>
  1134. <version>[3.0.0,)</version>
  1135. </requireMavenVersion>
  1136. <requireJavaVersion>
  1137. <version>1.6</version>
  1138. </requireJavaVersion>
  1139. </rules>
  1140. </configuration>
  1141. <executions>
  1142. <execution>
  1143. <id>clean</id>
  1144. <goals>
  1145. <goal>enforce</goal>
  1146. </goals>
  1147. <phase>pre-clean</phase>
  1148. <inherited>false</inherited>
  1149. </execution>
  1150. <execution>
  1151. <id>default</id>
  1152. <goals>
  1153. <goal>enforce</goal>
  1154. </goals>
  1155. <phase>validate</phase>
  1156. <inherited>false</inherited>
  1157. </execution>
  1158. <execution>
  1159. <id>site</id>
  1160. <goals>
  1161. <goal>enforce</goal>
  1162. </goals>
  1163. <phase>pre-site</phase>
  1164. <inherited>false</inherited>
  1165. </execution>
  1166. <execution>
  1167. <id>depcheck</id>
  1168. <configuration>
  1169. <rules>
  1170. <DependencyConvergence>
  1171. <uniqueVersions>true</uniqueVersions>
  1172. </DependencyConvergence>
  1173. </rules>
  1174. </configuration>
  1175. <goals>
  1176. <goal>enforce</goal>
  1177. </goals>
  1178. <phase>verify</phase>
  1179. </execution>
  1180. </executions>
  1181. </plugin>
  1182. <plugin>
  1183. <groupId>org.apache.maven.plugins</groupId>
  1184. <artifactId>maven-surefire-plugin</artifactId>
  1185. <configuration>
  1186. <reuseForks>false</reuseForks>
  1187. <forkedProcessTimeoutInSeconds>${surefire.fork.timeout}</forkedProcessTimeoutInSeconds>
  1188. <argLine>${maven-surefire-plugin.argLine}</argLine>
  1189. <environmentVariables>
  1190. <HADOOP_COMMON_HOME>${hadoop.common.build.dir}</HADOOP_COMMON_HOME>
  1191. <!-- HADOOP_HOME required for tests on Windows to find winutils -->
  1192. <HADOOP_HOME>${hadoop.common.build.dir}</HADOOP_HOME>
  1193. <LD_LIBRARY_PATH>${env.LD_LIBRARY_PATH}:${project.build.directory}/native/target/usr/local/lib:${hadoop.common.build.dir}/native/target/usr/local/lib</LD_LIBRARY_PATH>
  1194. <DYLD_LIBRARY_PATH>${env.DYLD_LIBRARY_PATH}:${project.build.directory}/native/target/usr/local/lib:${hadoop.common.build.dir}/native/target/usr/local/lib</DYLD_LIBRARY_PATH>
  1195. <MALLOC_ARENA_MAX>4</MALLOC_ARENA_MAX>
  1196. </environmentVariables>
  1197. <systemPropertyVariables>
  1198. <hadoop.log.dir>${project.build.directory}/log</hadoop.log.dir>
  1199. <hadoop.tmp.dir>${project.build.directory}/tmp</hadoop.tmp.dir>
  1200. <!-- TODO: all references in testcases should be updated to this default -->
  1201. <test.build.dir>${test.build.dir}</test.build.dir>
  1202. <test.build.data>${test.build.data}</test.build.data>
  1203. <test.build.webapps>${test.build.webapps}</test.build.webapps>
  1204. <test.cache.data>${test.cache.data}</test.cache.data>
  1205. <test.build.classes>${test.build.classes}</test.build.classes>
  1206. <java.net.preferIPv4Stack>true</java.net.preferIPv4Stack>
  1207. <java.security.krb5.conf>${project.build.directory}/test-classes/krb5.conf</java.security.krb5.conf>
  1208. <java.security.egd>${java.security.egd}</java.security.egd>
  1209. <require.test.libhadoop>${require.test.libhadoop}</require.test.libhadoop>
  1210. </systemPropertyVariables>
  1211. <includes>
  1212. <include>**/Test*.java</include>
  1213. </includes>
  1214. <excludes>
  1215. <exclude>**/${test.exclude}.java</exclude>
  1216. <exclude>${test.exclude.pattern}</exclude>
  1217. <exclude>**/Test*$*.java</exclude>
  1218. </excludes>
  1219. </configuration>
  1220. </plugin>
  1221. <plugin>
  1222. <groupId>org.apache.maven.plugins</groupId>
  1223. <artifactId>maven-pdf-plugin</artifactId>
  1224. <configuration>
  1225. <outputDirectory>${project.reporting.outputDirectory}</outputDirectory>
  1226. <includeReports>false</includeReports>
  1227. </configuration>
  1228. </plugin>
  1229. </plugins>
  1230. </build>
  1231. <profiles>
  1232. <profile>
  1233. <id>os.linux</id>
  1234. <activation>
  1235. <os>
  1236. <family>!Mac</family>
  1237. </os>
  1238. </activation>
  1239. <properties>
  1240. <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
  1241. </properties>
  1242. </profile>
  1243. <profile>
  1244. <id>os.mac</id>
  1245. <activation>
  1246. <os>
  1247. <family>Mac</family>
  1248. </os>
  1249. </activation>
  1250. <properties>
  1251. <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
  1252. </properties>
  1253. </profile>
  1254. <profile>
  1255. <id>native-win</id>
  1256. <activation>
  1257. <os>
  1258. <family>Windows</family>
  1259. </os>
  1260. </activation>
  1261. <properties>
  1262. <!-- We must use this exact string for egd on Windows, because the -->
  1263. <!-- JVM will check for an exact string match on this. If found, it -->
  1264. <!-- will use a native entropy provider. This will not really -->
  1265. <!-- attempt to open a file at this path. -->
  1266. <java.security.egd>file:/dev/urandom</java.security.egd>
  1267. <bundle.snappy.in.bin>true</bundle.snappy.in.bin>
  1268. <bundle.openssl.in.bin>true</bundle.openssl.in.bin>
  1269. </properties>
  1270. <build>
  1271. <plugins>
  1272. <plugin>
  1273. <groupId>org.apache.maven.plugins</groupId>
  1274. <artifactId>maven-surefire-plugin</artifactId>
  1275. <configuration>
  1276. <environmentVariables>
  1277. <!-- Specify where to look for the native DLL on Windows -->
  1278. <PATH>${env.PATH};${hadoop.common.build.dir}/bin;${snappy.lib}</PATH>
  1279. <PATH>${env.PATH};${hadoop.common.build.dir}/bin;${openssl.lib}</PATH>
  1280. </environmentVariables>
  1281. </configuration>
  1282. </plugin>
  1283. </plugins>
  1284. </build>
  1285. </profile>
  1286. <profile>
  1287. <id>test-patch</id>
  1288. <activation>
  1289. <activeByDefault>false</activeByDefault>
  1290. </activation>
  1291. <build>
  1292. <plugins>
  1293. <plugin>
  1294. <groupId>org.apache.maven.plugins</groupId>
  1295. <artifactId>maven-compiler-plugin</artifactId>
  1296. <configuration>
  1297. <fork>true</fork>
  1298. <source>${javac.version}</source>
  1299. <target>${javac.version}</target>
  1300. <compilerArguments>
  1301. <Xlint/>
  1302. <Xmaxwarns>9999</Xmaxwarns>
  1303. </compilerArguments>
  1304. </configuration>
  1305. </plugin>
  1306. </plugins>
  1307. </build>
  1308. </profile>
  1309. <profile>
  1310. <id>dist</id>
  1311. <build>
  1312. <plugins>
  1313. <plugin>
  1314. <groupId>org.apache.maven.plugins</groupId>
  1315. <artifactId>maven-javadoc-plugin</artifactId>
  1316. <executions>
  1317. <execution>
  1318. <!-- build javadoc jars per jar for publishing to maven -->
  1319. <id>module-javadocs</id>
  1320. <phase>package</phase>
  1321. <goals>
  1322. <goal>jar</goal>
  1323. </goals>
  1324. <configuration>
  1325. <destDir>${project.build.directory}</destDir>
  1326. </configuration>
  1327. </execution>
  1328. </executions>
  1329. </plugin>
  1330. <plugin>
  1331. <groupId>org.apache.maven.plugins</groupId>
  1332. <artifactId>maven-source-plugin</artifactId>
  1333. <executions>
  1334. <execution>
  1335. <!-- builds source jars and attaches them to the project for publishing -->
  1336. <id>hadoop-java-sources</id>
  1337. <phase>package</phase>
  1338. <goals>
  1339. <goal>jar-no-fork</goal>
  1340. <goal>test-jar-no-fork</goal>
  1341. </goals>
  1342. </execution>
  1343. </executions>
  1344. </plugin>
  1345. <plugin>
  1346. <groupId>org.apache.maven.plugins</groupId>
  1347. <artifactId>maven-enforcer-plugin</artifactId>
  1348. <executions>
  1349. <execution>
  1350. <id>dist-enforce</id>
  1351. <phase>package</phase>
  1352. <goals>
  1353. <goal>enforce</goal>
  1354. </goals>
  1355. </execution>
  1356. </executions>
  1357. </plugin>
  1358. </plugins>
  1359. </build>
  1360. </profile>
  1361. </profiles>
  1362. </project>