[SPARK-3437][BUILD] Support crossbuilding in maven.

This patch get rid of _2.10 in the artifact ids and adapts the install plugin to include it instead.
This will make it easy to cross build for scala 2.10 and 2.11.

There was no way(I know) to avoid copying the same code everywhere. (Maven oddities... )
You should specify this version once in parent pom in `pluginManagement`