I am newbie to Mac world! After unzipping the apache-maven binaries, I was trying to check its version from the terminal using a command,

mvn -v

But there I saw message restricting me its access, here is the screen shot.

enter image description here

Do I need to have any other permissions to access this?

  • Did you try this? Commented Jun 7, 2021 at 9:13
  • Yes, it worked! thanks @cafertayyar! Commented Jun 7, 2021 at 9:28
  • @caf Please leave this as an answer!
    – grg
    Commented Jun 7, 2021 at 11:48
  • @SteveChambers Yes, The fix - System Preferences -> Security & Privacy -> check Allow Anywhere worked for me. Commented Jun 7, 2021 at 18:00

1 Answer 1


Here is the answer suggested by @cafertayyar that worked for me.

System Preferences -> Security & Privacy -> Allow Anyway

as in below screen shot

enter image description here

Not the answer you're looking for? Browse other questions tagged .