开发者

Build an ear using maven [duplicate]

This question already has answers here: Maven2: Best practice for Enterprise Project (EAR file) (6 answers) Closed 9 years ago.

I am new with maven, i have a task to change building of an ear from ant build to maven build. Are somewhere some tutorials related to this, how to build an ear using maven ?

Please guide me if you know something related to this....

Thanks

EDIT:

Thanks a lot for posting, i read the given links, how i understood from there, the war file and the ejb jar should be deployed to artifactory (company repository), so that its could be added as dependency in 开发者_JS百科pom file from ear.

Also an ear could contain more than one war file (because i believe that my ear will contain more than one war file) ?

Please let me know if i understood right this...


You may use the Maven EAR Plugin

Also, Here is a related StackOverflow post that might be very helpful to you.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜