I'm sure you've investigated all of your options but if not here are a few from the googler.....
Groundhogs don't like basil, chives, lemon balm, mint, sage, thyme, rosemary, oregano, or Epsom salts.
If that fails and you go with the trap they have some tasty-looking recipes for groundhog stew!
I've got a raccoon that bothers my bird feeders now and then. I've considered trapping it but we have some feral cats in the neighborhood. I don't want to catch the cats, which also bother my birdfeeders. My neighbor puts out food for the darn things! I'd like to avoid a dispute with my neighbor.
Speaking of pests.
I noticed this colony of hornets on the side of my house. The nest is about two feet high! I'll need to get out there one calm dry evening with a can of hornet spray.