[SPARK-3437][BUILD] Support crossbuilding in maven. With new scala-install-plugin.

Since this plugin is not deployed anywhere, for anyone trying this patch has to publish it locally by cloning the following repo https://github.com/ScrapCodes/scala-install-plugin.  And then running `mvn install`.