Importing a plugin -- sbt-app-assembler

28 views
Skip to first unread message

David Vergnaud

unread,
Nov 10, 2015, 5:55:46 PM11/10/15
to simple-b...@googlegroups.com
Hi,

I've very new to SBT so I hope someone will be willing to help me. I've been
integrated into a Java/Scala project that uses SBT for building, and I've
developed a small CLI tool that I would like to give easy access to. I've been
told about Appassembler, which is a Maven plugin that allows to create
standalone archives that contain the complete environment required to run
programs, and found that there is an SBT version of it on Github:
https://github.com/hamnis/sbt-app-assembler
However, I've tried to follow the instructions and the plugin doesn't work at
all. It may be obvious, but to me it's obviously a complete mystery. Here's
what it shows:
david% sbt assemble
[info] Loading global plugins from /Users/david/.sbt/0.13/plugins
[info] Loading project definition from /Users/david/git/nlp/project
/Users/david/git/nlp/build.sbt:249: error: not found: value appAssemblerJvmOptio
ns
appAssemblerJvmOptions := Seq(
^
[error] Type error in expression
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?

I don't really understand how/where this "assemble" task or the
appAssemblerJvmOptions
variable are being declared/defined so I'm definitely missing something.
Perhaps someone could try and install this plugin and help me with this?

Thanks!

David


Naftoli Gugenheim

unread,
Nov 12, 2015, 5:01:59 PM11/12/15
to simple-b...@googlegroups.com

https://github.com/sbt/sbt-assembly
https://github.com/sbt/sbt-native-packager

are both very good options.


--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-t...@googlegroups.com.
To post to this group, send email to simple-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages