MAC下搭建eclipse环境导入maven项目

下载eclipse, maven:


Maven目录结构:

bin/

boot/

conf/

settting.xml : 关键指定仓库repository

lib/


export MAVEN_HOME='/Users/harry/mvn/apache-maven-2.2.1'

export PATH=$MAVEN_HOME/bin:/Users/harry/Bin:$PATH

export JAVA_HOME='/Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home'


Mac上查看JAVA_HOME: /usr/libexec/java_home


Eclipse -> File -> Import -> Existing Maven Project


你可能感兴趣的:(开发环境)