linux 下面配置eclipse 與搭建maven 環境
阿新 • • 發佈:2018-04-10
大數據 hadoop
- linux 下面配置eclipse 與搭建maven 環境
linux 下面配置eclipse與搭建 maven 環境
1.1 上傳安裝處理
apache-maven-3.0.5-bin.tar.gz
repository.tar.gz
eclipse-jee-kepler-SR1-linux-gtk-x86_64.tar.gz
1.2 配置maven 環境
$ 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安裝配置eclipse (整個過程要聯網)
$tar -zxvf eclipse-jee-kepler-SR1-linux-gtk-x86_64.tar.gz -C yangyang
$ 打開一個console 終端
$cd yangyang/eclipse
$./eclipse
點擊OK
關掉welcome
2.3配置maven 環境處理
2.4新建maven 工程
修改 pom.xml 文件
2.5新建source folder 目錄
2.6 配置build path
2.7 maven 配置包
linux 下面配置eclipse 與搭建maven 環境