Maven ejb 客户端源代码 - 有一致/简单的方法吗?

发布于 2024-09-15 15:35:54 字数 309 浏览 0 评论 0原文

我正在使用 maven-ejb-plugin 生成 ejb 项目的 ejb-client 版本。我有一个单独的实体/域项目,我在其中制作了一个与 GWT 一起使用的 -sources 版本。

我目前遇到了关于在哪里放置各种单元测试框架的 persistence.xml 的问题(有些希望将其放在实体/域中,有些希望放在 ejb 中,有些两者都希望,但这会导致与其他框架发生冲突)。如果有一种简单的方法可以实现 ejb-client-sources 类型的 GWT 集成方法,我不会反对将这两者合并在一起。

我不想要完整 ejb 项目的源,并且最好避免大量自定义包含/排除。

I'm using the maven-ejb-plugin to generate an ejb-client version of an ejb project. I have a separate entity/domain project where I make a -sources version for use with GWT.

I'm currently running into issues as to where to put persistence.xml for various unit test frameworks (some want it in the entity/domain, others ejb, some both but that causes conflicts with others). I wouldn't be opposed to merging those two together IF there is an easy way to do ejb-client-sources type of approach for GWT integration.

I do not want a -sources of the full ejb project, and preferably avoid a lot of custom inclusion/exclusions.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文