pom.xml 48 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421
  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.8.1-SNAPSHOT</version>
  22. </parent>
  23. <groupId>org.apache.hadoop</groupId>
  24. <artifactId>hadoop-project</artifactId>
  25. <version>2.8.1-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>2017</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.2.3</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.10.6</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>org.mockito</groupId>
  743. <artifactId>mockito-all</artifactId>
  744. <version>1.8.5</version>
  745. </dependency>
  746. <dependency>
  747. <groupId>org.mock-server</groupId>
  748. <artifactId>mockserver-netty</artifactId>
  749. <version>3.9.2</version>
  750. </dependency>
  751. <dependency>
  752. <groupId>org.apache.avro</groupId>
  753. <artifactId>avro</artifactId>
  754. <version>${avro.version}</version>
  755. </dependency>
  756. <dependency>
  757. <groupId>net.sf.kosmosfs</groupId>
  758. <artifactId>kfs</artifactId>
  759. <version>0.3</version>
  760. </dependency>
  761. <dependency>
  762. <groupId>org.apache.ant</groupId>
  763. <artifactId>ant</artifactId>
  764. <version>1.8.1</version>
  765. </dependency>
  766. <dependency>
  767. <groupId>com.google.protobuf</groupId>
  768. <artifactId>protobuf-java</artifactId>
  769. <version>${protobuf.version}</version>
  770. </dependency>
  771. <dependency>
  772. <groupId>commons-daemon</groupId>
  773. <artifactId>commons-daemon</artifactId>
  774. <version>${commons-daemon.version}</version>
  775. </dependency>
  776. <dependency>
  777. <groupId>com.jcraft</groupId>
  778. <artifactId>jsch</artifactId>
  779. <version>0.1.51</version>
  780. </dependency>
  781. <dependency>
  782. <groupId>org.apache.htrace</groupId>
  783. <artifactId>htrace-core4</artifactId>
  784. <version>4.0.1-incubating</version>
  785. </dependency>
  786. <dependency>
  787. <groupId>org.jdom</groupId>
  788. <artifactId>jdom</artifactId>
  789. <version>1.1</version>
  790. </dependency>
  791. <dependency>
  792. <groupId>com.googlecode.json-simple</groupId>
  793. <artifactId>json-simple</artifactId>
  794. <version>1.1</version>
  795. </dependency>
  796. <dependency>
  797. <groupId>org.apache.zookeeper</groupId>
  798. <artifactId>zookeeper</artifactId>
  799. <version>${zookeeper.version}</version>
  800. <exclusions>
  801. <exclusion>
  802. <!-- otherwise seems to drag in junit 3.8.1 via jline -->
  803. <groupId>junit</groupId>
  804. <artifactId>junit</artifactId>
  805. </exclusion>
  806. <exclusion>
  807. <groupId>com.sun.jdmk</groupId>
  808. <artifactId>jmxtools</artifactId>
  809. </exclusion>
  810. <exclusion>
  811. <groupId>com.sun.jmx</groupId>
  812. <artifactId>jmxri</artifactId>
  813. </exclusion>
  814. <exclusion>
  815. <groupId>org.jboss.netty</groupId>
  816. <artifactId>netty</artifactId>
  817. </exclusion>
  818. </exclusions>
  819. </dependency>
  820. <dependency>
  821. <groupId>org.apache.zookeeper</groupId>
  822. <artifactId>zookeeper</artifactId>
  823. <version>${zookeeper.version}</version>
  824. <type>test-jar</type>
  825. <exclusions>
  826. <exclusion>
  827. <groupId>org.jboss.netty</groupId>
  828. <artifactId>netty</artifactId>
  829. </exclusion>
  830. <exclusion>
  831. <groupId>jline</groupId>
  832. <artifactId>jline</artifactId>
  833. </exclusion>
  834. </exclusions>
  835. </dependency>
  836. <dependency>
  837. <groupId>org.apache.bookkeeper</groupId>
  838. <artifactId>bookkeeper-server</artifactId>
  839. <version>4.2.3</version>
  840. <scope>compile</scope>
  841. </dependency>
  842. <dependency>
  843. <groupId>org.hsqldb</groupId>
  844. <artifactId>hsqldb</artifactId>
  845. <version>2.0.0</version>
  846. </dependency>
  847. <dependency>
  848. <groupId>com.codahale.metrics</groupId>
  849. <artifactId>metrics-core</artifactId>
  850. <version>3.0.1</version>
  851. </dependency>
  852. <dependency>
  853. <groupId>org.apache.hadoop</groupId>
  854. <artifactId>hadoop-sls</artifactId>
  855. <version>${project.version}</version>
  856. </dependency>
  857. <dependency>
  858. <groupId>com.google.code.findbugs</groupId>
  859. <artifactId>jsr305</artifactId>
  860. <version>${findbugs.version}</version>
  861. </dependency>
  862. <dependency>
  863. <groupId>javax.xml.bind</groupId>
  864. <artifactId>jaxb-api</artifactId>
  865. <version>2.2.2</version>
  866. </dependency>
  867. <dependency>
  868. <groupId>org.codehaus.jettison</groupId>
  869. <artifactId>jettison</artifactId>
  870. <version>1.1</version>
  871. <exclusions>
  872. <exclusion>
  873. <groupId>stax</groupId>
  874. <artifactId>stax-api</artifactId>
  875. </exclusion>
  876. </exclusions>
  877. </dependency>
  878. <dependency>
  879. <groupId>com.sun.jersey</groupId>
  880. <artifactId>jersey-client</artifactId>
  881. <version>${jersey.version}</version>
  882. </dependency>
  883. <dependency>
  884. <groupId>org.glassfish.grizzly</groupId>
  885. <artifactId>grizzly-http-servlet</artifactId>
  886. <version>2.1.2</version>
  887. </dependency>
  888. <dependency>
  889. <groupId>org.fusesource.leveldbjni</groupId>
  890. <artifactId>leveldbjni-all</artifactId>
  891. <version>1.8</version>
  892. </dependency>
  893. <dependency>
  894. <groupId>org.apache.directory.server</groupId>
  895. <artifactId>apacheds-kerberos-codec</artifactId>
  896. <version>2.0.0-M15</version>
  897. </dependency>
  898. <dependency>
  899. <groupId>xerces</groupId>
  900. <artifactId>xercesImpl</artifactId>
  901. <version>2.9.1</version>
  902. </dependency>
  903. <dependency>
  904. <groupId>org.apache.curator</groupId>
  905. <artifactId>curator-recipes</artifactId>
  906. <version>${curator.version}</version>
  907. </dependency>
  908. <dependency>
  909. <groupId>org.apache.curator</groupId>
  910. <artifactId>curator-client</artifactId>
  911. <version>${curator.version}</version>
  912. </dependency>
  913. <dependency>
  914. <groupId>org.apache.curator</groupId>
  915. <artifactId>curator-framework</artifactId>
  916. <version>${curator.version}</version>
  917. </dependency>
  918. <dependency>
  919. <groupId>org.apache.curator</groupId>
  920. <artifactId>curator-test</artifactId>
  921. <version>${curator.version}</version>
  922. </dependency>
  923. <dependency>
  924. <groupId>org.bouncycastle</groupId>
  925. <artifactId>bcprov-jdk16</artifactId>
  926. <version>1.46</version>
  927. <scope>test</scope>
  928. </dependency>
  929. <dependency>
  930. <groupId>com.microsoft.azure</groupId>
  931. <artifactId>azure-storage</artifactId>
  932. <version>2.2.0</version>
  933. </dependency>
  934. <dependency>
  935. <groupId>joda-time</groupId>
  936. <artifactId>joda-time</artifactId>
  937. <version>${joda-time.version}</version>
  938. </dependency>
  939. <dependency>
  940. <groupId>com.nimbusds</groupId>
  941. <artifactId>nimbus-jose-jwt</artifactId>
  942. <version>3.9</version>
  943. <scope>compile</scope>
  944. <exclusions>
  945. <exclusion>
  946. <groupId>org.bouncycastle</groupId>
  947. <artifactId>bcprov-jdk15on</artifactId>
  948. </exclusion>
  949. </exclusions>
  950. </dependency>
  951. </dependencies>
  952. </dependencyManagement>
  953. <build>
  954. <pluginManagement>
  955. <plugins>
  956. <plugin>
  957. <artifactId>maven-clean-plugin</artifactId>
  958. <version>${maven-clean-plugin.version}</version>
  959. </plugin>
  960. <plugin>
  961. <groupId>org.apache.maven.plugins</groupId>
  962. <artifactId>maven-compiler-plugin</artifactId>
  963. <version>${maven-compiler-plugin.version}</version>
  964. <configuration>
  965. <source>${javac.version}</source>
  966. <target>${javac.version}</target>
  967. <useIncrementalCompilation>false</useIncrementalCompilation>
  968. </configuration>
  969. </plugin>
  970. <plugin>
  971. <groupId>org.apache.maven.plugins</groupId>
  972. <artifactId>maven-dependency-plugin</artifactId>
  973. <version>2.2</version>
  974. </plugin>
  975. <plugin>
  976. <groupId>org.codehaus.mojo</groupId>
  977. <artifactId>build-helper-maven-plugin</artifactId>
  978. <version>${build-helper-maven-plugin.version}</version>
  979. </plugin>
  980. <plugin>
  981. <groupId>org.apache.maven.plugins</groupId>
  982. <artifactId>maven-surefire-plugin</artifactId>
  983. <version>${maven-surefire-plugin.version}</version>
  984. </plugin>
  985. <plugin>
  986. <groupId>org.apache.maven.plugins</groupId>
  987. <artifactId>maven-failsafe-plugin</artifactId>
  988. <version>${maven-failsafe-plugin.version}</version>
  989. </plugin>
  990. <plugin>
  991. <groupId>org.apache.maven.plugins</groupId>
  992. <artifactId>maven-install-plugin</artifactId>
  993. <version>${maven-install-plugin.version}</version>
  994. </plugin>
  995. <plugin>
  996. <groupId>org.apache.maven.plugins</groupId>
  997. <artifactId>maven-jar-plugin</artifactId>
  998. <version>${maven-jar-plugin.version}</version>
  999. </plugin>
  1000. <plugin>
  1001. <groupId>org.apache.maven.plugins</groupId>
  1002. <artifactId>maven-javadoc-plugin</artifactId>
  1003. <version>2.8.1</version>
  1004. <configuration>
  1005. <additionalparam>-Xmaxwarns 10000</additionalparam>
  1006. </configuration>
  1007. </plugin>
  1008. <plugin>
  1009. <groupId>org.apache.maven.plugins</groupId>
  1010. <artifactId>maven-war-plugin</artifactId>
  1011. <version>${maven-war-plugin.version}</version>
  1012. </plugin>
  1013. <plugin>
  1014. <groupId>org.codehaus.mojo</groupId>
  1015. <artifactId>findbugs-maven-plugin</artifactId>
  1016. <version>${findbugs.version}</version>
  1017. </plugin>
  1018. <plugin>
  1019. <groupId>org.codehaus.mojo</groupId>
  1020. <artifactId>native-maven-plugin</artifactId>
  1021. <version>${native-maven-plugin.version}</version>
  1022. </plugin>
  1023. <plugin>
  1024. <groupId>org.codehaus.mojo</groupId>
  1025. <artifactId>make-maven-plugin</artifactId>
  1026. <version>${make-maven-plugin.version}</version>
  1027. </plugin>
  1028. <plugin>
  1029. <groupId>org.apache.maven.plugins</groupId>
  1030. <artifactId>maven-source-plugin</artifactId>
  1031. <version>${maven-source-plugin.version}</version>
  1032. </plugin>
  1033. <plugin>
  1034. <groupId>org.apache.avro</groupId>
  1035. <artifactId>avro-maven-plugin</artifactId>
  1036. <version>${avro.version}</version>
  1037. </plugin>
  1038. <plugin>
  1039. <groupId>org.apache.maven.plugins</groupId>
  1040. <artifactId>maven-project-info-reports-plugin</artifactId>
  1041. <version>${maven-project-info-reports-plugin.version}</version>
  1042. </plugin>
  1043. <plugin>
  1044. <groupId>org.apache.maven.plugins</groupId>
  1045. <artifactId>maven-resources-plugin</artifactId>
  1046. <version>${maven-resources-plugin.version}</version>
  1047. </plugin>
  1048. <plugin>
  1049. <groupId>org.codehaus.mojo</groupId>
  1050. <artifactId>exec-maven-plugin</artifactId>
  1051. <version>${exec-maven-plugin.version}</version>
  1052. </plugin>
  1053. <plugin>
  1054. <groupId>org.apache.maven.plugins</groupId>
  1055. <artifactId>maven-pdf-plugin</artifactId>
  1056. <version>${maven-pdf-plugin.version}</version>
  1057. </plugin>
  1058. <plugin>
  1059. <groupId>org.apache.hadoop</groupId>
  1060. <artifactId>hadoop-maven-plugins</artifactId>
  1061. <version>${project.version}</version>
  1062. </plugin>
  1063. </plugins>
  1064. </pluginManagement>
  1065. <plugins>
  1066. <plugin>
  1067. <groupId>org.codehaus.mojo</groupId>
  1068. <artifactId>findbugs-maven-plugin</artifactId>
  1069. </plugin>
  1070. <plugin>
  1071. <groupId>org.apache.maven.plugins</groupId>
  1072. <artifactId>maven-remote-resources-plugin</artifactId>
  1073. <version>${maven-remote-resources-plugin.version}</version>
  1074. <configuration>
  1075. <resourceBundles>
  1076. <resourceBundle>org.apache.hadoop:hadoop-build-tools:${project.version}</resourceBundle>
  1077. </resourceBundles>
  1078. </configuration>
  1079. <dependencies>
  1080. <dependency>
  1081. <groupId>org.apache.hadoop</groupId>
  1082. <artifactId>hadoop-build-tools</artifactId>
  1083. <version>${project.version}</version>
  1084. </dependency>
  1085. </dependencies>
  1086. <executions>
  1087. <execution>
  1088. <goals>
  1089. <goal>process</goal>
  1090. </goals>
  1091. </execution>
  1092. </executions>
  1093. </plugin>
  1094. <plugin>
  1095. <groupId>org.apache.maven.plugins</groupId>
  1096. <artifactId>maven-antrun-plugin</artifactId>
  1097. <executions>
  1098. <execution>
  1099. <id>create-testdirs</id>
  1100. <phase>validate</phase>
  1101. <goals>
  1102. <goal>run</goal>
  1103. </goals>
  1104. <configuration>
  1105. <target>
  1106. <mkdir dir="${test.build.dir}"/>
  1107. <mkdir dir="${test.build.data}"/>
  1108. </target>
  1109. </configuration>
  1110. </execution>
  1111. </executions>
  1112. </plugin>
  1113. <plugin>
  1114. <groupId>org.apache.maven.plugins</groupId>
  1115. <artifactId>maven-enforcer-plugin</artifactId>
  1116. <configuration>
  1117. <rules>
  1118. <requireMavenVersion>
  1119. <version>[3.0.0,)</version>
  1120. </requireMavenVersion>
  1121. <requireJavaVersion>
  1122. <version>1.6</version>
  1123. </requireJavaVersion>
  1124. </rules>
  1125. </configuration>
  1126. <executions>
  1127. <execution>
  1128. <id>clean</id>
  1129. <goals>
  1130. <goal>enforce</goal>
  1131. </goals>
  1132. <phase>pre-clean</phase>
  1133. <inherited>false</inherited>
  1134. </execution>
  1135. <execution>
  1136. <id>default</id>
  1137. <goals>
  1138. <goal>enforce</goal>
  1139. </goals>
  1140. <phase>validate</phase>
  1141. <inherited>false</inherited>
  1142. </execution>
  1143. <execution>
  1144. <id>site</id>
  1145. <goals>
  1146. <goal>enforce</goal>
  1147. </goals>
  1148. <phase>pre-site</phase>
  1149. <inherited>false</inherited>
  1150. </execution>
  1151. <execution>
  1152. <id>depcheck</id>
  1153. <configuration>
  1154. <rules>
  1155. <DependencyConvergence>
  1156. <uniqueVersions>true</uniqueVersions>
  1157. </DependencyConvergence>
  1158. </rules>
  1159. </configuration>
  1160. <goals>
  1161. <goal>enforce</goal>
  1162. </goals>
  1163. <phase>verify</phase>
  1164. </execution>
  1165. </executions>
  1166. </plugin>
  1167. <plugin>
  1168. <groupId>org.apache.maven.plugins</groupId>
  1169. <artifactId>maven-surefire-plugin</artifactId>
  1170. <configuration>
  1171. <reuseForks>false</reuseForks>
  1172. <forkedProcessTimeoutInSeconds>${surefire.fork.timeout}</forkedProcessTimeoutInSeconds>
  1173. <argLine>${maven-surefire-plugin.argLine}</argLine>
  1174. <environmentVariables>
  1175. <HADOOP_COMMON_HOME>${hadoop.common.build.dir}</HADOOP_COMMON_HOME>
  1176. <!-- HADOOP_HOME required for tests on Windows to find winutils -->
  1177. <HADOOP_HOME>${hadoop.common.build.dir}</HADOOP_HOME>
  1178. <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>
  1179. <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>
  1180. <MALLOC_ARENA_MAX>4</MALLOC_ARENA_MAX>
  1181. </environmentVariables>
  1182. <systemPropertyVariables>
  1183. <hadoop.log.dir>${project.build.directory}/log</hadoop.log.dir>
  1184. <hadoop.tmp.dir>${project.build.directory}/tmp</hadoop.tmp.dir>
  1185. <!-- TODO: all references in testcases should be updated to this default -->
  1186. <test.build.dir>${test.build.dir}</test.build.dir>
  1187. <test.build.data>${test.build.data}</test.build.data>
  1188. <test.build.webapps>${test.build.webapps}</test.build.webapps>
  1189. <test.cache.data>${test.cache.data}</test.cache.data>
  1190. <test.build.classes>${test.build.classes}</test.build.classes>
  1191. <java.net.preferIPv4Stack>true</java.net.preferIPv4Stack>
  1192. <java.security.krb5.conf>${project.build.directory}/test-classes/krb5.conf</java.security.krb5.conf>
  1193. <java.security.egd>${java.security.egd}</java.security.egd>
  1194. <require.test.libhadoop>${require.test.libhadoop}</require.test.libhadoop>
  1195. </systemPropertyVariables>
  1196. <includes>
  1197. <include>**/Test*.java</include>
  1198. </includes>
  1199. <excludes>
  1200. <exclude>**/${test.exclude}.java</exclude>
  1201. <exclude>${test.exclude.pattern}</exclude>
  1202. <exclude>**/Test*$*.java</exclude>
  1203. </excludes>
  1204. </configuration>
  1205. </plugin>
  1206. <plugin>
  1207. <groupId>org.apache.maven.plugins</groupId>
  1208. <artifactId>maven-pdf-plugin</artifactId>
  1209. <configuration>
  1210. <outputDirectory>${project.reporting.outputDirectory}</outputDirectory>
  1211. <includeReports>false</includeReports>
  1212. </configuration>
  1213. </plugin>
  1214. </plugins>
  1215. </build>
  1216. <profiles>
  1217. <profile>
  1218. <id>os.linux</id>
  1219. <activation>
  1220. <os>
  1221. <family>!Mac</family>
  1222. </os>
  1223. </activation>
  1224. <properties>
  1225. <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
  1226. </properties>
  1227. </profile>
  1228. <profile>
  1229. <id>os.mac</id>
  1230. <activation>
  1231. <os>
  1232. <family>Mac</family>
  1233. </os>
  1234. </activation>
  1235. <properties>
  1236. <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
  1237. </properties>
  1238. </profile>
  1239. <profile>
  1240. <id>native-win</id>
  1241. <activation>
  1242. <os>
  1243. <family>Windows</family>
  1244. </os>
  1245. </activation>
  1246. <properties>
  1247. <!-- We must use this exact string for egd on Windows, because the -->
  1248. <!-- JVM will check for an exact string match on this. If found, it -->
  1249. <!-- will use a native entropy provider. This will not really -->
  1250. <!-- attempt to open a file at this path. -->
  1251. <java.security.egd>file:/dev/urandom</java.security.egd>
  1252. <bundle.snappy.in.bin>true</bundle.snappy.in.bin>
  1253. <bundle.openssl.in.bin>true</bundle.openssl.in.bin>
  1254. </properties>
  1255. <build>
  1256. <plugins>
  1257. <plugin>
  1258. <groupId>org.apache.maven.plugins</groupId>
  1259. <artifactId>maven-surefire-plugin</artifactId>
  1260. <configuration>
  1261. <environmentVariables>
  1262. <!-- Specify where to look for the native DLL on Windows -->
  1263. <PATH>${env.PATH};${hadoop.common.build.dir}/bin;${snappy.lib}</PATH>
  1264. <PATH>${env.PATH};${hadoop.common.build.dir}/bin;${openssl.lib}</PATH>
  1265. </environmentVariables>
  1266. </configuration>
  1267. </plugin>
  1268. </plugins>
  1269. </build>
  1270. </profile>
  1271. <profile>
  1272. <id>test-patch</id>
  1273. <activation>
  1274. <activeByDefault>false</activeByDefault>
  1275. </activation>
  1276. <build>
  1277. <plugins>
  1278. <plugin>
  1279. <groupId>org.apache.maven.plugins</groupId>
  1280. <artifactId>maven-compiler-plugin</artifactId>
  1281. <configuration>
  1282. <fork>true</fork>
  1283. <source>${javac.version}</source>
  1284. <target>${javac.version}</target>
  1285. <compilerArguments>
  1286. <Xlint/>
  1287. <Xmaxwarns>9999</Xmaxwarns>
  1288. </compilerArguments>
  1289. </configuration>
  1290. </plugin>
  1291. </plugins>
  1292. </build>
  1293. </profile>
  1294. <profile>
  1295. <id>dist</id>
  1296. <build>
  1297. <plugins>
  1298. <plugin>
  1299. <groupId>org.apache.maven.plugins</groupId>
  1300. <artifactId>maven-javadoc-plugin</artifactId>
  1301. <executions>
  1302. <execution>
  1303. <!-- build javadoc jars per jar for publishing to maven -->
  1304. <id>module-javadocs</id>
  1305. <phase>package</phase>
  1306. <goals>
  1307. <goal>jar</goal>
  1308. </goals>
  1309. <configuration>
  1310. <destDir>${project.build.directory}</destDir>
  1311. </configuration>
  1312. </execution>
  1313. </executions>
  1314. </plugin>
  1315. <plugin>
  1316. <groupId>org.apache.maven.plugins</groupId>
  1317. <artifactId>maven-source-plugin</artifactId>
  1318. <executions>
  1319. <execution>
  1320. <!-- builds source jars and attaches them to the project for publishing -->
  1321. <id>hadoop-java-sources</id>
  1322. <phase>package</phase>
  1323. <goals>
  1324. <goal>jar-no-fork</goal>
  1325. <goal>test-jar-no-fork</goal>
  1326. </goals>
  1327. </execution>
  1328. </executions>
  1329. </plugin>
  1330. <plugin>
  1331. <groupId>org.apache.maven.plugins</groupId>
  1332. <artifactId>maven-enforcer-plugin</artifactId>
  1333. <executions>
  1334. <execution>
  1335. <id>dist-enforce</id>
  1336. <phase>package</phase>
  1337. <goals>
  1338. <goal>enforce</goal>
  1339. </goals>
  1340. </execution>
  1341. </executions>
  1342. </plugin>
  1343. </plugins>
  1344. </build>
  1345. </profile>
  1346. </profiles>
  1347. </project>