sudo add-apt-repository ppa:natecarlson/maven3
sudo apt-get update && sudo apt-get install maven3
If you have maven2 already installed from canonical repos this will not replace it but give you a mvn3 binary.
If you prefer to have the binary called mvn instead of mvn3 you can simply do the following:
sudo ln -s /usr/bin/mvn3 /usr/bin/mvn
Ref. http://askubuntu.com/questions/49557/how-do-i-install-maven-3
mvn eclipse:eclipse 後記得!!!
設定 M2_REPO = /oooxxxx/oooxxx/.m2/repository
or eclipse 中 JAVA - Build Path - Classpath Variable 加上
M2_REPO = /oooxxxx/oooxxx/.m2/repository
沒有留言:
張貼留言