jzhuge commented on issue #24184: [SPARK-27250][BUILD] Scala 2.11 maven compile should target Java 1.8 URL: https://github.com/apache/spark/pull/24184#issuecomment-475823447 So it is not reading property "java.version" from root pom, but what about this line in SparkBuild.java: javaVersion := SbtPomKeys.effectivePom.value.getProperties.get("java.version").asInstanceOf[String], Shouldn't SbtPomKeys.effectivePom read the pom.xml from project base directory? On Fri, Mar 22, 2019 at 4:50 PM Marcelo Vanzin <[email protected]> wrote: > "java.version" is a system property set by the JVM itself. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/apache/spark/pull/24184#issuecomment-475817979>, or mute > the thread > <https://github.com/notifications/unsubscribe-auth/ABy-pO_fmMNafoTJEdtnTGIX-u8O4EARks5vZWxGgaJpZM4cEXCp> > . > -- John Zhuge
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
