Consider the following architecture:
A and B share a lot of functionality. That's why we plan to extract the shared code into a commons library.
I am aware of the advantages and disadvantages of multi modules vs. separate repositories. However, I'm not sure for what to go in this specific case.
What's the best solution in this case?