非常简单

就是下载,然后配置系统环境变量

创建项目
在命令行上输入 :mvn archetype:create -DgroupId=(项目的包名。com.company.*) -DartifactId=(项目名) 回车

构建项目

mvn package

测试谋个包

java -cp target/my-app-1.0-SNAPSHOT.jar com.mycompany.app.App

 

maven 阿里巴巴 淘宝 都在用的项目管理工具

Maven is a project development management and comprehension tool.

Based on the concept of a project object model: builds, dependency management, documentation creation, site publication, and distribution publication are all controlled from the pom.xml declarative file. Maven can be extended by plugins to utilise a number of other development tools for reporting or the build process.

Maven是一个项目开发管理和综合工具。
基于项目对象模型的概念:构建,依赖管理,文档创建、网站发表,出版和发行都是pom的控制。xml声明性文件。Maven插件可以扩展的利用其他开发工具报告或构建过程

 

http://wentao365.iteye.com/blog/903396