I've got a multiproject with several Modules (Microservice Modules), this Modules have a same codebase etc. persistence layer. Which i would like to extract in a separate Module (Shared Module).
The structure looks like:
Main Pom
|- Microservice 1
| |- module 1
| |- module 2
|- Microservice 2
| |- module 1
| |- module 2
|- Microservice 3
| |- module 1
|- Shared Module
I know that i can add the "Shared Module" as a dependency to the "Microservice Modules", but than I can only build the hole project by building from the main pom.
But i want to build the Microservices Modules separately. Is it possible building the Shared Module before building only one Microservice Module.