Это, вероятно, вопрос новичков, но я новичок в Maven.Ошибка при попытке «mvn clean install» Плагин репликации Gerrit
Я пытаюсь создать плагин репликации Геррит, в "since the master branch (and thus Gerrit 2.5) no longer supports replication out of the box."
Так что я сделал клон https://gerrit.googlesource.com/plugins/replication и казнили mvn clean install
внутри нового каталога. Сообщение об ошибке:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building replication 1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.google.gerrit:gerrit-plugin-api:jar:2.6-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.840s
[INFO] Finished at: Thu Apr 25 17:30:10 BRT 2013
[INFO] Final Memory: 6M/105M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project replication: Could not resolve dependencies for project com.googlesource.gerrit.plugins.replication:replication:jar:1.1-SNAPSHOT: Failure to find com.google.gerrit:gerrit-plugin-api:jar:2.6-SNAPSHOT in https://gerrit-api.commondatastorage.googleapis.com/release/ was cached in the local repository, resolution will not be
reattempted until the update interval of gerrit-api-repository has elapsed or updates are forced -> [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/DependencyResolutionException
Похоже, что этот URL не является действительным: https://gerrit-api.commondatastorage.googleapis.com/release/ - но, как я сказал, что я новичок в Maven, так что я не уверен, как поступить. Я провел некоторое исследование, но я не знаю, что я ищу.
Любой указатель будет высоко оценен. Заранее спасибо.
Брэд, я попробую это через пару часов, а затем вернусь к вам. Большое спасибо за ответ. :) –
Я принимаю ваш ответ, так как это похоже на путь. К сожалению, в последнее время Geroth repos сталкивается с проблемами (подробности ниже). Спасибо, в любом случае! –