newURCap.sh line292 mvn:command not found

I have a problem building my first new urcap: (see image)
An error occurred when newURCap.sh was executed, showing:

newURCap.sh line292 mvn: command not found. cannot stat ‘thenewapp’: No sush file or directory

But make sure newURCap.sh is in the folder, has anyone encountered this problem and help me?

thanks