eclipse 开始一个新的工作空间 要做的事

调整工作空间编码 为utf-8


把java编译器换成jdk,maven打包需要


maven配置文件位置修改 为自定义的

在配置里有两处

window - preferences - maven - installations 添加maven安装目录

window - preferences - maven - user settings配置自定义配置文件

 

版本控制 配置忽略的文件名
文件:
.setting
.project
.classpath
*.log
文件夹:
*/target/*
*/target
*/settings
*/settings/*

*/.settings/*

*/.settings

.factorypath

 

 

 

如果项目总是报红,包下载有问题,maven配置文件mirror,把阿里云和中央库都配置上



alimaven
central
aliyun maven
http://maven.aliyun.com/nexus/content/repositories/central/




repo1
central
Human Readable Name for this Mirror.
http://repo1.maven.org/maven2/




repo2
central
Human Readable Name for this Mirror.
http://repo2.maven.org/maven2/




getui-nexus
getui
Nexus getui
http://mvn.gt.igexin.com/nexus/content/repositories/releases/

你可能感兴趣的:(eclipse 开始一个新的工作空间 要做的事)