mh_checkrepo: 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_checkrepo - from package: maven-repo-helper

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