pom.xml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653
  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>
  14. <modelVersion>4.0.0</modelVersion>
  15. <parent>
  16. <groupId>org.apache.hadoop</groupId>
  17. <artifactId>hadoop-project-dist</artifactId>
  18. <version>2.0.0-SNAPSHOT</version>
  19. <relativePath>../../hadoop-project-dist</relativePath>
  20. </parent>
  21. <groupId>org.apache.hadoop</groupId>
  22. <artifactId>hadoop-common</artifactId>
  23. <version>2.0.0-SNAPSHOT</version>
  24. <description>Apache Hadoop Common</description>
  25. <name>Apache Hadoop Common</name>
  26. <packaging>jar</packaging>
  27. <properties>
  28. <snappy.prefix>/usr/local</snappy.prefix>
  29. <snappy.lib>${snappy.prefix}/lib</snappy.lib>
  30. <bundle.snappy>false</bundle.snappy>
  31. <hadoop.component>common</hadoop.component>
  32. <is.hadoop.component>true</is.hadoop.component>
  33. </properties>
  34. <dependencies>
  35. <dependency>
  36. <groupId>org.apache.hadoop</groupId>
  37. <artifactId>hadoop-annotations</artifactId>
  38. <scope>provided</scope>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.google.guava</groupId>
  42. <artifactId>guava</artifactId>
  43. <scope>compile</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>commons-cli</groupId>
  47. <artifactId>commons-cli</artifactId>
  48. <scope>compile</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.commons</groupId>
  52. <artifactId>commons-math</artifactId>
  53. <scope>compile</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>xmlenc</groupId>
  57. <artifactId>xmlenc</artifactId>
  58. <scope>compile</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>commons-httpclient</groupId>
  62. <artifactId>commons-httpclient</artifactId>
  63. <scope>compile</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>commons-codec</groupId>
  67. <artifactId>commons-codec</artifactId>
  68. <scope>compile</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>commons-net</groupId>
  72. <artifactId>commons-net</artifactId>
  73. <scope>compile</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>commons-io</groupId>
  77. <artifactId>commons-io</artifactId>
  78. <scope>compile</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>javax.servlet</groupId>
  82. <artifactId>servlet-api</artifactId>
  83. <scope>compile</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.mortbay.jetty</groupId>
  87. <artifactId>jetty</artifactId>
  88. <scope>compile</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.mortbay.jetty</groupId>
  92. <artifactId>jetty-util</artifactId>
  93. <scope>compile</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>asm</groupId>
  97. <artifactId>asm</artifactId>
  98. <scope>compile</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.sun.jersey</groupId>
  102. <artifactId>jersey-core</artifactId>
  103. <scope>compile</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.sun.jersey</groupId>
  107. <artifactId>jersey-json</artifactId>
  108. <scope>compile</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.sun.jersey</groupId>
  112. <artifactId>jersey-server</artifactId>
  113. <scope>compile</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>tomcat</groupId>
  117. <artifactId>jasper-compiler</artifactId>
  118. <scope>compile</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>tomcat</groupId>
  122. <artifactId>jasper-runtime</artifactId>
  123. <scope>compile</scope>
  124. </dependency>
  125. <dependency>
  126. <groupId>javax.servlet.jsp</groupId>
  127. <artifactId>jsp-api</artifactId>
  128. <scope>compile</scope>
  129. </dependency>
  130. <dependency>
  131. <groupId>commons-el</groupId>
  132. <artifactId>commons-el</artifactId>
  133. <scope>compile</scope>
  134. </dependency>
  135. <dependency>
  136. <groupId>commons-logging</groupId>
  137. <artifactId>commons-logging</artifactId>
  138. <scope>compile</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>commons-logging</groupId>
  142. <artifactId>commons-logging-api</artifactId>
  143. <scope>compile</scope>
  144. </dependency>
  145. <dependency>
  146. <groupId>log4j</groupId>
  147. <artifactId>log4j</artifactId>
  148. <scope>compile</scope>
  149. </dependency>
  150. <dependency>
  151. <groupId>net.java.dev.jets3t</groupId>
  152. <artifactId>jets3t</artifactId>
  153. <scope>compile</scope>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.apache.mina</groupId>
  157. <artifactId>mina-core</artifactId>
  158. <scope>test</scope>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.apache.ftpserver</groupId>
  162. <artifactId>ftplet-api</artifactId>
  163. <scope>test</scope>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.apache.ftpserver</groupId>
  167. <artifactId>ftpserver-core</artifactId>
  168. <scope>test</scope>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.apache.ftpserver</groupId>
  172. <artifactId>ftpserver-deprecated</artifactId>
  173. <scope>test</scope>
  174. </dependency>
  175. <dependency>
  176. <groupId>junit</groupId>
  177. <artifactId>junit</artifactId>
  178. <scope>test</scope>
  179. </dependency>
  180. <dependency>
  181. <groupId>commons-lang</groupId>
  182. <artifactId>commons-lang</artifactId>
  183. <scope>compile</scope>
  184. </dependency>
  185. <dependency>
  186. <groupId>commons-collections</groupId>
  187. <artifactId>commons-collections</artifactId>
  188. <scope>compile</scope>
  189. </dependency>
  190. <dependency>
  191. <groupId>commons-configuration</groupId>
  192. <artifactId>commons-configuration</artifactId>
  193. <scope>compile</scope>
  194. </dependency>
  195. <dependency>
  196. <groupId>org.slf4j</groupId>
  197. <artifactId>slf4j-api</artifactId>
  198. <scope>compile</scope>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.slf4j</groupId>
  202. <artifactId>slf4j-log4j12</artifactId>
  203. <scope>compile</scope>
  204. </dependency>
  205. <dependency>
  206. <groupId>org.eclipse.jdt</groupId>
  207. <artifactId>core</artifactId>
  208. <scope>compile</scope>
  209. </dependency>
  210. <dependency>
  211. <groupId>oro</groupId>
  212. <artifactId>oro</artifactId>
  213. <scope>compile</scope>
  214. </dependency>
  215. <dependency>
  216. <groupId>org.codehaus.jackson</groupId>
  217. <artifactId>jackson-mapper-asl</artifactId>
  218. <scope>compile</scope>
  219. </dependency>
  220. <dependency>
  221. <groupId>org.aspectj</groupId>
  222. <artifactId>aspectjrt</artifactId>
  223. <scope>compile</scope>
  224. </dependency>
  225. <dependency>
  226. <groupId>org.mockito</groupId>
  227. <artifactId>mockito-all</artifactId>
  228. <scope>test</scope>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.apache.avro</groupId>
  232. <artifactId>avro</artifactId>
  233. <scope>compile</scope>
  234. </dependency>
  235. <dependency>
  236. <groupId>net.sf.kosmosfs</groupId>
  237. <artifactId>kfs</artifactId>
  238. <scope>compile</scope>
  239. </dependency>
  240. <dependency>
  241. <groupId>org.apache.ant</groupId>
  242. <artifactId>ant</artifactId>
  243. <scope>provided</scope>
  244. </dependency>
  245. <dependency>
  246. <groupId>com.google.protobuf</groupId>
  247. <artifactId>protobuf-java</artifactId>
  248. <scope>compile</scope>
  249. </dependency>
  250. <dependency>
  251. <groupId>org.apache.hadoop</groupId>
  252. <artifactId>hadoop-auth</artifactId>
  253. <scope>compile</scope>
  254. </dependency>
  255. <dependency>
  256. <groupId>com.googlecode.json-simple</groupId>
  257. <artifactId>json-simple</artifactId>
  258. <scope>compile</scope>
  259. </dependency>
  260. <dependency>
  261. <groupId>com.jcraft</groupId>
  262. <artifactId>jsch</artifactId>
  263. </dependency>
  264. <dependency>
  265. <groupId>org.apache.zookeeper</groupId>
  266. <artifactId>zookeeper</artifactId>
  267. <version>3.4.2</version>
  268. <exclusions>
  269. <exclusion>
  270. <!-- otherwise seems to drag in junit 3.8.1 via jline -->
  271. <groupId>junit</groupId>
  272. <artifactId>junit</artifactId>
  273. </exclusion>
  274. <exclusion>
  275. <groupId>com.sun.jdmk</groupId>
  276. <artifactId>jmxtools</artifactId>
  277. </exclusion>
  278. <exclusion>
  279. <groupId>com.sun.jmx</groupId>
  280. <artifactId>jmxri</artifactId>
  281. </exclusion>
  282. </exclusions>
  283. </dependency>
  284. <dependency>
  285. <groupId>org.apache.zookeeper</groupId>
  286. <artifactId>zookeeper</artifactId>
  287. <version>3.4.2</version>
  288. <type>test-jar</type>
  289. <scope>test</scope>
  290. </dependency>
  291. </dependencies>
  292. <build>
  293. <plugins>
  294. <plugin>
  295. <groupId>org.apache.avro</groupId>
  296. <artifactId>avro-maven-plugin</artifactId>
  297. <executions>
  298. <execution>
  299. <id>generate-avro-test-sources</id>
  300. <phase>generate-test-sources</phase>
  301. <goals>
  302. <goal>schema</goal>
  303. </goals>
  304. </execution>
  305. </executions>
  306. <configuration>
  307. <testOutputDirectory>${project.build.directory}/generated-test-sources/java</testOutputDirectory>
  308. </configuration>
  309. </plugin>
  310. <plugin>
  311. <groupId>org.apache.maven.plugins</groupId>
  312. <artifactId>maven-antrun-plugin</artifactId>
  313. <executions>
  314. <execution>
  315. <id>compile-proto</id>
  316. <phase>generate-sources</phase>
  317. <goals>
  318. <goal>run</goal>
  319. </goals>
  320. <configuration>
  321. <target>
  322. <echo file="target/compile-proto.sh">
  323. PROTO_DIR=src/main/proto
  324. JAVA_DIR=target/generated-sources/java
  325. which cygpath 2> /dev/null
  326. if [ $? = 1 ]; then
  327. IS_WIN=false
  328. else
  329. IS_WIN=true
  330. WIN_PROTO_DIR=`cygpath --windows $PROTO_DIR`
  331. WIN_JAVA_DIR=`cygpath --windows $JAVA_DIR`
  332. fi
  333. mkdir -p $JAVA_DIR 2> /dev/null
  334. for PROTO_FILE in `ls $PROTO_DIR/*.proto 2> /dev/null`
  335. do
  336. if [ "$IS_WIN" = "true" ]; then
  337. protoc -I$WIN_PROTO_DIR --java_out=$WIN_JAVA_DIR $PROTO_FILE
  338. else
  339. protoc -I$PROTO_DIR --java_out=$JAVA_DIR $PROTO_FILE
  340. fi
  341. done
  342. </echo>
  343. <exec executable="sh" dir="${basedir}" failonerror="true">
  344. <arg line="target/compile-proto.sh"/>
  345. </exec>
  346. </target>
  347. </configuration>
  348. </execution>
  349. <execution>
  350. <id>compile-test-proto</id>
  351. <phase>generate-test-sources</phase>
  352. <goals>
  353. <goal>run</goal>
  354. </goals>
  355. <configuration>
  356. <target>
  357. <echo file="target/compile-test-proto.sh">
  358. PROTO_DIR=src/test/proto
  359. JAVA_DIR=target/generated-test-sources/java
  360. which cygpath 2> /dev/null
  361. if [ $? = 1 ]; then
  362. IS_WIN=false
  363. else
  364. IS_WIN=true
  365. WIN_PROTO_DIR=`cygpath --windows $PROTO_DIR`
  366. WIN_JAVA_DIR=`cygpath --windows $JAVA_DIR`
  367. fi
  368. mkdir -p $JAVA_DIR 2> /dev/null
  369. for PROTO_FILE in `ls $PROTO_DIR/*.proto 2> /dev/null`
  370. do
  371. if [ "$IS_WIN" = "true" ]; then
  372. protoc -I$WIN_PROTO_DIR --java_out=$WIN_JAVA_DIR $PROTO_FILE
  373. else
  374. protoc -I$PROTO_DIR --java_out=$JAVA_DIR $PROTO_FILE
  375. fi
  376. done
  377. </echo>
  378. <exec executable="sh" dir="${basedir}" failonerror="true">
  379. <arg line="target/compile-test-proto.sh"/>
  380. </exec>
  381. </target>
  382. </configuration>
  383. </execution>
  384. <execution>
  385. <id>save-version</id>
  386. <phase>generate-sources</phase>
  387. <goals>
  388. <goal>run</goal>
  389. </goals>
  390. <configuration>
  391. <target>
  392. <mkdir dir="${project.build.directory}/generated-sources/java"/>
  393. <exec executable="sh">
  394. <arg
  395. line="${basedir}/dev-support/saveVersion.sh ${project.version} ${project.build.directory}/generated-sources/java"/>
  396. </exec>
  397. </target>
  398. </configuration>
  399. </execution>
  400. <execution>
  401. <id>generate-test-sources</id>
  402. <phase>generate-test-sources</phase>
  403. <goals>
  404. <goal>run</goal>
  405. </goals>
  406. <configuration>
  407. <target>
  408. <mkdir dir="${project.build.directory}/generated-test-sources/java"/>
  409. <taskdef name="recordcc" classname="org.apache.hadoop.record.compiler.ant.RccTask">
  410. <classpath refid="maven.compile.classpath"/>
  411. </taskdef>
  412. <recordcc destdir="${project.build.directory}/generated-test-sources/java">
  413. <fileset dir="${basedir}/src/test/ddl" includes="**/*.jr"/>
  414. </recordcc>
  415. </target>
  416. </configuration>
  417. </execution>
  418. <execution>
  419. <id>create-log-dir</id>
  420. <phase>process-test-resources</phase>
  421. <goals>
  422. <goal>run</goal>
  423. </goals>
  424. <configuration>
  425. <target>
  426. <!--
  427. TODO: there are tests (TestLocalFileSystem#testCopy) that fail if data
  428. TODO: from a previous run is present
  429. -->
  430. <delete dir="${test.build.data}"/>
  431. <mkdir dir="${test.build.data}"/>
  432. <mkdir dir="${hadoop.log.dir}"/>
  433. <copy toDir="${project.build.directory}/test-classes">
  434. <fileset dir="${basedir}/src/main/conf"/>
  435. </copy>
  436. </target>
  437. </configuration>
  438. </execution>
  439. <execution>
  440. <phase>pre-site</phase>
  441. <goals>
  442. <goal>run</goal>
  443. </goals>
  444. <configuration>
  445. <tasks>
  446. <copy file="src/main/resources/core-default.xml" todir="src/site/resources"/>
  447. <copy file="src/main/xsl/configuration.xsl" todir="src/site/resources"/>
  448. </tasks>
  449. </configuration>
  450. </execution>
  451. </executions>
  452. </plugin>
  453. <plugin>
  454. <groupId>org.codehaus.mojo</groupId>
  455. <artifactId>build-helper-maven-plugin</artifactId>
  456. <executions>
  457. <execution>
  458. <id>add-source</id>
  459. <phase>generate-sources</phase>
  460. <goals>
  461. <goal>add-source</goal>
  462. </goals>
  463. <configuration>
  464. <sources>
  465. <source>${project.build.directory}/generated-sources/java</source>
  466. </sources>
  467. </configuration>
  468. </execution>
  469. <execution>
  470. <id>add-test-source</id>
  471. <phase>generate-sources</phase>
  472. <goals>
  473. <goal>add-test-source</goal>
  474. </goals>
  475. <configuration>
  476. <sources>
  477. <source>${project.build.directory}/generated-test-sources/java</source>
  478. </sources>
  479. </configuration>
  480. </execution>
  481. </executions>
  482. </plugin>
  483. <plugin>
  484. <groupId>org.apache.rat</groupId>
  485. <artifactId>apache-rat-plugin</artifactId>
  486. <configuration>
  487. <excludes>
  488. <exclude>CHANGES.txt</exclude>
  489. <exclude>.idea/**</exclude>
  490. <exclude>src/main/conf/*</exclude>
  491. <exclude>src/main/docs/**</exclude>
  492. <exclude>dev-support/jdiff/**</exclude>
  493. <exclude>src/main/native/*</exclude>
  494. <exclude>src/main/native/config/*</exclude>
  495. <exclude>src/main/resources/META-INF/services/org.apache.hadoop.security.SecurityInfo</exclude>
  496. <exclude>src/main/native/m4/*</exclude>
  497. <exclude>src/test/empty-file</exclude>
  498. <exclude>src/test/all-tests</exclude>
  499. </excludes>
  500. </configuration>
  501. </plugin>
  502. </plugins>
  503. </build>
  504. <profiles>
  505. <profile>
  506. <id>native</id>
  507. <activation>
  508. <activeByDefault>false</activeByDefault>
  509. </activation>
  510. <properties>
  511. <snappy.prefix>/usr/local</snappy.prefix>
  512. <snappy.lib>${snappy.prefix}/lib</snappy.lib>
  513. <snappy.include>${snappy.prefix}/include</snappy.include>
  514. </properties>
  515. <build>
  516. <plugins>
  517. <plugin>
  518. <groupId>org.apache.maven.plugins</groupId>
  519. <artifactId>maven-antrun-plugin</artifactId>
  520. <executions>
  521. <execution>
  522. <id>compile</id>
  523. <phase>compile</phase>
  524. <goals>
  525. <goal>run</goal>
  526. </goals>
  527. <configuration>
  528. <target>
  529. <mkdir dir="${project.build.directory}/native/javah"/>
  530. <copy toDir="${project.build.directory}/native">
  531. <fileset dir="${basedir}/src/main/native"/>
  532. </copy>
  533. <mkdir dir="${project.build.directory}/native/m4"/>
  534. </target>
  535. </configuration>
  536. </execution>
  537. </executions>
  538. </plugin>
  539. <plugin>
  540. <groupId>org.codehaus.mojo</groupId>
  541. <artifactId>native-maven-plugin</artifactId>
  542. <executions>
  543. <execution>
  544. <phase>compile</phase>
  545. <goals>
  546. <goal>javah</goal>
  547. </goals>
  548. <configuration>
  549. <javahPath>${env.JAVA_HOME}/bin/javah</javahPath>
  550. <javahClassNames>
  551. <javahClassName>org.apache.hadoop.io.compress.zlib.ZlibCompressor</javahClassName>
  552. <javahClassName>org.apache.hadoop.io.compress.zlib.ZlibDecompressor</javahClassName>
  553. <javahClassName>org.apache.hadoop.security.JniBasedUnixGroupsMapping</javahClassName>
  554. <javahClassName>org.apache.hadoop.io.nativeio.NativeIO</javahClassName>
  555. <javahClassName>org.apache.hadoop.security.JniBasedUnixGroupsNetgroupMapping</javahClassName>
  556. <javahClassName>org.apache.hadoop.io.compress.snappy.SnappyCompressor</javahClassName>
  557. <javahClassName>org.apache.hadoop.io.compress.snappy.SnappyDecompressor</javahClassName>
  558. <javahClassName>org.apache.hadoop.io.compress.lz4.Lz4Compressor</javahClassName>
  559. <javahClassName>org.apache.hadoop.io.compress.lz4.Lz4Decompressor</javahClassName>
  560. <javahClassName>org.apache.hadoop.util.NativeCrc32</javahClassName>
  561. </javahClassNames>
  562. <javahOutputDirectory>${project.build.directory}/native/javah</javahOutputDirectory>
  563. </configuration>
  564. </execution>
  565. </executions>
  566. </plugin>
  567. <plugin>
  568. <groupId>org.codehaus.mojo</groupId>
  569. <artifactId>make-maven-plugin</artifactId>
  570. <executions>
  571. <execution>
  572. <id>compile</id>
  573. <phase>compile</phase>
  574. <goals>
  575. <goal>autoreconf</goal>
  576. <goal>configure</goal>
  577. <goal>make-install</goal>
  578. </goals>
  579. </execution>
  580. </executions>
  581. <configuration>
  582. <!-- autoreconf settings -->
  583. <workDir>${project.build.directory}/native</workDir>
  584. <arguments>
  585. <argument>-i</argument>
  586. <argument>-f</argument>
  587. </arguments>
  588. <!-- configure settings -->
  589. <configureEnvironment>
  590. <property>
  591. <name>OS_NAME</name>
  592. <value>${os.name}</value>
  593. </property>
  594. <property>
  595. <name>OS_ARCH</name>
  596. <value>${os.arch}</value>
  597. </property>
  598. <property>
  599. <name>JVM_DATA_MODEL</name>
  600. <value>${sun.arch.data.model}</value>
  601. </property>
  602. </configureEnvironment>
  603. <configureOptions>
  604. <configureOption>CPPFLAGS=-I${snappy.include}</configureOption>
  605. <configureOption>LDFLAGS=-L${snappy.lib}</configureOption>
  606. </configureOptions>
  607. <configureWorkDir>${project.build.directory}/native</configureWorkDir>
  608. <prefix>/usr/local</prefix>
  609. <!-- make settings -->
  610. <installEnvironment>
  611. <property>
  612. <name>OS_NAME</name>
  613. <value>${os.name}</value>
  614. </property>
  615. <property>
  616. <name>OS_ARCH</name>
  617. <value>${os.arch}</value>
  618. </property>
  619. <property>
  620. <name>JVM_DATA_MODEL</name>
  621. <value>${sun.arch.data.model}</value>
  622. </property>
  623. <property>
  624. <name>HADOOP_NATIVE_SRCDIR</name>
  625. <value>${project.build.directory}/native</value>
  626. </property>
  627. </installEnvironment>
  628. <!-- configure & make settings -->
  629. <destDir>${project.build.directory}/native/target</destDir>
  630. </configuration>
  631. </plugin>
  632. </plugins>
  633. </build>
  634. </profile>
  635. </profiles>
  636. </project>