I have a multi-module maven project, of which two modules generate wars. Both serverModules depend on persistenceModule. Each server module is configured with its own jetty-maven-plugin which bring the server up during pre-integration-test phase and stops it during post-integration-test. Each serer module has its own jetty configurations- login services & ports.
--trunk
|_serverModuleA
|_serverModuleB
|_persistenceModule
serverModuleB has some integration tests, which invoke services provided in serverModuleA. So, it is required that serverModuleA is up and running while integration tests in serverModuleB are executed.
I cannot bring up two jetty instances, from serverModuleB, as jetty-maven-plugin does not support it. Appreciate any help.