scala - SBT PublishM2 do not refresh snapshot jar in local maven repo -


i have simple sbt project

name := "xxxx"  organization := "xxxxx"  version := "0.0.2-snapshot"  scalaversion := "2.11.6"    resolvers += "spray repo" @ "http://repo.spray.io"   scalacoptions in thisbuild ++= seq("-language:postfixops", "-feature")    librarydependencies ++=   seq("io.spray" %% "spray-client" % "1.3.3",       "io.spray" %%  "spray-json" % "1.3.2",       "com.typesafe.akka" %% "akka-actor" % "2.3.11",       "org.dspace" % "dspace-api" % "1.8.2",       "org.scalatest" %% "scalatest" % "2.2.4" % "test") 

when publishlocal, snapshot updated in ivy, when publishm2 not work. check source jar in .m2 folder , never updated. have delete manually folder of artifact in local .m2 folder, publication again.

is there way have sbt replace jar in .m2 folder using publishm2 ?

it's known bug: https://github.com/sbt/sbt/pull/1960

it's been merged in master, presumably 0.13.9 contain fix


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -