Allow running on pom projects, need to change this so it only works for the prepare-agent goal