I have created two separate maven modules (let's call them MODULE1
and MODULE2
) which are submodules of a third integration module (SUPERMODULE
).
MODULE1
and MODULE2
are both Spring Boot Web Applications. What I'm trying to achieve is to start (not build) both projects / web apps by means of SUPERMODULE
.
As I see it, there are two options:
- Deploy them both to the same tomcat server (probably the better & more interesting solution)
- Deploy them to different tomcat servers with different ports
I found no viable example to achieve either one of these options (... by means of a single maven integration project). Hence, I would be glad if someone could point me into the right direction - or are both possibilities bad practice?