I've been trying to solve this for quite a while now, but nothing seems to work.
I need to run "mvn clean deploy -P release" from the Terminal in IntelliJ (on Mac). But it keeps giving me the same error.
bash: mvn: command not found
I was able to run this command about 2 hours ago, but after closing and reopening IntelliJ, I am no longer able to run this command from the Terminal in IntelliJ.
Does anyone know why this happens and how I can fix this?