mh_unpatchpoms: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/mh_unpatchpoms - from package: maven-repo-helper

You may install the required package with command apt-get install {package}
Error in other languages:
mh_unpatchpoms: bevel nie gevind nie
mh_unpatchpoms: comandă negăsită
mh_unpatchpoms: comando não encontrado
mh_unpatchpoms: commande introuvable
mh_unpatchpoms: command not found
mh_unpatchpoms: käsku ei ole
mh_unpatchpoms: không tìm thấy lệnh
mh_unpatchpoms: komanda nerasta
mh_unpatchpoms: Kommando nicht gefunden.
mh_unpatchpoms: kommandot finns inte
mh_unpatchpoms: komut yok
mh_unpatchpoms: nie znaleziono polecenia
mh_unpatchpoms: níor aimsíodh an t-ordú
mh_unpatchpoms: no se encontró la orden
mh_unpatchpoms: no s'ha trobat l'ordre
mh_unpatchpoms: opdracht niet gevonden
mh_unpatchpoms: parancs nem található
mh_unpatchpoms: perintah tidak ditemukan
mh_unpatchpoms: príkaz nenájdený
mh_unpatchpoms: příkaz nenalezen
mh_unpatchpoms: команда не найдена
mh_unpatchpoms: командата не е открита
mh_unpatchpoms: 命令找不到
mh_unpatchpoms: コマンドが見つかりません