Github user srowen commented on the pull request:
https://github.com/apache/spark/pull/12631#issuecomment-213699239
Yes, on a system with Maven < 3.3.9 installed, you always have to pass
`--force`. This would at least make it optional on the second or subsequent
run.
Ideally we could even auto-detect the `mvn` version, which isn't too hard,
and then download and/or use the downloaded copy only if the installed one is
too old. What do you think about trying that? I wouldn't want to do it if it
ends up being a lot of complexity, but ought to be a few more lines. We could
even remove `--force` then, I suppose, since you have to download it if your
local maven is too old.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]