move pom configuration to afterevaluate hook