Update POM to ensure correct properties on Maven targets other than compile