better java dependency resolution