Dependency changed from project to maven jar