为Gerrit构建Github插件

时间:2015-10-30 19:35:32

标签: maven plugins github gerrit

我正在尝试为Gerrit构建github插件,但我遇到了maven错误。

说明说:

$ git clone https://gerrit.googlesource.com/plugins/github 
$ cd github
$ mvn install

我做到了,然后maven抛出了以下错误(然后是一些错误):

 [ERROR] /home/lively/github/github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/PullRequestCreateChange.java:[34,36] cannot find symbol
   symbol:   class BatchUpdate
   location: package com.google.gerrit.server.git
 [ERROR] /home/lively/github/github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/PullRequestCreateChange.java:[36,36] cannot find symbol
   symbol:   class UpdateException
   location: package com.google.gerrit.server.git

该插件需要我成功构建的github-api。我不确定缺少什么,我受到了阻碍。

0 个答案:

没有答案