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?

0
2 comments
Avatar
Permanently deleted user

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 

 

 

1

Please sign in to leave a comment.