문제

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!

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top