【问题标题】:Cannot Run Maven Google Standard App Engine 1.9.68 Archetype无法运行 Maven Google Standard App Engine 1.9.68 Archetype
【发布时间】:2018-11-06 09:46:45
【问题描述】:

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

运行原型时:

> >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

【问题讨论】:

    标签: java maven google-app-engine


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-09-03
      • 2020-12-22
      • 1970-01-01
      • 2020-01-07
      • 2017-11-14
      • 1970-01-01
      • 2013-11-06
      • 2013-03-05
      相关资源
      最近更新 更多