I have an sbt project creating a jar that works fine except that the file name created sbt packageis equal recentusers_2.9.1-0.1.jar. Can I override this? I just want to remove the Scala version from the name, since my project source is pure Java.
sbt package
recentusers_2.9.1-0.1.jar
For a clean Java project, use:
crossPaths := false
not artifacts or cross version paths and:
autoScalaLibrary := false
so as not to automatically add a dependency on the Scala library.