Hey Chad,

At http://www.tragus.org/~jcej/maven-examples/ are project.xml and maven.xml files that build both an ear and a war. In the top-level directory are files that are used in the subprojects. The 'service' subproject builds an ear of EJBs. The 'view' subproject builds a war for a webapp (which uses the EJBs). Eventually I'll have a third subproject that will create an ear of the stuff in the service earfile *and* the warfile but I'm not there yet.

These files are cut from a project we're currently developing so I know they work. But... I had to strip out anything pointing back to the name of the project, company, etc... so I may have broken something during that process.

I rolled my own ear- and war-building goals because the ones included in the 0.9 candidate just didn't work for me. I know folks are currently working on making those better and I look forward to using them when 1.0 comes 'round. It seems to me, though, that what folks need from these kinds of goals tends to vary quite a bit so I don't know if we can ever have a "build me an ear/war file" goal that will work for everyone.

Hope this helps,
J

Stansbury, Chad wrote:

Hello all -

I've downloaded and played around w/ Maven for simple projects, but would
like to begin using it for several J2EE-based projects.  The basic
documentation only covers the basics, and I was wondering if someone could
save me a lot of time by sending me an example J2EE project.xml that
generates a WAR, and/or EAR file?

Thanks in advance,

Chad Stansbury
Carlson Hospitality Worldwide
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to