RAD7.5 的 Maven 集成以及自动 Websphere 兼容 EAR 创建

发布于 2024-10-16 18:52:00 字数 418 浏览 3 评论 0原文

我想了解将 Maven 与 RAD 版本 7.5 集成以及使用 maven 创建 EAR 文件的整个过程。

我已经能够成功地将 Maven 与 RAD 7.5 集成。我还将 maven-ear 插件与我的 Maven 项目集成,并且可以使用运行配置中的 mvn package 命令创建 EAR。但是,该 EAR 不能部署到 Websphere Application Server。

所以,我想了解的是:

有没有办法创建一个可以使用 Maven 和 RAD 7.5 部署到 Websphere Application Server 的 EAR?请注意,我的项目中没有任何 EJB。

我尝试在各个论坛中搜索此内容,并找到了一些答案,例如必须向 EAR 添加一些 ibm 特定元素。如果有人可以提供具体的步骤,那将会非常有帮助。

谢谢, 瓦伦。

I want to understand the entire process for integrating Maven with RAD Version 7.5 and creation of the EAR file using maven.

I have been able to successfully integrate Maven with RAD 7.5 using. I also integrated maven-ear plugin with my maven project and I can create the EAR using mvn package command from Run Configurations. However, that EAR cab not be deployed to Websphere Application Server.

So, what I want to understand is:

Is there a way to create an EAR that can be deployed to Websphere Application Server using Maven and RAD 7.5? Please note that I do not have any EJBs in my project.

I was trying to search for this in various forums and I found some answers like one has to add some ibm specific elements to the EAR. If someone can provide specific steps for doing so, it would be really helpful.

Thanks,
Varun.

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

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

发布评论

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

评论(3

清风夜微凉 2024-10-23 18:52:00

试试这个...但这不是完整的答案。问题是 Maven 和 RAD 的方式不一致。这是两种不同的哲学。您可能还想使用的另一件事是 RAD 构建实用程序(用于 CI)、RAD 中的软件分析器功能(代码质量)和 RAD 中的代码覆盖率功能。


使用 Rational Application Developer 7.5.5 和 Maven 进行 Java EE 开发 - 了解如何将强大的开放式 Maven 构建框架与 Rational Application Developer 7.5.5 丰富的 Java EE 5 开发工具集成。

https://www.ibm.com/developerworks /wikis/download/attachments/113607155/RAD_755_MAVEN_0601.pdf?version=1

Try this... but it's not a full answer. The issue is that Maven and the RAD way of things aren't aligned. It's 2 different philosophies. Another thing you might also want to use is the RAD Build Utility (for CI), the Software Analyzer feature in RAD (code quality) and the Code Coverage feature in RAD.


Java EE development using Rational Application Developer 7.5.5 and Maven - Learn how the powerful open Maven build framework can be integrated with Rational Application Developer 7.5.5's rich set of Java EE 5 development tools.

https://www.ibm.com/developerworks/wikis/download/attachments/113607155/RAD_755_MAVEN_0601.pdf?version=1

分开我的手 2024-10-23 18:52:00

我也在努力寻找这个问题的答案。我阅读了上面帖子引用的pdf,但它并没有解决我的问题。看起来该文件是几年前写的。我看到了这个 IBM 论坛帖子,它表明自 2006 年以来一直在讨论同样的问题: http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14486753。我无法找到任何表明此问题已解决的信息。

I'm trying to find the answer to this question as well. I read the pdf that the post above references, but it does not solve my problem. Looks like that document was written a few years ago. I came across this IBM forum post, which suggests the same problem has been discussed since 2006: http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14486753 . I have not been able to find any information that suggests this problem has been solved.

别靠近我心 2024-10-23 18:52:00

我在 RAD 8.0.3 上尝试协调 Maven 和 RAD 之间的差异相当长一段时间,但收效甚微。

我个人的解决方案是创建一个新的企业应用程序项目,仅用于 RAD 内的开发目的。这样您就不需要修改现有结构来适应 RAD。

I tried to reconcile the differences between Maven and RAD for quite some time on RAD 8.0.3, with little success.

My personal solution was to create a new Enterprise Application Project solely for development purposes within RAD. That way you don't need to modify your existing structure to accommodate RAD.

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