I\'m just starting out trying to set up a workflow with scala and sbt, and I\'m having trouble with my repository. I am trying to publish a simple test library, which is co
actually, the inconsistency of timestamp & build number suffix in maven-metadata.xml and jar/pom files genereated by sbt publish lead to such error.
different suffix
with the following plugin sbt-maven-resolver during deployment procedure, the suffix will be kept same, looks like: same suffix
currently, adding this plugin on the deployment side (once the timestamp & build suffix are same, both sbt/maven can find the snapshots):
in plugins.sbt
addSbtPlugin("org.scala-sbt" % "sbt-maven-resolver" % "0.1.0")
hope to solve your case.