We have the following project setup:
Root (pom)
|
+-- s1: Service 1 (war)
+-- s2: Service 2 (war)
+-- lib: Shared Library for Service 1 + 2 (jar)
+-- intf: Service 1 Interface POJOs
Each is a maven project with its own pom:
Root.pom:
...
<modules>
<module>s1</module>
...
</modules>
And each subproject references it's parent project:
<parent>
....
</parent>
Maven compile/test targets work fine. But I'm messing up with the tomcat plugin, whenever I try to instantiate a locatl tomcat testing environment with:
mvn tomcat:run
It will only start one of the services (actually always the the first service in the <modules>
section.
I would like to start both services, do you have similar experiences in your projects or any idea of how to make this in a nice way?
Thanks a lot!!