Skip to content
This repository has been archived by the owner on Apr 27, 2019. It is now read-only.

"sbt assembly" fails with error "Not a valid command: assembly" #24

Open
safrrhmn opened this issue Jun 22, 2017 · 3 comments
Open

"sbt assembly" fails with error "Not a valid command: assembly" #24

safrrhmn opened this issue Jun 22, 2017 · 3 comments

Comments

@safrrhmn
Copy link

safrrhmn commented Jun 22, 2017

OS:
CentOS release 6.8 (Final)

[sysuser@jenkinsepcsslxz01 smtp]$ sbt assembly
[info] Loading project definition from /home/sysuser/.sbt/0.13/staging/062256ed7f1a43211714/smtp/project
[info] Loading project definition from /home/sysuser/.sbt/0.13/staging/8358063b5e3224d4f6d6/common/project
[info] Set current project to smtp (in build file:/maildrop/maildrop/smtp/)
[error] Not a valid command: assembly
[error] Not a valid project ID: assembly
[error] Expected ':' (if selecting a configuration)
[error] Not a valid key: assembly
[error] assembly
[error]         ^
[sysuser@jenkinsepcsslxz01 smtp]$

Any idea why this can be happening?

@faust64
Copy link

faust64 commented Nov 21, 2017

Same here. Debian Stretch (sbt 2.0, jdk8). Anything I could try?

@faust64
Copy link

faust64 commented Nov 21, 2017

Finding an open issue disturbed me ... Turns out, problem was reported already, #16.
Might just submit a PR in celebration ...

@JReming85
Copy link

you need to get sbt-assembly, and then create a file in ./project call assembly.sbt with the proper config for the version of sbt assembly you have

i.e. for sbt 0.13
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.7")

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants