App Engine Maven插件

时间:2018-03-15 04:03:37

标签: maven google-app-engine google-cloud-platform

com.google.appengine和com.google.cloud.tools

之间有什么区别

例如

<plugin>
   <groupId>com.google.appengine</groupId>
   <artifactId>appengine-maven-plugin</artifactId>
   <version>1.9.62</version>
</plugin>

<plugins>
   <plugin>
     <groupId>com.google.cloud.tools</groupId>
     <artifactId>appengine-maven-plugin</artifactId>
     <version>1.3.1</version>
     <configuration>
       <stage.enableJarSplitting>true</stage.enableJarSplitting>
       <deploy.stopPreviousVersion>true</deploy.stopPreviousVersion>
       <cloudSdkPath>/usr/foo/path/to/cloudsdk</cloudSdkPath>
     </configuration>
  </plugin>
</plugins>

1 个答案:

答案 0 :(得分:0)

com.google.appengine - &gt;专为App Engine结构(旧版本)而设计。这基于App Engine SDK

com.google.cloud.tools - &gt;这是新的Google Cloud SDK-based plugin。这允许使用App Engine环境之外的库。 Cloud SDK也是一组命令行工具(gcloud,gsutil和bq)。

只要您的工作将包含在App Engine环境中,您就可以根据需要选择其中任何一个。您可以在Migrating to the Cloud SDK-based Maven plugin

中查看更多差异