fix dependencies, java version and duplicated v2 in url