windows - 使用 maven 部署 github 站点时出错

标签 windows maven github github-pages

使用这个 Maven pom 文件:https://gist.github.com/PhilippeGeek/44f62827bf73bc7d9368 ,我无法创建 blob,输出是:

[INFO] ------------------------------------------------------------------------
[INFO] Building SpeleoGraph 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- site-maven-plugin:0.6:site (default-cli) @ SpeleoGraph ---
[INFO] Creating 102 blobs
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.270s
[INFO] Finished at: Sat Jul 13 23:48:01 CEST 2013
[INFO] Final Memory: 9M/152M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.github:site-maven-plugin:0.6:site (default-cli) on project SpeleoGraph: Error creating blob: Unexpected end of file from server -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

最佳答案

这个问题来自一个过时的 site-maven-plugin 版本,你应该使用 0.8 或更新的版本。

关于windows - 使用 maven 部署 github 站点时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17634546/

相关文章:

java - 如何指定 Google Guice 的实现路径?

java - Maven Bundle 插件嵌入 deps 排除文件或包

当项目位于 Github 的子文件夹中时,Android Studio 构建错误

github 链接到 README 中的 wiki 页面

python - 如何在 Windows 中使用 Python 删除只读属性目录?

c++ - 写入用户文档文件夹 C++

java - 如何使用 JPA 实体构建和填充数据库?

github - 使用 token 向 GitHub 进行身份验证

windows - 如何验证批处理文件中的文件是否存在?

c++ - CreateWindowEx() 在哪里?