little refactoring with pom dependencies