pom.xml 44 KB

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