Skip to content

Commit

Permalink
Exclude asm classes from final jar.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcelo Vanzin committed Aug 6, 2014
1 parent 637189b commit d3ea8e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions project/SparkBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ object Assembly {
Option(System.getProperty("hadoop.version")).getOrElse("1.0.4") + ".jar" },
mergeStrategy in assembly := {
case PathList("org", "datanucleus", xs @ _*) => MergeStrategy.discard
case PathList("org", "objectweb", "asm", xs @ _*) => MergeStrategy.discard
case m if m.endsWith(".class") => shade
case m if m.toLowerCase.endsWith("manifest.mf") => MergeStrategy.discard
case m if m.toLowerCase.matches("meta-inf.*\\.sf$") => MergeStrategy.discard
Expand Down

0 comments on commit d3ea8e1

Please sign in to comment.