HADOOP-12899. External distribution stitching scripts do not work correctly on Windows. Contributed by Chris Nauroth.

This commit is contained in:
Chris Nauroth 2016-03-10 14:49:08 -08:00
parent 79961ecea8
commit adf1cdf3d5

View File

@ -90,16 +90,17 @@
<id>dist</id> <id>dist</id>
<phase>prepare-package</phase> <phase>prepare-package</phase>
<goals> <goals>
<goal>exec</goal> <goal>exec</goal>
</goals> </goals>
<configuration> <configuration>
<executable>${basedir}/../dev-support/bin/dist-layout-stitching</executable> <executable>${shell-executable}</executable>
<workingDirectory>${project.build.directory}</workingDirectory> <workingDirectory>${project.build.directory}</workingDirectory>
<requiresOnline>false</requiresOnline> <requiresOnline>false</requiresOnline>
<arguments> <arguments>
<argument>${project.version}</argument> <argument>${basedir}/../dev-support/bin/dist-layout-stitching</argument>
<argument>${project.build.directory}</argument> <argument>${project.version}</argument>
</arguments> <argument>${project.build.directory}</argument>
</arguments>
</configuration> </configuration>
</execution> </execution>
<execution> <execution>
@ -109,12 +110,13 @@
<goal>exec</goal> <goal>exec</goal>
</goals> </goals>
<configuration> <configuration>
<executable>${basedir}/../dev-support/bin/dist-tar-stitching</executable> <executable>${shell-executable}</executable>
<workingDirectory>${project.build.directory}</workingDirectory> <workingDirectory>${project.build.directory}</workingDirectory>
<requiresOnline>false</requiresOnline> <requiresOnline>false</requiresOnline>
<arguments> <arguments>
<argument>${project.version}</argument> <argument>${basedir}/../dev-support/bin/dist-tar-stitching</argument>
<argument>${project.build.directory}</argument> <argument>${project.version}</argument>
<argument>${project.build.directory}</argument>
</arguments> </arguments>
</configuration> </configuration>
</execution> </execution>