mvn version on OS/X
Answered
I'm trying to run a build ( pom ) from inside Intellij and a plugin requires 3.1.0 or greater. I would like to know how to update the plugin or point to the version I've installed with brew. Anyone know how to do this?
Please sign in to leave a comment.
figured it out. The maven install folder on my machine is:
/usr/local/Cellar/maven/3.5.0/libexec
unfortunately, the folder dropdown does not allow me to find/pick the /usr/local folder. I ended up just copying and pasting the string into the field and it works.
steps are:
go to command line and run:
mvn -version
get the 'Maven Home' value: ( /usr/local/Cellar/maven/3.5.0/libexec )
in intellij: got to the 'View -> Maven Projects'
click on the 'Maven Settings' button ( top right )
then under 'Build Tools' -> 'Maven' edit the 'Maven Home Directory' , just past the value into the field
You can show hidden files in Finder, see https://intellij-support.jetbrains.com/hc/en-us/community/posts/205435510.