sbt-assembly Questions
1
Solved
1-The Problem
I have a Spark program that make use of Kryo but not as part of the Spark Mechanics. More specifically I am using Spark Structured Streaming connected to Kafka.
I read binary val...
Percival asked 29/9, 2018 at 21:35
2
Solved
I need to exclude spark and test dependencies from my final assembly jar. I tried to use provider but it was not working.
libraryDependencies ++= Seq("org.apache.spark" % "spark-core_2.11" % "2.0...
Nikolenikoletta asked 27/1, 2017 at 12:30
2
Solved
I've just stumbled upon the sbt-pack plugin. The development stream seems steady. It's surprising to me as I believed that the only plugin for (quoting sbt-pack's headline) "creating distributable ...
Bagasse asked 21/3, 2014 at 10:41
3
Solved
The title could also be:
What are the differences between Maven and SBT assembly plugins.
I have found this to be an issue, while migrating a project from Maven to SBT.
To describe the problem I...
Luke asked 9/5, 2018 at 9:22
5
Solved
I am building a sbt plugin and want to reference assembly task in the sbt-assembly plugin ( to be dependent on my task)
to do this i need to reference it as a library ( as opposed to a plugin), an...
Attainment asked 2/3, 2016 at 19:36
4
Solved
I'm installing Sbt-Assembly, but am now stuck.
Sbt Version (from 'sbt about'): 0.13.8
Current project is built against scala 2.11.6
Sbt, sbt plugins, and build definitions are using Scala 2.10.4
...
Ectropion asked 22/9, 2015 at 15:3
3
Solved
I get the following error when I do a ./sbt assembly on my Scala project. I saw the first after adding these dependencies to my build.sbt I can compile and run my code.
libraryDependencies ++= Se...
Marinamarinade asked 24/4, 2014 at 21:47
1
The spark-daria project is uploaded to Spark Packages and I'm accessing spark-daria code in another SBT project with the sbt-spark-package plugin.
I can include spark-daria in the fat JAR file gen...
Concerned asked 17/5, 2017 at 23:39
4
Solved
I have code which essentially looks like this:
class FoodTrainer(images: S3Path) { // data is >100GB file living in S3
def train(): FoodClassifier // Very expensive - takes ~5 hours!
}
class ...
Wie asked 8/11, 2017 at 16:21
2
Solved
I have module A and module B in a multi-module SBT project. I want to write a resource generator task for module B that invokes code from module A. One way to do this is to pull all the code from m...
Heliacal asked 21/11, 2017 at 17:12
1
Solved
I have the following situation:
+ DentistApp
L TreatsLibrary
L IceCream 1.0
L CavityCausesLib
L IceCream 2.0
Now I get a VerifyError because TreatsLibrary is using IceCream.giveToKidAfterDri...
Content asked 10/11, 2017 at 22:25
1
Solved
I have a spark job packaged as an uber-jar using the sbt assembly plugin.
The build.sbt specifies a runnable main to be the target of the resulting uber-jar
mainClass in assembly := Some("com.foo....
Hardheaded asked 18/9, 2017 at 20:34
1
Solved
I'm using sbt assembly to create a fat jar which can run on spark. Have dependencies on grpc-netty. Guava version on spark is older than the one required by grpc-netty and I run into this error: ja...
Baten asked 31/8, 2017 at 19:48
2
My problem is I can no longer use the sbt-assembly plugin because some kind of dependency merge problem creeped in, between a couple people working on this project.
The problem when I run 'sbt as...
Shaky asked 25/3, 2015 at 0:52
0
I'm trying to execute a fat jar builded with sbt-assembly using spark and deepLearning4J, unfortunately during execution i'm confronted to the Exception in thread "main" java.lang.NoClassDefFoundEr...
Choir asked 11/1, 2017 at 17:19
0
In order to run assembly without tests, it's recommended to run:
sbt 'set test in assembly := {}' clean assembly
But when we have a multi-project setup, this doesn't work. I have to do things li...
Shirt asked 25/11, 2016 at 16:18
1
Solved
Our project mainly consists of two parts
Build.scala where the root project lies
BuildShaded.scala where some external dependencies are shaded with sbt-assembly. The shaded jars will be depended ...
Brnaby asked 3/11, 2016 at 8:44
1
Solved
This may sound like a stupid question, but I've been searching all over the internet on how to comment a line in an sbt file. Does anyone know how to?
Cyanic asked 24/9, 2016 at 10:3
1
Solved
I have a project that consists of multiple smaller projects, some with dependencies upon each other, for example, there is a utility project that depends upon commons project.
Other projects may or...
Pardo asked 7/9, 2016 at 13:22
1
I try to build jar from clean project with sbt-assembly how describes in docs:
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.11.2")
import AssemblyKeys._
assemblySettings
mainClass in asse...
Boynton asked 25/4, 2016 at 9:31
1
Solved
We use spark a lot for our scala applications. If I'm testing locally my library dependencies are:
libraryDependencies += "org.apache.spark" % "spark-core_2.10" % "1.6.1",
libraryDependencies +=...
Decamp asked 28/6, 2016 at 15:0
0
I have a multi module sbt project, e.g.:
lazy val core = (project in file("my-project-core"))
.settings(name := "my-project-core")
// more settings
lazy val app = (project in file("my-project-app...
Ilan asked 2/6, 2016 at 15:9
1
Solved
I would like to set up an sbt project so that it can publish to the proper artifactory repository based on the (git) branch.
The solution proposed for this question suggests to hardcode the reposi...
Inquiline asked 10/5, 2016 at 16:22
1
Solved
I'm currently facing a problem with deploying an uber-jar to a Spark Streaming application, where there are congruent JARs with different versions which are causing spark to throw run-time exceptio...
Radom asked 4/4, 2016 at 15:26
1
Solved
sbt version is 0.13.9 and scala 2.11.7/ I know previous versions of sbt relied on scala 2.10 - is that still the case? I have a Java project for which I added an assembly.sbt file in the project di...
Barboza asked 13/3, 2016 at 19:58
© 2022 - 2024 — McMap. All rights reserved.