I cannot make Maven build on hadoop-common successful on Windows.  The
error shows as follows.

...
[INFO] --- native-maven-plugin:1.0-alpha-8:javah (default) @ hadoop-common
---
[INFO] cmd.exe /X /C "D:\a\tools\java\jdk1.8.0_45\bin\javah -d
D:\apache\hadoop\hadoop-common-project\hadoop-common\target\native\javah
-classpath
D:\apache\hadoop\hadoop-common-project\hadoop-common\target\classes;...
...
...
...
The command line is too long.
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Hadoop Common ............................... FAILURE [01:35
min]
[INFO] Apache Hadoop NFS .................................. SKIPPED
...

The reason is Maven, when running on Windows, can't take too long command
line for classpaths for all the dependencies in local Maven repository.

I have been exhausted on Google and finally am hoping I can get a quick
help directly from the mailing list.  Anyone has any idea about this?

Any help is appreciated!

Ping

Reply via email to