Question

I do specify scalaVersion := "2.10.3" in my build.sbt, but after ./sbt package I got my package as myapp_2.10-1.0.0.jar.

Doesn't it suppose to be myapp_2.10.3-1.0.0.jar ??

Is there any parameter I need to change as well ?

Thanks!

Was it helpful?

Solution

That happens because all 2.10.X artifacts are (should be) binary compatible. That's why the minor version isn't included in the artifact name. It shouldn't matter.

I couldn't find an official reference for what I said above, just this post by Martin Odersky: Binary compatibility: status and outlook

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top