Maven Install on Mac OS X

CSDN学院讲师招募,,诚邀您加入!博客Markdown编辑器上线啦PMBOK第五版精讲视频教程火星人敏捷开发1001问

Maven Install on Mac OS X

分类:Java开发

maven-mac

Disclaimer: Here is a complete answer taking the last version of OS X (10.9 AKA Mavericks) into account. I am aware that everything I compiled in this answer is already present in the page, but having it clearly in one answer makes it a lot clearer.

First of all, with previous versions of OS X, Maven is installed by default. If Java is missing running you@host:~ $ java in a terminal will prompt you for the Java installation.

With Mac OS X 10.9 (Mavericks), Maven is not installed by default anymore. Different options are then possible:

Using Homebrew:

you@host:~$ brew install maven will install Maven 3.1 which might cause issuesyou@host:~$ brew install maven30 will install Maven 3.0 which should be better

Using Macports: (I did not test this)

you@host:~$ sudo port install maven3 will Install Maven 3.0.5you@host:~$ sudo port select –set maven maven3 selects that version of MavenInstalling by hand: Download Maven from its homepageFollow the installation instructions:

上一篇iOS appledoc安装与使用

顶0踩0

主题推荐猜你在找

查看评论

* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场

核心技术类目

不要忘本,任何时候,任何事情。

Maven Install on Mac OS X

相关文章:

你感兴趣的文章:

标签云: