Funke + sbt-Versammlung: "dedupliziert werden sollen: unterschiedliche Datei-Inhalte in der folgenden"

Lief ich Funke Anwendung und will, pack die test-Klassen in das Fett jar. Was ist komisch ist, dass ich ran "sbt Baugruppe" erfolgreich, aber nicht, wenn ich ran "sbt-test:Montage".

Versuchte ich sbt-Montage : inklusive test-Klassen, es funktionierte nicht für meinen Fall.

SBT version : 0.13.8

bauen.sbt:

import sbtassembly.AssemblyPlugin._

name := "assembly-test"

version := "1.0"

scalaVersion := "2.10.5"

libraryDependencies ++= Seq(
  ("org.apache.spark" % "spark-core_2.10" % "1.3.1" % Provided)
    .exclude("org.mortbay.jetty", "servlet-api").
    exclude("commons-beanutils", "commons-beanutils-core").
    exclude("commons-collections", "commons-collections").
    exclude("commons-logging", "commons-logging").
    exclude("com.esotericsoftware.minlog", "minlog").exclude("com.codahale.metrics", "metrics-core"),
  "org.json4s" % "json4s-jackson_2.10" % "3.2.10" % Provided,
  "com.google.inject" % "guice" % "4.0"
)

Project.inConfig(Test)(assemblySettings)

InformationsquelleAutor Grant | 2015-05-25

Schreibe einen Kommentar