3b6da36cd6
…a sbt on Intellij IDEA. ### What changes were proposed in this pull request? Read from java property "sbt.maven.profiles", the maven profiles to be enabled while importing to intellij IDEA via SBT. ### Why are the changes needed? Without this change one needs to set an os-wide environment variable `SBT_MAVEN_PROFILES`, on mac it is even trickier (I have not figured out, what can be done). ### Does this PR introduce any user-facing change? None ### How was this patch tested? Manually tested by applying multiple profiles or a single profile. Please see the attached images to see the steps. <img width="802" alt="Screenshot 2020-03-11 at 4 09 57 PM" src="https://user-images.githubusercontent.com/992952/76411667-46223280-63b8-11ea-9a77-dc014b66d48b.png"> <img width="867" alt="Screenshot 2020-03-11 at 4 18 09 PM" src="https://user-images.githubusercontent.com/992952/76411676-4ae6e680-63b8-11ea-895d-ed9d6cc223c5.png"> Closes #27878 from ScrapCodes/SPARK-31120/idea-load-maven-profiles. Authored-by: Prashant Sharma <prashsh1@in.ibm.com> Signed-off-by: Sean Owen <srowen@gmail.com> |
||
---|---|---|
.. | ||
build.properties | ||
MimaBuild.scala | ||
MimaExcludes.scala | ||
plugins.sbt | ||
SparkBuild.scala |