maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <>
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,  <> 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
> 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

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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message