Most interesting for you here is not the source code, but configs in .mainframer
folder.
This is a very common setup for basically any Maven project (including multimodule), but of course you might need to tune some ignore configs for your project.
$ bash mainframer.sh ./mvnw package
Or any other Maven goal you want, btw it integrates with IntelliJ pretty easily! TODO add link to docs.
JDK 6+ installed on remote machine.
BTW, Maven users, we strongly recommend you use Maven Wrapper so remote machine will install required version of mvn
transparently.