Use more injected properties instead of project.getBuild().getXXX()