I have seen on internet to run command like

mvn . . . . . something

but I am confused where to write this.

if in command prompt cmd.exe

I tried mvn.exe it says command not found

because maven is in STS

Edit
Report