Well I think your structure is good but it is going to output a war archive for every web module. But you can package more than one war archive in a ear archive but I don't see any problem.
On 4/25/06, Danny Dang <[EMAIL PROTECTED]> wrote: > Dear all, > > I would like to use maven for our new proj. The project has many modules and > we intend to assign one developer to do one module, from front-end -> > bis-logic -> DB. Therefore, we intend to have this structure > > main-dir > |--modules > |--module1 > |--app -> this contains all biz logic and back end stuff > |--src > |--main > |--test > pom.xml > |--web -> this contains all classes used by webcontent > |--src > |--main > |--test > pom.xml > |--WebContent > |--WEB-INF > pom.xml > |--module2 > |--app > |--src > |--main > |--test > pom.xml > |--web > |--src > |--main > |--test > pom.xml > |--WebContent > |--WEB-INF > pom.xml > |--MainWebContent -> this module will include all other module webcontent > to generate only one war file > |--WebContent > |--WEB-INF > pom.xml > > I wonder if this is the good structure. If it's good, then how to config > maven to generate only one war file included all sub modules' webconten? If > it's not good, then how to archive this? > > Thanks in advance > > Danny Dang > > > --------------------------------------------------------------------- > 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]
