You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by su...@apache.org on 2012/12/12 20:15:58 UTC
svn commit: r1420921 -
/hadoop/common/branches/branch-trunk-win/hadoop-project/pom.xml
Author: suresh
Date: Wed Dec 12 19:15:26 2012
New Revision: 1420921
URL: http://svn.apache.org/viewvc?rev=1420921&view=rev
Log:
HADOOP-9056. Build native library on Windows. Contributed by Chuan Liu and Arpit Agarwal.
Modified:
hadoop/common/branches/branch-trunk-win/hadoop-project/pom.xml
Modified: hadoop/common/branches/branch-trunk-win/hadoop-project/pom.xml
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-trunk-win/hadoop-project/pom.xml?rev=1420921&r1=1420920&r2=1420921&view=diff
==============================================================================
--- hadoop/common/branches/branch-trunk-win/hadoop-project/pom.xml (original)
+++ hadoop/common/branches/branch-trunk-win/hadoop-project/pom.xml Wed Dec 12 19:15:26 2012
@@ -881,6 +881,28 @@
</properties>
</profile>
<profile>
+ <id>native-win</id>
+ <activation>
+ <os>
+ <family>Windows</family>
+ </os>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <environmentVariables>
+ <!-- Specify where to look for the native DLL on Windows -->
+ <PATH>${env.PATH};${basedir}/../../hadoop-common-project/hadoop-common/target/bin</PATH>
+ </environmentVariables>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
<id>test-patch</id>
<activation>
<activeByDefault>false</activeByDefault>