I have a project babybird
which has 3 components persistence
, business
and service
in babybird
\'s
That's fairly simple. Create another module named web
or similar:
<modules>
<module>persistence</module>
<module>business</module>
<module>service</module>
<module>web</module>
</modules>
web
module should depend on all others:
<dependencies>
<dependency>
<groupId>...</groupId>
<artifactId>persistence</artifactId>
</dependency>
...
</dependencies>
and have war
packaging:
<packaging>war</packaging>
You'll also need web.xml
in /src/main/webapp/WEB-INF
. That's it.