Igniters,

I noticed a problem in POM files of *ignite-spark* and *ignite-spark_2.10*
 modules.

*ignite-spark* is targeted to be used by Scala 2.11, while
*ignite-spark_2.10* is made for Scala 2.10.
*But, **ignite-spark* has *spark-unsafe_2.10* as a dependency, and
*ignite-spark_2.10* depends on *json4s-core_2.11*.
It results in that when you add *ignite-spark *module as a dependency to
your SBT project, it stops compiling with the following error:
Modules were resolved with conflicting cross-version suffixes

Nikolay Izhikov, Valentin Kulichenko, can you comment on this? Is it some
kind of a hack, or these dependencies are just specified by mistake?
There is a ticket for this issue:
https://issues.apache.org/jira/browse/IGNITE-6369

Denis

пт, 6 окт. 2017 г. в 16:44, manuelmourato <manuelmourat...@gmail.com>:

> Hi, thank you for taking an interest in this bug.
> I managed to compile my project successfully by taking Val's suggestion,
> changing this:
>
> <dependency>
>     <groupId>org.json4s</groupId>
>     <artifactId>json4s-core_2.10</artifactId>
>     <version>3.5.0</version>
> </dependency>
>
> I noticed that I couldn't compile using ignite version 2.3, I had to
> downgrade to 2.2, otherwise this error would show up:
>
> [ERROR] Failed to execute goal on project ignite-spark_2.10: Could not
> resolve dependencies for project
> org.apache.ignite:ignite-spark_2.10:jar:2.3.0-SNAPSHOT: The following
> artifacts could not be resolved:
> org.apache.ignite:ignite-core:jar:2.3.0-SNAPSHOT,
> org.apache.ignite:ignite-core:jar:tests:2.3.0-SNAPSHOT,
> org.apache.ignite:ignite-indexing:jar:2.3.0-SNAPSHOT: Could not find
> artifact org.apache.ignite:ignite-core:jar:2.3.0-SNAPSHOT in
> h2database.com
> (http://h2database.com/m2-repo) -> [Help 1]
>
> Maybe it's worth taking a look.
> Cheers.
>
> --ManuelMourato
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to