2017-03-11 12 views
1

Ich möchte eine JAR-Datei von XSL Transform Projekt erstellen. Wenn ich nicht falsch bin, brauche ich sbt-assembly Plugin.SBT-Assembly: keine gültige Befehlsgruppe

auf dem readme So basiert I erstellt und hinzugefügt:

@ubuntu:~/scripts/XSL-tester$cat /project/assembly.sbt 
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.11.2") 

nach, dass ich SBT Montag zu laufen versucht:

@ubuntu:~/scripts/XSL-tester$ sbt assembly 
[info] Loading global plugins from /home/x/.sbt/0.13/plugins 
[info] Updating {file:/home/x/.sbt/0.13/plugins/}global-plugins... 
[info] Resolving org.fusesource.jansi#jansi;1.4 ... 
[info] downloading http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.eed3si9n/sbt-assembly/scala_2.10/sbt_0.13/0.11.2/jars/sbt-assembly.jar ... 
[info] [SUCCESSFUL ] com.eed3si9n#sbt-assembly;0.11.2!sbt-assembly.jar (2101ms) 
[info] Done updating. 
[info] Loading project definition from /home/x/scripts/XSL-tester/project 
[info] Set current project to test (in build file:/home/x/scripts/XSL-tester/) 
[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] 

Andere sagen, dass es hinzugefügt werden muss:

@ubuntu:~/scripts/XSL-tester$ cat /home/x/.sbt/0.13/plugins/plugins.sbt 
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.11.2") 

auch ... aber es half nicht.

sbt Version:

@ubuntu:~/scripts/XSL-tester$ sbt sbtVersion 
[info] Loading global plugins from /home/x/.sbt/0.13/plugins 
[info] Loading project definition from /home/x/scripts/XSL-tester/project 
[info] Set current project to test (in build file:/home/x/scripts/XSL-tester/) 
[info] 0.13.0 

Antwort

0
assemblySettings 

die obige Zeile in Ihrem build.sbt hinzufügen

helfen
Verwandte Themen