refactoring + pom modification for jgoffice-template