使用maven部署github站点时出错

时间:2013-07-13 21:55:04

标签: 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

2 个答案:

答案 0 :(得分:1)

此问题来自于site-maven-plugin的过时版本,您最近应使用0.8或更高版本。

答案 1 :(得分:1)

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

Issue on github (see comments)

Reference to a work-around for reducing the size of the binary