1

使用这个 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
4

2 回答 2

1

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

于 2013-07-14T06:28:43.207 回答
1

当要部署到 github 的二进制文件超过大约 30MB 时,版本 0.8 和 0.9 也可能发生这种情况。

github上的问题(见评论)

参考减小二进制文件大小的解决方法

于 2014-06-20T02:20:20.607 回答