Could someone let me know easy way to handle internal dependencies for maven projects. For now I have following things.
- MainPorject depends on project A, B and C - Fat jar
- Project A needs project B for compilation - Thin Jar
- and project b depends on project c on compilation - Thin Jar
for now, I manually compile all the jar files from A,B and C project from their respective repos and put in mainProject to crate fat jar.
Is there a way I can provide config in such a way that when I compile mainProject it automatically fetches the latest code A,B and C repo? Same goes for project A and Project B.