apache-maven-3.0.5-bin.tar.gz
repository.tar.gz
eclipse-jee-kepler-SR1-linux-gtk-x86_64.tar.gz
$ mkdir .mvn
$tar -zxvf apache-maven-3.0.5-bin.tar.gz -C yangyang/
$ vim .bash_profile
$source .bash_profile
$mvn -version
$ tar -zxvf repository.tar.gz -C .mvn
$cd yangyang/mvn/conf
$cp -p setting.xml /home/hadoop/.mvn
$tar -zxvf eclipse-jee-kepler-SR1-linux-gtk-x86_64.tar.gz -C yangyang
$ 打开一个console 终端
$cd yangyang/eclipse
$./eclipse
点击OK
关掉welcome
修改 pom.xml 文件
原文地址:http://blog.51cto.com/flyfish225/2096439