I've realized in the meantime that many other Wayang modules are also using Spark. So I guess it's not enough to simply skip the wayang-spark module, sorry. I'm not sure what to do then. Maybe then Wayang has to drop support for Scala 2.11.
Best, Gábor Gábor E. Gévay <[email protected]> ezt írta (időpont: 2021. szept. 9., Cs, 15:40): > > Hello, > > I’m exploring ways to integrate Emma into Wayang, but I ran into some issues. > > Emma can be compiled only with Scala 2.11, and it seems that > unfortunately I cannot upgrade it to Scala 2.12. So, my first question > is that is there an intention for Wayang to support Scala 2.11? If > not, then the Emma integration seems hopeless. > > So now I'm trying to compile Wayang with Scala 2.11. From the main > pom.xml, it seems that if I don’t specify any maven profile then it > should use Scala 2.11. In this case (‘mvn clean install’ without any > profiles), I’m running into 2 issues: > > 1. There is still the license problem with the Scala 2.11 compiler. I > think this can be fixed by simply adding 'BSD 3-Clause' to the allowed > licenses. (‘BSD 3-clause’ is already there, i.e., the same with a > different capitalization.) > > 2. Wayang uses Spark 3.1.2, which is not compatible with Scala 2.11. > For this, the only workaround I can think of is to include the > wayang-spark module only if the scala-12 profile is active, similarly > to how wayang-graphchi is active only if the scala-11 profile is > active. Do you think this would make sense? > > I did both of the above changes on the following branch: > https://github.com/ggevay/incubator-wayang/tree/spark-2.11 > If we would like Wayang to support Scala 2.11, then I could open a > pull request with this. > > Best, > Gábor
