- Configure Eclipse and build a MAVEN environment under Linux
Configure Eclipse and build MAVEN environment under Linux 1.1 upload and install processing
apache-maven-3.0.5-bin.tar.gz repository.tar.gz eclipse-jee-kepler-SR1-linux-gtk-x86_64.tar.gz
1.2 Configuring the MAVEN environment
$ 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
2.2 Installation configuration eclipse (entire process to be networked)
$tar -zxvf eclipse-jee-kepler-SR1-linux-gtk-x86_64.tar.gz -C yangyang
$ 打开一个console 终端
$./eclipse
点击OK
关掉welcome
2.3 Configuring MAVEN Environment processing
2.4 New MAVEN Project
Modify the Pom.xml file
2.5 New source Folder directory
2.6 Configuration Build Path
2.7 Maven Configuration Pack
Configuring Eclipse and setting up a MAVEN environment under Linux