sbt-assembly Questions
1
Due to some quirks in some dependencies, I'm having trouble with sbt-assembly, and have been told that people working with Java and have had good results with Maven's shade plugin.
How can I use M...
Christa asked 30/6, 2014 at 3:14
1
Solved
I have a project with several dependencies, which ultimately lead to
depending on the following (I got these from sbt-dependency-graph plugin):
commons-beanutils:commons-beanutils:1.7.0
commons-...
Valdavaldas asked 10/12, 2015 at 15:38
1
I want to connect Kafka + Cassandra to the Spark 1.5.1.
The versions of the libraries:
scalaVersion := "2.10.6"
libraryDependencies ++= Seq(
"org.apache.spark" % "spark-streaming_2.10" % "1.5.1...
Hamulus asked 7/11, 2015 at 13:16
3
Spark has a dependency on json4s 3.2.10, but this version has several bugs and I need to use 3.2.11. I added json4s-native 3.2.11 dependency to build.sbt and everything compiled fine. But when I sp...
Crimpy asked 23/3, 2015 at 17:35
2
I am trying to build a JAR with dependencies using sbt-assembly. But I am running into this error again and again. I have tried multiple different things but I end up here. I am pretty new to SBT a...
Clayton asked 29/11, 2014 at 2:23
2
Solved
I ran spark application and wanna pack the test classes into the fat jar. What is weird is I ran "sbt assembly" successfully, but failed when I ran "sbt test:assembly".
I tried sbt-assembly : inc...
Mayne asked 25/5, 2015 at 22:49
3
I'm running sbt 0.13.0 and have a project with sbt-assembly via:
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.11.2")
Upon executing sbt assembly I get the following message:
[info] Resolvi...
Annulus asked 29/7, 2014 at 21:5
2
Solved
Im using spark (in java API) and require a single jar that can be pushed to the cluster, however the jar itself should not include spark. The app that deploys the jobs of course should include spar...
Modular asked 21/11, 2013 at 21:5
1
Solved
I am trying to pass command line arguments to my JAR created with sbt-assembly. Neither of these -Dconfig.file=application.conf nor -Dconfig.trace=loads
My exact command is
java -jar googleScrape...
Vulturine asked 7/7, 2015 at 18:28
1
Solved
The description of sbt-assembly merge strategy called rename sounded like it might permit something similar to the shading operation of the maven-shade-plugin which will relocate classes and their ...
Cullet asked 4/3, 2015 at 3:53
3
I implemented a Scalatra servlet and now want to create an executable jar, just like described in this tutorial: http://www.scalatra.org/2.2/guides/deployment/standalone.html
I use IntelliJ IDEA w...
Jam asked 31/5, 2013 at 11:24
0
The question: why is it ignoring the MergeStrategy.first?
I've made a minor application within the Play Framework using version 2.3.8
According to the official documentation you can add the line a...
Puffy asked 25/4, 2015 at 17:27
1
We have a project where we are building a large number of Scalatra microservices by packaging them using the sbt-assembly plugin, then creating Docker images using the sbt-docker plugin. The proces...
Parishioner asked 3/2, 2015 at 22:21
2
Solved
I'm trying to add parboiled2 as a dependency to my project, and follow the Calculator example but it conflicts with spray.
My current build.sbt file includes:
"io.spray" %% "spray-json" % "1.3.1"...
Aubrette asked 26/12, 2014 at 14:42
1
Solved
So I've been trying to use parboiled2 for the last few weeks now, it is possibly the most difficult dependency to add to a build I have come across in my entire life. My current error is a compile ...
Missilery asked 14/1, 2015 at 11:41
1
Solved
I need to package my test classes, resources and also test dependencies with sbt assembly.
This question sbt-assembly : including test classes didn't help - test:assembly still didn't generate a j...
Caul asked 7/1, 2015 at 16:52
1
I have a pretty standard Scalatra project using Logback for logging.
Following the logback manual I have added a logback-test.xml for my development configuration (logs of debugs), whilst maintain...
Brundage asked 18/12, 2014 at 3:18
1
Solved
I'm trying to create a fat jar of a combination of spark and restlet framework, but I keep getting this deduplication error.
This is the error for running sbt assembly:
java.lang.RuntimeExceptio...
Capitulary asked 19/9, 2014 at 2:3
1
I am using sbt assembly to create a library, for internal purposes.
I am publishing this jar to a local artifactory installation, and it works nicely.
However, I still haven't figured out how to ...
Diannadianne asked 8/9, 2014 at 8:50
1
Solved
How can I tell sbt-assembly to keep its existing merge / deduplicate rules, except, when two .class files conflice, rename (and issue a warning so I know about it)?
Would this be identical to the ...
Bogosian asked 6/7, 2014 at 14:34
3
Solved
My project has dependencies on a JAR file that isn't in Ivy, how can I include it directly in the final JAR output by sbt-assembly?
Kerrison asked 11/9, 2013 at 19:13
1
Solved
As part of sbt-assembly I want to include both src and test class files in jar. Sbt-assembly includes only src files with dependencies. Is there any way through which I can include test classes als...
Demarche asked 10/12, 2013 at 7:15
1
Solved
I am trying to create an executable jar using SBT assembly plugin.
I am ending up with below error :
[error] (app/*:assembly) deduplicate: different file contents found in the following:
[error...
Almsgiver asked 5/12, 2013 at 6:46
1
Solved
I need to create a Nutch plugin that communicate with some external applications using Akka. In order to do this, I need to package the plugin as a fat Jar - I am using sbt-assembly version 0.8.3.
...
Kurt asked 4/3, 2013 at 13:51
1
Solved
I am using sbtassembly from https://github.com/sbt/sbt-assembly with this merge strategy:
mergeStrategy in assembly <<= (mergeStrategy in assembly) { (old) =>
{
case PathList("javax", "...
Bronchial asked 21/10, 2013 at 19:19
© 2022 - 2024 — McMap. All rights reserved.