Split apart maven related build logic