For the rare case where a main artifact is expected, add an explicit jar() to the dependency declaration.