Skip to content

Commit

Permalink
Don't export test jars.
Browse files Browse the repository at this point in the history
Some tests depend on resources being actual files instead of being inside
of jars.
  • Loading branch information
Marcelo Vanzin committed Mar 2, 2016
1 parent d0d4304 commit 8263ed5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion project/SparkBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ object SparkBuild extends PomBuild {
scalacOptions <+= target.map(t => "-P:genjavadoc:out=" + (t / "java")))

lazy val sharedSettings = graphSettings ++ sparkGenjavadocSettings ++ Seq (
exportJars := true,
exportJars in Compile := true,
exportJars in Test := false,
javaHome := sys.env.get("JAVA_HOME")
.orElse(sys.props.get("java.home").map { p => new File(p).getParentFile().getAbsolutePath() })
.map(file),
Expand Down

0 comments on commit 8263ed5

Please sign in to comment.