log4j and pom refactor