views:

61

answers:

2

Hi ,

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 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...

+2  A: 

You may use the Maven EAR Plugin

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

StudiousJoseph
A: 

Hi,

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 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...

Thanks

Mircea
Please use comments or edit your original question instead of posting successive questions as answers. Also please don't register twice.
Philipp
Ok, thanks i will take care of it... so now should i add as comment the above post ?
Mircea
I think you should rather amend your original question.
Philipp
Ok i will change it, even if was already answered
Mircea
I tried to change it, any way i don't have the "edit" link there, i believe because i asked the question when i was not registered yet, and now when i am registered , i am not seen as its original author , i guess
Mircea