Build an ear using maven [duplicate]
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.
精彩评论