pom.xml 44 KB

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