Move template checks to effective-pom building section.