refactoring in order to remove deprecation warning for "RepositoryHandler.mavenRepo()"