Just to share a how to on updating maven to 3.0.4 on mac using brew.
I use brew to install some tools so I would like to use brew to update maven too. (I don't want to download maven manually, then unpack, change permission of the files etc...)
So to update maven from 3.0.3 to 3.0.4 on a Mac Snow Leopard you can use these command:
brew install mavensudo unlink /usr/share/mavencd /usr/share/sudo ln -s /usr/local/Cellar/maven/3.0.4 maven
enjoy ^^ you can now download the Internet with a simple mvn install but without a strange bug when deploying your artifact on a repo using webdav (in maven 3.0.3)
Thanks for your post. I did this and then had some problems with NoClassDefFoundError. The solution was here: https://blogs.oracle.com/sreekanth/entry/java_lang_noclassdeffounderror_org_codehaus (in short: remove M2_HOME).
RépondreSupprimer