{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/44566","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44566/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44566/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44566/events","html_url":"https://github.com/Homebrew/homebrew/pull/44566","id":109645732,"number":44566,"title":"pmd: Use unzip instead of tar to extract","user":{"login":"rwhogg","id":2373856,"avatar_url":"https://avatars.githubusercontent.com/u/2373856?v=3","gravatar_id":"","url":"https://api.github.com/users/rwhogg","html_url":"https://github.com/rwhogg","followers_url":"https://api.github.com/users/rwhogg/followers","following_url":"https://api.github.com/users/rwhogg/following{/other_user}","gists_url":"https://api.github.com/users/rwhogg/gists{/gist_id}","starred_url":"https://api.github.com/users/rwhogg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwhogg/subscriptions","organizations_url":"https://api.github.com/users/rwhogg/orgs","repos_url":"https://api.github.com/users/rwhogg/repos","events_url":"https://api.github.com/users/rwhogg/events{/privacy}","received_events_url":"https://api.github.com/users/rwhogg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-03T21:02:54Z","updated_at":"2015-10-03T22:23:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/44566","html_url":"https://github.com/Homebrew/homebrew/pull/44566","diff_url":"https://github.com/Homebrew/homebrew/pull/44566.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/44566.patch"},"body":"The PMD formula previously used tar to extract the zip archive. This works\r\nfine on Macs, because BSD's tar can handle zip archives. GNU tar can't, so we\r\nnow use unzip instead.\r\n\r\nThis fixes https://github.com/Homebrew/linuxbrew/issues/579."},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/145295139","html_url":"https://github.com/Homebrew/homebrew/pull/44566#issuecomment-145295139","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44566","id":145295139,"user":{"login":"tdsmith","id":173889,"avatar_url":"https://avatars.githubusercontent.com/u/173889?v=3","gravatar_id":"","url":"https://api.github.com/users/tdsmith","html_url":"https://github.com/tdsmith","followers_url":"https://api.github.com/users/tdsmith/followers","following_url":"https://api.github.com/users/tdsmith/following{/other_user}","gists_url":"https://api.github.com/users/tdsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/tdsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdsmith/subscriptions","organizations_url":"https://api.github.com/users/tdsmith/orgs","repos_url":"https://api.github.com/users/tdsmith/repos","events_url":"https://api.github.com/users/tdsmith/events{/privacy}","received_events_url":"https://api.github.com/users/tdsmith/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T22:23:40Z","updated_at":"2015-10-03T22:23:40Z","body":"Build is failing because of a sandbox issue; maven wants to write to the user's home directory and doesn't respect $HOME.\r\n\r\nThe fix is to set `ENV[\"_JAVA_OPTIONS\"] = \"-Duser.home=#{ENV[\"HOME\"]}”`, per https://github.com/Homebrew/homebrew/pull/44254#issuecomment-142701938.\r\n\r\nI think Homebrew should do this for every install operation; I'll look into fixing up our environment code."}}