TAG: java

Software and more

Navigation

maven multi modules setup

This is a very common use case and it took me some time to figure everything out. Consider we have a Maven project with 2 modules and both modules need to have access to the same database with the same domain models. Since we do not want to write these models multiple times lets create a 3rd module for them. Setup We want a project setup like this. pom.xml --> /WebProject pom.xml --&…