开发者

How do I build a J2EE EAR file in RAD using Maven?

Using Rational Application Developer 开发者_如何学运维to create a J2EE application, I create a project for my EAR and a project for my WAR - following the usual project structure created by RAD.

So, how do I create a Maven build file that builds the EAR with the WAR inside, etc - ready to deploy. Build needs to work when kicked-off from Hudson.


If your EAR is a standard EAR, then "simply" use the Maven EAR plugin. If you need more specific guidance, please ask a more specific question.


Have you seen this 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


I do not have any experiance with RAD + Maven. But I had tried WSAD + ANT, and I had to use specific WSAD ant tasks to get this done. So, same would apply for the RAD + Maven scenario. I think this may give some hint.

http://maven.apache.org/plugins/maven-eclipse-plugin/rad-mojo.html

Sorry, could not provide a precise solution.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜