m2 local isn't guaranteed to always work fine with coursier (it sometimes has only the metadata of some dependencies, and coursier isn't fine with that - coursier requires both the metadata and the JARs to be in the same repo) see https://github.com/coursier/coursier/pull/868#issuecomment-398779799