Major rework of maven build.