minor code refactoring in pom and ftl