@JaDogg 1. Avoid git submodules. 2. If the git repository cannot be used as a dependency out of the box, make the build process download it, build it, and install it. If the git repository uses maven or gradle or something then you can use
mvn install
. Or if you somehow can create a jar from it, you can
use maven to install that jar as a dependency. Then your code can use it as a maven dependency.