(撰写本文时)当前版本为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上找到插件的安装位置,或者如何确定安装的版本?
答案 0 :(得分:0)
按照@khmarbaise提示,将<version>2.0.0</version>
修改为1.3.2。现在构建成功。