I want a program I\'m building to be able to report its own version at runtime (e.g. scala myprog.jar --version). Traditionally in a maven project, I\'d use res
scala myprog.jar --version
Use the xsbt-reflect plugin. It will generate a source file that contains, among other things, the project version number.