You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/11/22 16:15:58 UTC

[jira] [Commented] (SPARK-18542) spark fails to substitute variables in maven package dependencies

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

Sean Owen commented on SPARK-18542:
-----------------------------------

Published POMs shouldn't contain variables to substitute. Is this published and/or how did you publish it? This isn't a Spark issue.

> spark fails to substitute variables in maven package dependencies
> -----------------------------------------------------------------
>
>                 Key: SPARK-18542
>                 URL: https://issues.apache.org/jira/browse/SPARK-18542
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Shell, Spark Submit
>    Affects Versions: 2.0.2
>            Reporter: Christoph Hösler
>            Priority: Minor
>
> I installed the XGBoost maven artifacts locally as described at https://xgboost.readthedocs.io/en/latest/jvm/index.html.
> Starting spark-shell afterwards with "--packages ml.dmlc:xgboost4j-spark:0.7", however, gives me the following "unresolved dependency" error:
> Exception in thread "main" java.lang.RuntimeException: [unresolved dependency: org.scala-lang#scala-compiler;${scala.version}: not found, unresolved dependency: org.scala-lang#scala-reflect;${scala.version}: not found]
> Apparently, spark fails to substitute "scala.version" which is set as a property in the parent pom ml.dmlc:xgboost-jvm:0.7.
> Replacing the variable manually in the pom files solves the problem.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org