maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <wsm...@gmail.com>
Subject Re: 2 modules with same source
Date Sun, 03 May 2009 19:04:01 GMT
On Sun, May 3, 2009 at 10:54 AM,  <neptune_pluto@indiatimes.com> wrote:

> I have 2 web modules in my ear. but there isn only 1 set of src files i need to maintain.
> As far as the logic for maintainging 2 modules,its more from a business reqment.
>
> So is it possible to maintain src files in module and utilize the same in another module
during
> any checkout/update

If you declare a dependency on one webapp module (type=war) from
another, it will be treated as an overlay -- the files will be copied
in.

You might want to move the common files to a third module, and use it
as a dependency from the two you have now.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message