hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sur...@apache.org
Subject svn commit: r1420921 - /hadoop/common/branches/branch-trunk-win/hadoop-project/pom.xml
Date Wed, 12 Dec 2012 19:15:58 GMT
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>



Mime
View raw message