Maven 创建 web 项目-环境搭建

1. Maven 

Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.

Maven项目对象模型(POM),可以通过一小段描述信息来管理项目的构建,报告和文档的软件。

2.Maven 下载

 官网:http://maven.apache.org/

 

点击Download进入到下载页面

Windows 平台选择 .zip 下载

3.Maven 安装

解压文件(截图为编写时官网最新版本,个人已安装3.3.9版本)

配置Maven 

系统环境变量

添加到path

命令行检测是否成功:

4.Eclipse 配置 Maven 

Eclipse版本 neon 3,自带maven 插件,配置setting.xml文件就可以了。

Eclipse ->windows->preperences->maven

 

posted on 2017-06-05 16:29  darkcode  阅读(143)  评论(0编辑  收藏  举报