On 11/6/07, André Faria <[EMAIL PROTECTED]> wrote:

> Hi Everybody!
>
> I am building a project architecture of a new project that requires a few
> modules.
> I am thinking in something like that:
>
>   /comercial/data
>   /comercial/service
>   /comercial/web
>
>   /finantial/data
>   /finantial/service
>   /finantial/web
>
>   /humanresources/data
>   /humanresources/service
>   /humanresources/web
>
> Do you recomend me to deploy three different applications in the web
> server or do you guys think that is better to mix the three applications in
> just one war. Is there a way to generate just one war from more than one web
> project with Maven 2?
>

There are loads of questions you need to ask here like: how much code will
be shared? Are release cycles going to be synchronized? Are they really
three separate apps or is it one big application? etc.

You can "merge" wars in Maven to some extent, although this works best if
you do it purely to share resources such as images, jsp files, javascript
files, etc. Take a look at war overlay:
http://maven.apache.org/plugins/maven-war-plugin/overlays.html
Just be warned: it will not work too well if you are trying to merge fully
fledged web projects.

Mike

> Thanks!
>
> Hugs,
> André Faria
> from Brazil
>
>
>
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: [EMAIL PROTECTED] For additional
> commands, e-mail: [EMAIL PROTECTED]

Reply via email to