pmd: Use unzip instead of tar to extract
pmd: Use unzip instead of tar to extract

The PMD formula previously used tar to extract the zip archive. This works
fine on Macs, because BSD's tar can handle zip archives. GNU tar can't, so we
now use unzip instead.

Note that we also override the user.home property to work around a problem
running Maven in a sandbox. Once Homebrew/homebrew#44567 gets merged, this should be
unnecessary and this can probably be removed.

Closes Homebrew/homebrew#44566.

Signed-off-by: Dominyk Tiller <53e438f55903875d07efdd98a8aaf887e7208dd3@gmail.com>

FinalDes/homebrew-core,mfikes/homebrew-core,bcg62/homebrew-core,Homebrew/homebrew-core,ilovezfs/homebrew-core,LinuxbrewTestBot/homebrew-core,maxim-belkin/homebrew-core,smessmer/homebrew-core,reelsense/homebrew-core,Moisan/homebrew-core,ilovezfs/homebrew-core,JCount/homebrew-core,edporras/homebrew-core,passerbyid/homebrew-core,makigumo/homebrew-core,Homebrew/homebrew-core,j-bennet/homebrew-core,sdorra/homebrew-core,aren55555/homebrew-core,FinalDes/homebrew-core,zyedidia/homebrew-core,dsXLII/homebrew-core,maxim-belkin/homebrew-core,bfontaine/homebrew-core,grhawk/homebrew-core,zyedidia/homebrew-core,battlemidget/homebrew-core,LinuxbrewTestBot/homebrew-core,gserra-olx/homebrew-core,bfontaine/homebrew-core,jvillard/homebrew-core,adam-moss/homebrew-core,mvbattista/homebrew-core,zmwangx/homebrew-core,BrewTestBot/homebrew-core,grhawk/homebrew-core,bcg62/homebrew-core,kuahyeow/homebrew-core,cblecker/homebrew-core,gserra-olx/homebrew-core,JCount/homebrew-core,mahori/homebrew-core,smessmer/homebrew-core,jabenninghoff/homebrew-core,mvitz/homebrew-core,forevergenin/homebrew-core,aren55555/homebrew-core,passerbyid/homebrew-core,uyjulian/homebrew-core,git-lfs/homebrew-core,lembacon/homebrew-core,git-lfs/homebrew-core,kuahyeow/homebrew-core,spaam/homebrew-core,mfikes/homebrew-core,adam-moss/homebrew-core,Linuxbrew/homebrew-core,jvillard/homebrew-core,mvbattista/homebrew-core,fvioz/homebrew-core,jdubois/homebrew-core,andyjeffries/homebrew-core,zmwangx/homebrew-core,kunickiaj/homebrew-core,uyjulian/homebrew-core,straxhaber/homebrew-core,DomT4/homebrew-core,jabenninghoff/homebrew-core,sjackman/homebrew-core,Linuxbrew/homebrew-core,Moisan/homebrew-core,tkoenig/homebrew-core,phusion/homebrew-core,bcg62/homebrew-core,aabdnn/homebrew-core,jdubois/homebrew-core,lasote/homebrew-core,adamliter/homebrew-core,wolffaxn/homebrew-core,rwhogg/homebrew-core,wolffaxn/homebrew-core,stgraber/homebrew-core,straxhaber/homebrew-core,mahori/homebrew-core,kunickiaj/homebrew-core,mvitz/homebrew-core,nandub/homebrew-core,ShivaHuang/homebrew-core,lembacon/homebrew-core,cblecker/homebrew-core,moderndeveloperllc/homebrew-core,makigumo/homebrew-core,mbcoguno/homebrew-core,jvehent/homebrew-core,battlemidget/homebrew-core,BrewTestBot/homebrew-core,phusion/homebrew-core,lemzwerg/homebrew-core,lembacon/homebrew-core,dsXLII/homebrew-core,reelsense/homebrew-core,j-bennet/homebrew-core,aabdnn/homebrew-core,andyjeffries/homebrew-core,sdorra/homebrew-core,mbcoguno/homebrew-core,jvehent/homebrew-core,sjackman/homebrew-core,lasote/homebrew-core,jvillard/homebrew-core,ylluminarious/homebrew-core,lemzwerg/homebrew-core,DomT4/homebrew-core,chrisfinazzo/homebrew-core,nbari/homebrew-core,spaam/homebrew-core,adamliter/homebrew-core,rwhogg/homebrew-core,bigbes/homebrew-core,ylluminarious/homebrew-core,forevergenin/homebrew-core,jdubois/homebrew-core,chrisfinazzo/homebrew-core,moderndeveloperllc/homebrew-core,filcab/homebrew-core,edporras/homebrew-core,mbcoguno/homebrew-core,tkoenig/homebrew-core,stgraber/homebrew-core,wolffaxn/homebrew-core,ShivaHuang/homebrew-core,nandub/homebrew-core,robohack/homebrew-core,mvitz/homebrew-core,bigbes/homebrew-core,fvioz/homebrew-core,filcab/homebrew-core,nbari/homebrew-core,robohack/homebrew-core