下载凭证时,AWS CodeBuild超时

时间:2018-10-04 13:06:03

标签: amazon-web-services gradle guava aws-codebuild

我正在AWS中部署一个小项目,并且正在使用AWS CodeBuild来构建该项目。我正在使用gradle和johnrengelman/shadow插件将应用程序部署为胖子。

在我的依赖项中,我有guava-26,它是通过使用以下行导入的:

compile group: 'com.google.guava', name: 'guava', version: '26.0-jre'

在构建项目时,通常会出现但并非总是错误,如下所示:

  Could not resolve com.google.guava:guava:26.0-jre.
  Required by:
  project :common
  > Could not resolve com.google.guava:guava:26.0-jre.
  > Could not get resource 'https://repo.maven.apache.org/maven2/com/google/guava/guava/26.0-jre/guava-26.0-jre.pom'.
     > Could not GET 'https://repo.maven.apache.org/maven2/com/google/guava/guava/26.0-jre/guava-26.0-jre.pom'. Received status code 403 from server: Forbidden

如果我使用番石榴25.1,则不会出现此类问题。有人经历过相同的事情或有解释吗?

0 个答案:

没有答案