使用github站点maven插件将目录发布到gh页面时出现500错误

使用github站点maven插件将目录发布到gh页面时出现500错误,maven,github,Maven,Github,我正在尝试使用github站点插件将目录复制到github上的gh pages分支。不过,我每次尝试都会出错500次 以下是我的构建配置: <plugin> <groupId>com.github.github</groupId> <artifactId>site-maven-plugin</artifactId> <version>0.

我正在尝试使用github站点插件将目录复制到github上的gh pages分支。不过,我每次尝试都会出错500次

以下是我的构建配置:

        <plugin>
            <groupId>com.github.github</groupId>
            <artifactId>site-maven-plugin</artifactId>
            <version>0.7</version>
            <configuration>
                <message>Creating site for ${project.version}</message>
                <branch>gh-pages</branch>
                <noJekyll>true</noJekyll>
                <outputDirectory>${project.build.directory}/mvn-repo</outputDirectory>
                <includes>
                    <include>**/*</include>
                </includes>
                <repositoryName>greenDAO</repositoryName>
                <repositoryOwner>emmby</repositoryOwner>
            </configuration>
        </plugin>
您可以找到
mvn-xghsite:site
的完整输出

你知道我做错了什么吗


(我的身份验证凭据位于我的~/.m2/settings.xml文件中,并且似乎是正确的,因为如果我将其注释掉,推送会失败,并出现身份验证错误。)

您的分支不正确:

<branch>gh-pages</branch>
gh页面

删除它并使用默认值。

您尝试过这个maven插件吗?

如果我检查doc(),则有一个github.global.server属性。设置了吗?另外,添加-X标志(debug)。也许你会发现更多。是的,设置了github.global.server属性。我也有-X的输出,但它似乎没有包含太多额外的信息。如果对你的日志有帮助的话,我可以添加它,我明白了“绿道”,但repositoryName是“绿道”。这很正常?你确定你的分支是正确的吗?是否应为“参考/页眉/gh页”(默认值)
<branch>gh-pages</branch>