Github user vanzin commented on the issue:
https://github.com/apache/spark/pull/22931
This is what make-distribution.sh uses, perhaps do the same here?
(It also has a slight advantage of not hardcoding the version of the
plugin.)
```
SCALA_VERSION=$("$MVN" help:evaluate -Dexpression=scala.binary.version
$TRIMMED_ARGS 2>/dev/null\
| grep -v "INFO"\
| grep -v "WARNING"\
| tail -n 1)
```
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]