Sbt alternative to "mvn install -DskipTests"
The SBT wiki has the goods. Just define the repo (look for "Publishing to the users local maven repository" on the linked page) and invoke "publish".
Using SBT 0.13 and without editing the project source files:
Create (or edit) a
global.sbt
file in~/.sbt/0.13
:vim ~/.sbt/0.13/global.sbt
Add the following line:
publishTo := Some(Resolver.file("file", new File(Path.userHome.absolutePath+"/.m2/repository")))
Save and close the file
- Run
sbt publish
from the project folder