哪个 Maven(2) 插件可与 GWT 1.6 一起使用?

发布于 2024-07-18 08:07:28 字数 592 浏览 3 评论 0原文

似乎有很多 关于将 MavenGWT 1.6 集成的混乱,因为 Google 已将布局更改为“爆炸战争”格式。 您正在使用哪个插件? 它有托管/编译的目标吗? 它是否“就地”工作,将输出写入 src/main/webapp/WEB-INF,还是使用外部目录? (我不是粉丝< /a> 让 GWT 生成的输出出现在我的源代码树中)。

如果您有一些工作,POM 片段也将受到高度赞赏。

There seems to be quite a lot of confusion regarding integrating Maven with GWT 1.6, as Google has changed the layout to "exploded war" format. Which plugin are you using? Does it have goals for hosted/compile? Does it work "in place", writing output to src/main/webapp/WEB-INF, or does it use an external dir? (I'm not a fan of having GWT-generated output appearing in my source tree).

If you have something working, POM snippets would be highly appreciated as well.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

心房的律动 2024-07-25 08:07:28

这里有一篇关于如何一起使用 GWT 1.6、Google Eclipse 插件、maven 2 和 gwt-maven-plugin。

There's an article here about how to use GWT 1.6, the Google Eclipse Plugin, maven 2, and the gwt-maven-plugin all together.

那片花海 2024-07-25 08:07:28

我通过此处下载 GWT Maven2 Starter 应用程序来完成此工作然后更改 pom 以使用 GWT 1.6.4,它似乎可以工作。

I had this working by downloading the GWT Maven2 Starter App here and then changing the pom to use GWT 1.6.4 and it just seemed to work.

各空 2024-07-25 08:07:28

我已更新 gwt-maven2-starter-app 以使用GWT 1.6.x 和 codehaus maven-gwt-plugin。 他们的解决方法是偏离 Maven 约定,并使用 1.6 标准 /war 目录(而不是 src/main/webapp)来存储 Web 应用程序工件和 GWT 生成的输出(您应该将其添加到 .svnignore)。

I have updated the gwt-maven2-starter-app to use GWT 1.6.x and the codehaus maven-gwt-plugin. Their work around is to deviate from the maven convention and to use the 1.6 standard /war directory inplace (instead of src/main/webapp) for webapp artifacts and GWT generated output (which you should add to .svnignore).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文