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

sbt assembly errors #16

Closed
thinkpozzitive opened this issue Apr 17, 2015 · 2 comments · May be fixed by #26
Closed

sbt assembly errors #16

thinkpozzitive opened this issue Apr 17, 2015 · 2 comments · May be fixed by #26

Comments

@thinkpozzitive
Copy link

Whenever I try to create the smtp jar via sbt assembly I get the following error. Do you have any idea how to fix this?

[info] Loading project definition from /home/test/Desktop/maildrop/smtp/project
[info] Loading project definition from /home/test/Desktop/maildrop/common/project
[info] Set current project to smtp (in build file:/home/test/Desktop/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] ^

Also with latest version of play framework, it's no longer "play dist" it is "activator dist". Maybe the installation instructions need an update?

@drampelt
Copy link

drampelt commented May 6, 2015

I managed to fix this by creating the file smtp/project/assembly.sbt with the contents:

addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.13.0")

(Taken from the sbt-assemby plugin page)

@thinkpozzitive
Copy link
Author

works. Thanks.

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

Successfully merging a pull request may close this issue.

2 participants