瀏覽代碼

HADOOP-13149. Windows distro build fails on dist-copynativelibs. Contributed by Chris Nauroth.

Chris Nauroth 9 年之前
父節點
當前提交
576e2d1278
共有 1 個文件被更改,包括 17 次插入16 次删除
  1. 17 16
      hadoop-project-dist/pom.xml

+ 17 - 16
hadoop-project-dist/pom.xml

@@ -325,22 +325,23 @@
                   <goal>exec</goal>
                 </goals>
                 <configuration>
-                    <executable>${project.parent.basedir}/../dev-support/bin/dist-copynativelibs</executable>
-                    <workingDirectory>${project.build.directory}</workingDirectory>
-                    <requiresOnline>false</requiresOnline>
-                    <arguments>
-                       <argument>--version=${project.version}</argument>
-                       <argument>--builddir=${project.build.directory}</argument>
-                       <argument>--artifactid=${project.artifactId}</argument>
-                       <argument>--isalbundle=${bundle.isal}</argument>
-                       <argument>--isallib=${isal.lib}</argument>
-                       <argument>--openssllib=${openssl.lib}</argument>
-                       <argument>--opensslbinbundle=${bundle.openssl.in.bin}</argument>
-                       <argument>--openssllibbundle=${bundle.openssl}</argument>
-                       <argument>--snappybinbundle=${bundle.snappy.in.bin}</argument>
-                       <argument>--snappylib=${snappy.lib}</argument>
-                       <argument>--snappylibbundle=${bundle.snappy}</argument>
-                    </arguments>
+                  <executable>${shell-executable}</executable>
+                  <workingDirectory>${project.build.directory}</workingDirectory>
+                  <requiresOnline>false</requiresOnline>
+                  <arguments>
+                    <argument>${project.parent.basedir}/../dev-support/bin/dist-copynativelibs</argument>
+                    <argument>--version=${project.version}</argument>
+                    <argument>--builddir=${project.build.directory}</argument>
+                    <argument>--artifactid=${project.artifactId}</argument>
+                    <argument>--isalbundle=${bundle.isal}</argument>
+                    <argument>--isallib=${isal.lib}</argument>
+                    <argument>--openssllib=${openssl.lib}</argument>
+                    <argument>--opensslbinbundle=${bundle.openssl.in.bin}</argument>
+                    <argument>--openssllibbundle=${bundle.openssl}</argument>
+                    <argument>--snappybinbundle=${bundle.snappy.in.bin}</argument>
+                    <argument>--snappylib=${snappy.lib}</argument>
+                    <argument>--snappylibbundle=${bundle.snappy}</argument>
+                  </arguments>
                 </configuration>
               </execution>
             </executions>