xp安装maven 1.下载apache-maven-2.0.8 2.设置xp环境变量 MAVEN_HOME D:apache-maven-2.0.8 在path里面假如 %MAVEN_HOME%in 然后打开cmd 运行 mvn -v 表示成功了