mh_patchpoms: 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_patchpoms - from package: maven-repo-helper

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