Because of overriding the external-resolvers to Maven central and local only in sbt, now sbt publishLocal is failed to publish to local ivy repo, the detailed exception is showing in the dev mail list (http://apache-spark-developers-list.1001551.n3.nabble.com/sbt-publish-local-fails-with-2-0-0-SNAPSHOT-td16168.html).
Possibly two solutions:
1. Add ivy local repo to the external-resolvers.
2. Do not publish to local ivy repo.