Github user sadhen commented on the issue:
https://github.com/apache/spark/pull/22280
First, `scala-2.12` and `scala-2.11` is the conventions from sbt.
`scala-2.11` won't be compiled if we are using 2.12.
Actually, only
`<extra.source.dir>scala-2.11/src/main/scala</extra.source.dir>` is effective
in the original `pom.xml`. And
`<extra.testsource.dir>scala-2.11/src/test/scala</extra.testsource.dir>` is a
non-exist dir.
Add a `scala-2.12` profile, override `extra.source.dir` and
`extra.testsource.dir` with two **standard** dirs.
We may not care about whether the dirs are empty, we care about the
consistent behavior with sbt.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]