[ 
https://issues.apache.org/jira/browse/SPARK-6960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14498057#comment-14498057
 ] 

Sean Owen commented on SPARK-6960:
----------------------------------

Micah the build doesn't work at all for 2.11 unless you use the script to 
translate all the hardcoded occurrences. Did you apply this script? Should be 
under dev. Docs plugins probably don't matter as there is no separate docs 
build for 2.11

> Hardcoded scala version in multiple files. SparkluginBuild.scala, as well as 
> docs/ with self-deprecating comment.
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-6960
>                 URL: https://issues.apache.org/jira/browse/SPARK-6960
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.3.0
>            Reporter: Michah Lerner
>            Priority: Minor
>             Fix For: 1.3.1
>
>
> Hard-coded value scala version 2.10 in multiple files, including:
> docs/_plugins/copy_api_dirs.rb, docs/_config.yml and  
> spark-1.3.0/project/project/SparkPluginBuild.scala.
> [error] /path/spark-1.3.0/project/project/SparkPluginBuild.scala:33: can't 
> expand macros compiled by previous versions of Scala
> The following generally builds successfully, except when the "-Pnetlib-lgpl" 
> option is added to the mvn build, provided there is a manual edit of the 
> scala version.
> mvn -Dscala-2.11 -Pyarn -Phadoop-2.4 -DskipTests clean package
> sbt -Pyarn -Phadoop-2.4 -Dscala-2.11 unidoc
> cd docs
> jekyll b



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to