Kyr*_*yrt 2 windows apache hadoop javadoc maven
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8
.1:jar (module-javadocs) on project hadoop-maven-plugins: MavenReportException:
Error while creating archive:
[ERROR] Exit code: 1 - C:\hsc\hadoop-maven-plugins\src\main\java\org\apache\hado
op\maven\plugin\util\Exec.java:45: error: unknown tag: String
[ERROR] * @param command List<String> containing command and all arguments
[ERROR] ^
[ERROR] C:\hsc\hadoop-maven-plugins\src\main\java\org\apache\hadoop\maven\plugin
\util\Exec.java:46: error: unknown tag: String
[ERROR] * @param output List<String> in/out parameter to receive command output
[ERROR] ^
[ERROR] C:\hsc\hadoop-maven-plugins\src\main\java\org\apache\hadoop\maven\plugin
\util\FileSetUtils.java:50: error: unknown tag: File
[ERROR] * @return List<File> containing every element of the FileSet as a File
[ERROR] ^
[ERROR]
[ERROR] Command line was: C:\Progra~1\Java\jdk1.8.0_20\jre\..\bin\javadoc.exe @o
ptions @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in 'C:\hsc\hadoop-maven-plugins\tar
get' dir.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hadoop-maven-plugins
Run Code Online (Sandbox Code Playgroud)
在此之前,我遇到了通常的错误,它要求文件读/写访问.我通过chmod给了它所有权限,并手动更改了Windows上文件属性的权限设置.
wiki链接将我发送到一个页面,该页面基本上说明了插件的问题.不幸的是,没有任何东西可以指示如何解决问题.
我在Windows 7x64上,尝试使用src构建hadoop 2.5.0并使用最新版本的maven 3.2.3和jdk 1.8.0_20
在构建源代码时我遇到了类似的问题.而不是使用以下命令进行编译:
mvn package -Pdist,native -DskipTests=true -Dtar
Run Code Online (Sandbox Code Playgroud)
我用了:
mvn package -Pdist,native -Dmaven.javadoc.skip=true -DskipTests -Dtar
Run Code Online (Sandbox Code Playgroud)
试试吧!
归档时间: |
|
查看次数: |
492 次 |
最近记录: |