{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/6832","labels_url":"https://api.github.com/repos/apache/spark/issues/6832/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/6832/comments","events_url":"https://api.github.com/repos/apache/spark/issues/6832/events","html_url":"https://github.com/apache/spark/pull/6832","id":88574988,"number":6832,"title":"[SPARK-8401] [Build] Scala version switching build enhancements","user":{"login":"mallman","id":833693,"avatar_url":"https://avatars.githubusercontent.com/u/833693?v=3","gravatar_id":"","url":"https://api.github.com/users/mallman","html_url":"https://github.com/mallman","followers_url":"https://api.github.com/users/mallman/followers","following_url":"https://api.github.com/users/mallman/following{/other_user}","gists_url":"https://api.github.com/users/mallman/gists{/gist_id}","starred_url":"https://api.github.com/users/mallman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mallman/subscriptions","organizations_url":"https://api.github.com/users/mallman/orgs","repos_url":"https://api.github.com/users/mallman/repos","events_url":"https://api.github.com/users/mallman/events{/privacy}","received_events_url":"https://api.github.com/users/mallman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":35,"created_at":"2015-06-16T00:23:32Z","updated_at":"2015-07-07T16:52:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/6832","html_url":"https://github.com/apache/spark/pull/6832","diff_url":"https://github.com/apache/spark/pull/6832.diff","patch_url":"https://github.com/apache/spark/pull/6832.patch"},"body":"These commits address a few minor issues in the Scala cross-version support in the build:\r\n\r\n  1. Correct two missing `${scala.binary.version}` pom file substitutions.\r\n  2. Don't update `scala.binary.version` in parent POM. This property is set through profiles.\r\n  3. Update the source of the generated scaladocs in `docs/_plugins/copy_api_dirs.rb`.\r\n  4. Factor common code out of `dev/change-version-to-*.sh` and add some validation. We also test `sed` to see if it's GNU sed and try `gsed` as an alternative if not. This prevents the script from running with a non-GNU sed.\r\n\r\nThis is my original work and I license this work to the Spark project under the Apache License."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/119266285","html_url":"https://github.com/apache/spark/pull/6832#issuecomment-119266285","issue_url":"https://api.github.com/repos/apache/spark/issues/6832","id":119266285,"user":{"login":"mallman","id":833693,"avatar_url":"https://avatars.githubusercontent.com/u/833693?v=3","gravatar_id":"","url":"https://api.github.com/users/mallman","html_url":"https://github.com/mallman","followers_url":"https://api.github.com/users/mallman/followers","following_url":"https://api.github.com/users/mallman/following{/other_user}","gists_url":"https://api.github.com/users/mallman/gists{/gist_id}","starred_url":"https://api.github.com/users/mallman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mallman/subscriptions","organizations_url":"https://api.github.com/users/mallman/orgs","repos_url":"https://api.github.com/users/mallman/repos","events_url":"https://api.github.com/users/mallman/events{/privacy}","received_events_url":"https://api.github.com/users/mallman/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T16:52:40Z","updated_at":"2015-07-07T16:52:40Z","body":"I'll work on a revision following along the lines of what @ScrapCodes did and push it to this PR. Incidentally, I was going to suggest we use `mktemp` to create the temp files, but then I realized that tool is different on bsd versus gnu systems."}}