I am migrating from maven to sbt, so some of my projects are on sbt and some on maven.
When I locally publish artifacts with maven (mvn clean install) I want these artifacts to be available immediately in sbt projects.
It doesn't seem to be the case.
I've added a local maven resolver ( "Local Maven Repository" at "file://"+Path.userHome.absolutePath+"/.m2/repository") and it helped only the first time - sbt was able to find the artifact. When I changed the artifact and published it again (mvn clean install), sbt did not pick up the changes.
So, I suspect that sbt is caching it in local ivy repository and next time I do "sbt update" it looks first in ivy local cache and when it's there it doesn't check the local maven repo.
Is there any way of changing this precedence?