Changes to simplify the build of SPARK-2706

This simply uses two profiles and defines the source
location based on the profiles. It also removes a bunch
of other excludes. Finally, this doesn't use dynamic
profile activiation which could interfere with third-party
libraries that try to link against the spark-hive artifact.