mh_patchpom: 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_patchpom - from package: maven-repo-helper

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