【问题标题】:Use Maven for dependencies together with GWT Plugin?将 Maven 与 GWT 插件一起用于依赖项?
【发布时间】:2013-04-16 17:53:19
【问题描述】:

到目前为止,我还没有将 maven 用于 GWT 项目。当我将它部署到GAE Google App Engine 时,我只需右键单击 > Google > 部署到 App Engine。然后war文件夹自动生成,一切正常。

如果我将项目更改为maven 结构,project settings > Google > Web Application 中的菜单点会告诉我:Launch and deploy from this directory (disabled because Maven)

因此,在部署时,war 文件夹没有生成/更新!

那么:如何使用 maven 进行依赖管理,并且仍然使用 GWT/GAE Eclipse Plugin 来部署和启动我的应用程序?

【问题讨论】:

    标签: eclipse google-app-engine maven gwt google-eclipse-plugin


    【解决方案1】:

    您可能想在 maven 中完成这个介绍性练习:http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html

    您所描述的内容是可能的,但需要一些工作和对 Maven 的理解才能完成。如果您想将您的项目转换为 maven,则可能比仅将项目更改为 eclipse 中的 maven 结构需要更多的工作。 App Engine 的示例 maven 项目在这里:https://github.com/GoogleCloudPlatform/appengine-guestbook-java。 maven 上的一些 App Engine 特定文档在这里:https://developers.google.com/appengine/docs/java/tools/maven

    【讨论】:

      猜你喜欢
      • 2011-04-03
      • 2014-12-16
      • 1970-01-01
      • 2015-05-12
      • 2012-04-22
      • 2019-07-14
      • 1970-01-01
      • 1970-01-01
      • 2010-10-22
      相关资源
      最近更新 更多