mh_installpoms: 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_installpoms - from package: maven-repo-helper

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