在系统中哪里可以找到App Engine Maven插件的当前安装版本?

时间:2019-02-28 21:11:20

标签: java macos maven google-cloud-platform

(撰写本文时)当前版本为2.0.0(https://github.com/GoogleCloudPlatform/app-maven-plugin

我已经更新了pom.xml:

<plugin>
    <groupId>com.google.cloud.tools</groupId>
    <artifactId>appengine-maven-plugin</artifactId>
    <version>2.0.0</version>
</plugin>

我在mvn appengine:help -Ddetail上遇到此Build错误

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.027 s
[INFO] Finished at: 2019-02-28T15:38:52-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'appengine' in the current project and 
    in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from 
    the repositories [local (/Users/private/.m2/repository), 
    central (https://repo.maven.apache.org/maven2)]

在哪里可以在MacOS上找到插件的安装位置,或者如何确定安装的版本?

1 个答案:

答案 0 :(得分:0)

按照@khmarbaise提示,将<version>2.0.0</version>修改为1.3.2。现在构建成功。

相关问题