-
-
Save luoph/254921a351241b015f25 to your computer and use it in GitHub Desktop.
Two simple commands to resolve problems with Maven installed via Homebrew
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defaults write ~/.MacOSX/environment.plist M2_HOME `brew --prefix maven`/libexec | |
| defaults write ~/.MacOSX/environment.plist M2 `brew --prefix maven`/libexec/bin | |
| export M2=`brew --prefix maven`/libexec/bin | |
| export M2_HOME=`brew --prefix maven`/libexec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment