Remove all url and subdir attrs from <dependency> so that --searchpath is used.