Hi,
I have two jars one with a classifier and one without. When a new SNAPSHOT version is published the jar with the classifier is not updated in my local Ivy cache. I have read through the discussion of Ivy and classifiers here
https://github.com/sbt/sbt/issues/285 and tried the suggestions here, but my issue still exists.
What I did.
1. setup my project dependency
libraryDependencies += "group" %% "artifactA" % "1.0.0-SNAPSHOT" withSources() classifier("test") classifier("")
2. sbt update -- project is updated and both the jars are downloaded
3. publish a new version of 'artifactA' (a different project)
4. sbt update -- updated my project that has a dependency on 'artifactA'
The result is that group-artifactA_2.9.1-1.0.0-SNAPSHOT.jar is updated, but group-artifactA_2.9.1-1.0.0-SNAPSHOT-test.jar is not. The only way I have been able to get the 'test' to update is to actually remove the old jar and run 'sbt update'
Is there a work around for this? Am I doing something wrong?
Any insight into this is appreciated.
Michael