Github user dragos commented on the pull request:

    https://github.com/apache/spark/pull/6903#issuecomment-118015682
  
    This would be the change. I agree it's ugly, and couldn't factor out the 
test...
    
    ```
    +  // genjavadoc has not been published for 2.11.7 yet, so we skip it in 
this configuration
       lazy val sparkGenjavadocSettings: Seq[sbt.Def.Setting[_]] = Seq(
    -    libraryDependencies += compilerPlugin(
    -      "org.spark-project" %% "genjavadoc-plugin" % 
unidocGenjavadocVersion.value cross CrossVersion.full),
    -    scalacOptions <+= target.map(t => "-P:genjavadoc:out=" + (t / "java")))
    +    libraryDependencies ++= (if (!scalaVersion.value.startsWith("2.11.7"))
    +            Seq(compilerPlugin("org.spark-project" %% "genjavadoc-plugin" 
% unidocGenjavadocVersion.value cross CrossVersion.full))
    +          else
    +            Seq.empty),
    +    scalacOptions += (if (!scalaVersion.value.startsWith("2.11.7"))
    +        "-P:genjavadoc:out=" + (target.value / "java")
    +      else 
    +        ""))
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to