Looking at https://github.com/sbt/sbt-assembly, it seems you can add the 
following into extraAssemblySettings:

assemblyOption in assembly ~= { _.copy(includeScala = false) }

Matei

On Oct 30, 2013, at 9:58 AM, Mingyu Kim <[email protected]> wrote:

> Hi,
> 
> In order to work around the library dependency problem, I’d like to build the 
> spark jar such that it doesn’t contain certain libraries. I will import the 
> libraries separately and have them available at runtime. More specifically, 
> I’d like to remove scala-2.9.3 out of the spark jar built by “sbt/sbt 
> assembly”. Does anyone know a way to modify spark’s sbt setting to do that by 
> any chance? Thanks!
> 
> Mingyu

Reply via email to