Skip to content

Commit d62c5fe

Browse files
author
Alejandro Abdelnur
committed
HDFS-2322. the build fails in Windows because commons-daemon TAR cannot be fetched. (tucu)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1180094 13f79535-47bb-0310-9956-ffa450edef68
1 parent 382ad59 commit d62c5fe

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ Trunk (unreleased changes)
6565

6666
HDFS-2294. Download of commons-daemon TAR should not be under target (tucu)
6767

68+
HDFS-2322. the build fails in Windows because commons-daemon TAR cannot be fetched. (tucu)
69+
6870
BUG FIXES
6971
HDFS-2287. TestParallelRead has a small off-by-one bug. (todd)
7072

hadoop-hdfs-project/hadoop-hdfs/pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@
310310
<goal>run</goal>
311311
</goals>
312312
<configuration>
313-
<target>
313+
<target unless="windows.build">
314314
<condition property="commons.daemon.os.name" value="darwin">
315315
<os name="Mac OS X"/>
316316
</condition>
@@ -352,6 +352,18 @@
352352
</build>
353353

354354
<profiles>
355+
<profile>
356+
<id>windows</id>
357+
<activation>
358+
<activeByDefault>false</activeByDefault>
359+
<os>
360+
<family>windows</family>
361+
</os>
362+
</activation>
363+
<properties>
364+
<windows.build>true</windows.build>
365+
</properties>
366+
</profile>
355367
<profile>
356368
<id>native</id>
357369
<activation>

0 commit comments

Comments
 (0)