Extract maven builder to a separate plugin

Not ready to merge yet