1.JRE system library后显示JDK版本太低,换成自己下载的版本,右键build path,configution...,editor,改JDK版本
2.导jar包老导不进去,配置setting.xml文件。改存储路径,改镜像(阿里云的)
3.朋友帮忙下载了个Notepad++软件,可以编辑setting.xml文件了
知识点:maven详解路径:
http://www.cnblogs.com/xdp-gacl/p/3498271.html
阿里maven:Sonatype Nexus http://maven.aliyun.com/nexus/#welcome
镜像放这个标签<mirrors></mirrors>内
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
编译源代码: mvn compile
Maven build 等同于Maven命令:
1
mvn package
表示对Maven工程进行打包。
Maven Clean等同于Maven命令:
1
mvn clean
表示删除maven工程的target目录下的内容。
Maven Install等同于命令:
1
mvn install
表示将jar包发布到本地maven仓库。
maven 改变存储路径:http://jingyan.baidu.com/article/f3e34a12db28d1f5eb6535bb.html