java - 无法运行 Maven Google 标准应用程序引擎 1.9.68 原型(prototype)

标签 java maven google-app-engine

尝试更新到最新版本 1.9.68,但找不到依赖项。自从 12 天前发布以来就很糟糕 https://cloud.google.com/appengine/docs/standard/java/release-notes#october_25_2018

运行原型(prototype)时:

> >mvn clean compile [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for
> se.unityworks:standard-archetype:war:1.0-SNAPSHOT [WARNING]
> 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be
> unique: com.google.appengine:appengine-api-1.0-sdk:jar -> duplicate
> declaration of version 1.9.68 @ line 50, column 17 [WARNING] [WARNING]
> It is highly recommended to fix these problems because they threaten
> the stability of your build. [WARNING] [WARNING] For this reason,
> future Maven versions might no longer support building such malformed
> projects. [WARNING] [WARNING] The project
> se.unityworks:standard-archetype:war:1.0-SNAPSHOT uses prerequisites
> which is only intended for maven-plugin projects but not for non
> maven-plugin projects. For such purposes you should use the
> maven-enforcer-plugin. See
> https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
> [INFO] [INFO]
> ------------------------------------------------------------------------ [INFO] Building standard-archetype 1.0-SNAPSHOT [INFO]
> ------------------------------------------------------------------------ [WARNING] The POM for
> com.google.appengine:appengine-api-1.0-sdk:jar:1.9.68 is missing, no
> dependency information available [WARNING] The POM for
> com.google.appengine:appengine-testing:jar:1.9.68 is missing, no
> dependency information available [WARNING] The POM for
> com.google.appengine:appengine-api-stubs:jar:1.9.68 is missing, no
> dependency information available [WARNING] The POM for
> com.google.appengine:appengine-tools-sdk:jar:1.9.68 is missing, no
> dependency information available [INFO]
> ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO]
> ------------------------------------------------------------------------ [INFO] Total time: 0.520 s [INFO] Finished at:
> 2018-11-06T10:42:06+01:00 [INFO] Final Memory: 8M/245M [INFO]
> ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project standard-archetype: Could
> not resolve dependencies for project
> se.unityworks:standard-archetype:war:1.0-SNAPSHOT: Failure to find
> com.google.appengine:appengine-api-1.0-sdk:jar:1.9.68 in
> https://repo.maven.apache.org/maven2 was cached in the local
> repository, resolution will not be reattempted until the update
> interval of central 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

最佳答案

enter image description here

它还没有在 Maven 存储库中。所以等待或者尝试手动下载应该是更好的选择。

关于java - 无法运行 Maven Google 标准应用程序引擎 1.9.68 原型(prototype),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53169349/

相关文章:

java - 将深度嵌套的 json 转换为 java 对象,反之亦然

java - SWT - 继承父对话框外壳?

java - 从系统变量值读取 logback.xml

eclipse - Google App Engine 1.6 可通过 Eclipse 插件使用吗?

java - 用于自定义 Strg+Click Hook 的 Eclipse 插件

java - Spring Cloud AWS 代码找不到 S3 文件

java - 初始化扩展 jar 内类的 bean 时上下文初始化失败

sql - 在 Maven 测试阶段初始化数据库用于测试目的

javascript - 向 GAE 发出的 Ajax 请求不起作用?

python - 如何获取 HTTP 重定向目标的 URL?